Class SampleMeanEstimator
java.lang.Object
de.uka.ipd.sdq.statistics.estimation.SampleMeanEstimator
- All Implemented Interfaces:
IConfidenceEstimator
,IPointEstimator
Estimator for the sample mean.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionestimateConfidence
(List<Double> samples, double level) Estimates the confidence interval.double
estimatePoint
(List<Double> samples) Conducts a point estimation.
-
Constructor Details
-
SampleMeanEstimator
public SampleMeanEstimator() -
SampleMeanEstimator
-
-
Method Details
-
estimateConfidence
Description copied from interface:IConfidenceEstimator
Estimates the confidence interval.- Specified by:
estimateConfidence
in 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
Description copied from interface:IPointEstimator
Conducts a point estimation.- Specified by:
estimatePoint
in interfaceIPointEstimator
- Parameters:
samples
- the values for which a specific point is to be estimated.- Returns:
-