How Large of a Sample Size Do Is Needed for a Certain Margin of Error?

high school students studying

Confidence intervals are found in the topic of inferential statistics. The general form of such a confidence interval is an estimate, plus or minus a margin of error. One example of this is in an opinion poll in which support for an issue is gauged at a certain percent, plus or minus a given percent.

Another example is when we state that at a certain level of confidence, the mean is x̄ +/- E, where E is the margin of error. This range of values is due to the nature of the statistical procedures that are done, but the calculation of the margin of error relies upon a fairly simple formula.

Although we can calculate the margin of error just by knowing the sample size, population standard deviation and our desired level of confidence, we can flip the question around. What should our sample size be in order to guarantee a specified margin of error?

Design of Experiment

This sort of basic question falls under the idea of experimental design. For a particular confidence level, we can have a sample size as large or as small as we want. Assuming that our standard deviation remains fixed, the margin of error is directly proportional to our critical value (which relies upon our level of confidence) and inversely proportional to the square root of the sample size.

The margin of error formula has numerous implications for how we design our statistical experiment:

Desired Sample Size

To calculate what our sample size needs to be, we can simply start with the formula for margin of error, and solve it for n the sample size. This gives us the formula n = (zα/2σ/E) 2 .

Example

The following is an example of how we can use the formula to calculate the desired sample size.

The standard deviation for a population of 11th graders for a standardized test is 10 points. How large of a sample of students do we need to ensure at a 95% confidence level that our sample mean is within 1 point of the population mean?

The critical value for this level of confidence is zα/2 = 1.64. Multiply this number by the standard deviation 10 to obtain 16.4. Now square this number to result in a sample size of 269.

Other Considerations

There are some practical matters to consider. Lowering the level of confidence will give us a smaller margin of error. However, doing this will mean that our results are less certain. Increasing the sample size will always decrease the margin of error. There may be other constraints, such as costs or feasibility, that do not allow us to increase the sample size.

Cite this Article Your Citation

Taylor, Courtney. "How Large of a Sample Size Do Is Needed for a Certain Margin of Error?" ThoughtCo, Apr. 5, 2023, thoughtco.com/margin-of-error-sample-sizes-3126406. Taylor, Courtney. (2023, April 5). How Large of a Sample Size Do Is Needed for a Certain Margin of Error? Retrieved from https://www.thoughtco.com/margin-of-error-sample-sizes-3126406 Taylor, Courtney. "How Large of a Sample Size Do Is Needed for a Certain Margin of Error?" ThoughtCo. https://www.thoughtco.com/margin-of-error-sample-sizes-3126406 (accessed September 12, 2024).

copy citation How to Calculate the Margin of Error Calculating a Confidence Interval for a Mean Calculate a Confidence Interval for a Mean When You Know Sigma Confidence Interval for the Difference of Two Population Proportions The Use of Confidence Intervals in Inferential Statistics How to Construct a Confidence Interval for a Population Proportion Examples of Confidence Intervals for Means Plus Four Confidence Intervals Confidence Intervals: 4 Common Mistakes Parametric and Nonparametric Methods in Statistics Example of an ANOVA Calculation What Is a Sampling Distribution An Example of a Hypothesis Test Degrees of Freedom in Statistics and Mathematics What Level of Alpha Determines Statistical Significance? How to Find Degrees of Freedom in Statistics ThoughtCo is part of the Dotdash Meredith publishing family.

We Care About Your Privacy

We and our 100 partners store and/or access information on a device, such as unique IDs in cookies to process personal data. You may accept or manage your choices by clicking below, including your right to object where legitimate interest is used, or at any time in the privacy policy page. These choices will be signaled to our partners and will not affect browsing data.

We and our partners process data to provide:

Store and/or access information on a device. Use limited data to select advertising. Create profiles for personalised advertising. Use profiles to select personalised advertising. Create profiles to personalise content. Use profiles to select personalised content. Measure advertising performance. Measure content performance. Understand audiences through statistics or combinations of data from different sources. Develop and improve services. Use limited data to select content. List of Partners (vendors)