WebCab Probability and Statistics for COM v3.3 Demo

NormalConfidence.PercentageSize Method 

Calculates the sample size needed for a specified error level when the level of confidence of the confidence interval of the sample proportion of that interval is known.

public double PercentageSize(
   double proportion,
   double errorLevel,
   double confidence
);

Parameters

proportion
The sample proportion (or percentage) which is known to lie within the confidence interval considered.
errorLevel
The standard error level of the sample required.
confidence

Return Value

double the sample size

See Also

NormalConfidence Class | WebCab.COM.Statistics.Hypothesis Namespace