Definition · Confidence intervals
Sample size for a specified margin
Definition from the chapter Confidence intervals and sample size of Statistics and probability, with the exercises in which it is used.
Sample size for a specified margin
Before collecting the data, choose the maximum acceptable margin and find the number of observations needed. When the standard deviation is known, the two-sided interval for the mean has half-width , so solve for . The smallest sample size is
where gives the smallest integer greater than or equal to its argument.
For a proportion with the Wald margin, use . The value , read p star, is the proportion chosen at the design stage, for example the proportion observed in a pilot study, that is, in a small preliminary sample. Without preliminary data, take , because maximizes the product and therefore gives the largest margin; the resulting sample size meets the margin whatever the true proportion. With , , and , this gives , so respondents are needed. The calculation fixes the width of the Wald interval; the coverage probability remains the approximate one of the Wald interval.
Read it in the chapter Confidence intervals and sample size →
Exercises where this definition is used
Worked examples
Practice exercises
All the definitions and theorems of Statistics and probability → · All the theorems on the site →