WebCab Probability and Statistics for COM v3.3 Demo

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 sample size.
mean
The mean of the sample.
standardDeviation
The standard deviation of the sample.
confidence
The confidence level required given in decimal format (i.e. 1 percent = 0.01).

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 | WebCab.COM.Statistics.Hypothesis Namespace