WebCab Probability and Statistics Web Services for Delphi v3.6

NormalConfidence.MeanSize Method 

Calculates the sample size needed for a specific error level to be obtained for a given level of confidence when the standard deviation of the sample is given.

public double MeanSize(
   double standardDeviation,
   double errorLevel,
   double confidence
);

Parameters

standardDeviation
The standard deviation of the sample.
errorLevel
The maximum allowable standard error of the sample. Note that the standard error of the mean can be evaluated used StandardErrorMean.
confidence
The level of confidence required given in absolute terms (i.e. 1 percent = 1).

Return Value

The sample size required in order for the specified error level to be obtained.

See Also

NormalConfidence Class | Hypothesis Namespace