WebCab Probability and Statistics Web Services for Delphi v3.6

NormalConfidence.MeanConfidence Method 

Calculates the confidence interval for the mean to a given confidence level when the mean, standard deviation and size of the population sample are known.

public double[] MeanConfidence(
   int size,
   double mean,
   double standardDeviation,
   double confidence
);

Parameters

size
The number of elements within the sample.
mean
The mean of the sample.
standardDeviation
The standard deviation of the sample.
confidence
The confidence level required given in absolute terms (i.e. 1 percent = 1).

Return Value

double[] an array of length two corresponding to the end points (or limits) of the confidence interval, where the first term of the array is the lower bound of the interval and the second term is the upper bound of the interval.

See Also

NormalConfidence Class | Hypothesis Namespace