WebCab Probability and Statistics Web Services for .NET v3.6

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 given in absolute terms (i.e. 1 percent = 1).
errorLevel
The standard error level of the sample required.
confidence

Return Value

double the sample size

See Also

NormalConfidence Class | Hypothesis Namespace