Module 07 · Determining sample size
Sample size for a population mean (unknown )
Use the sample standard deviation from a pilot study to plan your sample. The critical value adjusts with the planned number of observations.
See how precision improves
Pilot estimate ·Intermediate calculations:
Plan for 99 observations. Using the pilot standard deviation, the estimated margin of error is approximately 1.99; the final sample may have a different spread and margin of error.
With pilot standard deviation 10, target margin of error 2, and 95 percent confidence, the planned sample size is 99. The planned degrees of freedom are 98, the t critical value is 1.984, and the estimated margin of error is approximately 1.99. This is a planning estimate based on the pilot spread.
The idea
When is unknown, a representative pilot study provides an estimate . Enter its sample standard deviation, calculated using the pilot’s sample size minus one in the variance denominator. Use the same measurement units as your target margin of error .
The planner finds the smallest whole number satisfying . Because the critical value itself depends on , the calculation checks candidate sizes rather than rounding a single fixed-critical-value formula.
The degrees of freedom are for the planned study. The pilot supplies the spread estimate. With , , and 95% confidence, the resulting plan is 99 observations.
TRY THIS More precision, more data
Reduce the target margin from 2 to 1 while holding the pilot standard deviation and confidence level fixed. The required count rises to roughly four times as many observations. The relation is approximate here because the critical value also changes with the planned sample size.
is half the interval’s total width. This plan treats as the future spread estimate: a more variable final sample can produce a wider interval than the target. Consider whether the pilot represents the population and conditions of the planned study.
The planned interval assumes independent observations and a normal population or an adequate approximation for the mean; a small or unrepresentative pilot can give an unreliable spread estimate. Reference: Penn State STAT 800, sample-size computation ↗