Class SampleMeanEstimator

java.lang.Object
de.uka.ipd.sdq.statistics.estimation.SampleMeanEstimator
All Implemented Interfaces:
IConfidenceEstimator, IPointEstimator

public class SampleMeanEstimator extends Object implements IPointEstimator, IConfidenceEstimator
Estimator for the sample mean.
  • Constructor Details

    • SampleMeanEstimator

      public SampleMeanEstimator()
    • SampleMeanEstimator

      public SampleMeanEstimator(IContinousPDFFactory pdfFactory)
  • Method Details

    • estimateConfidence

      public ConfidenceInterval estimateConfidence(List<Double> samples, double level)
      Description copied from interface: IConfidenceEstimator
      Estimates the confidence interval.
      Specified by:
      estimateConfidence in interface IConfidenceEstimator
      Parameters:
      samples - the values for which a confidence interval is to be estimated.
      level - the confidence level. Use values between 0 and 1. For instance use 0.95 to estimate the 95% confidence interval.
      Returns:
    • estimatePoint

      public double estimatePoint(List<Double> samples)
      Description copied from interface: IPointEstimator
      Conducts a point estimation.
      Specified by:
      estimatePoint in interface IPointEstimator
      Parameters:
      samples - the values for which a specific point is to be estimated.
      Returns: