WebCab Probability and Statistics Web Services for .NET v3.3 Demo

StudentConfidence.MeanConfidence Method 

Calculates the confidence interval for the mean (for a small sample with under 30 elements).

public double[] MeanConfidence(
   int sampleSize,
   double mean,
   double standardDeviation,
   double significanceLevel
);

Parameters

sampleSize
The sample size.
mean
The mean of the sample.
standardDeviation
The standard deviation of the sample.
significanceLevel
The confidence level to which the confidence interval is found.

Return Value

double[] an array of length two where the first term is the lower bound of the confidence interval and the second term is the upper bound of the confidence interval.

Remarks

That is, if we are given a sample where its mean, standard deviation and size are known we can calculate the confidence interval for the population mean at a given confidence level.

See Also

StudentConfidence Class | Hypothesis Namespace