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 Summary
Constructors Constructor Description SampleMeanEstimator()SampleMeanEstimator(IContinousPDFFactory pdfFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfidenceIntervalestimateConfidence(List<Double> samples, double level)Estimates the confidence interval.doubleestimatePoint(List<Double> samples)Conducts a point estimation.
-
-
-
Constructor Detail
-
SampleMeanEstimator
public SampleMeanEstimator()
-
SampleMeanEstimator
public SampleMeanEstimator(IContinousPDFFactory pdfFactory)
-
-
Method Detail
-
estimateConfidence
public ConfidenceInterval estimateConfidence(List<Double> samples, double level)
Description copied from interface:IConfidenceEstimatorEstimates the confidence interval.- Specified by:
estimateConfidencein interfaceIConfidenceEstimator- 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:IPointEstimatorConducts a point estimation.- Specified by:
estimatePointin interfaceIPointEstimator- Parameters:
samples- the values for which a specific point is to be estimated.- Returns:
-
-