WebCab Probability and Statistics for .NET v3.3 Demo

NormalConfidence.PercentageConfidence Method 

Calculates the confidence interval which insures that a given proportion (or percentage) of the sample lies within the confidence interval.

public double[] PercentageConfidence(
   int size,
   double proportion,
   double confidence
);

Parameters

size
The size of the sample.
proportion
The proportion (or percentage) of the sample which lies with a given level of confidence within lies within the confidence interval.
confidence
The confidence level given in absolute terms (i.e. 1 percent = 1), for which the specified proportion lies within the confidence interval.

Return Value

double[] an array of length two corresponding to the upper and lower boundaries of the confidence interval. The first term of the array returned corresponds to the lower bound of the boundary and the second terms to the upper bound of the boundary of the confidence interval.

See Also

NormalConfidence Class | WebCab.Libraries.Statistics.Hypothesis Namespace