Putting a range around a mean
Fields take the sample mean, sample standard deviation and sample size, with a confidence list of ninety, ninety-five, ninety-eight and ninety-nine. Controls compute, load a sample, clear and copy. Output is the mean plus or minus a margin, meaning that across many repeated samples about ninety-five percent of such intervals contain the true value, not that the true value has a ninety-five percent chance of lying there.
Steps
- Enter the mean and standard deviation computed from your sample, not the standard error.
- Enter the sample size, counting valid responses only.
- Choose confidence, ninety-five for reports and ninety-nine for safety-critical work.
- Compute and read the lower and upper bounds.
- Check that the width looks plausible, since small samples stay wide.
- Copy the result into the report, clearing before new parameters.
What widens and narrows the interval
The margin is roughly the critical value times the standard deviation divided by the square root of the sample size, so quadrupling the sample only halves the width. Raising confidence enlarges the critical value and widens the interval, the price of extra safety. Below thirty observations the t distribution applies and widens further. Substituting standard error for standard deviation is the most common error, a factor of the square root of n. Intervals cover sampling error only, never measurement or execution bias, so a narrow interval is not a correct conclusion.
Common mistakes
Entering standard error as the deviation. Counting distributed forms rather than valid returns. Reading the interval as a probability statement. Chasing maximum confidence and bloating width. Using normal critical values on small samples. And forgetting bias while treating a statistical range as reality.
Where a mean interval is wrong
Proportions need proportion formulas. Differences between means need two-sample methods. A single future observation needs a prediction interval. And a confidence interval is never a population range.