Size sample required to construct a 95% C.I. with margin of error

  • Context: Undergrad 
  • Thread starter Thread starter goodz
  • Start date Start date
  • Tags Tags
    Error Margin
Click For Summary
SUMMARY

The discussion focuses on calculating the required sample size to construct a 95% confidence interval (C.I.) with a margin of error of 0.3, given a mean of 2.10 and a standard deviation of 0.537. The formula used for determining sample size is n = ((z × σ) / E)², where z is the z-score corresponding to the desired confidence level, σ is the standard deviation, and E is the margin of error. The calculated sample size is between 14 and 15, with the recommendation to round up to n = 15 for practical purposes. The discussion highlights the inefficiency of trial-and-error methods compared to using the established formula.

PREREQUISITES
  • Understanding of confidence intervals and their significance in statistics.
  • Familiarity with the concepts of standard deviation and margin of error.
  • Knowledge of the z-score and its application in statistical calculations.
  • Basic proficiency in statistical formulas and calculations.
NEXT STEPS
  • Study the derivation and application of the formula n = ((z × σ) / E)² for sample size determination.
  • Learn about the differences between confidence intervals for means and proportions.
  • Explore the implications of sample size on the power of statistical tests.
  • Investigate the use of software tools like R or Python for calculating sample sizes and confidence intervals.
USEFUL FOR

Statisticians, data analysts, researchers, and students who need to understand sample size determination for constructing confidence intervals in their studies.

goodz
Messages
6
Reaction score
0
N = 8
Mean = 2.10
stDev = 0.537

What size sample is required to construct a 95% confidence interval with a margin of error of 0.3?
try n = 12, t(.975) with 11 deg. of freedom = 2.2001
so n = ( (.537* 2.2001) / (.3))^2 = 15.5

try n = 14, i get n = 14.95
n = 15, n = 14.74
Why is this a trial and error?
What I don't get is what are we trying to get n to equal?

the answer: n must be between 14 and 15 so, use n = 15.
 
Physics news on Phys.org
First question: what is [itex]N = 8[/itex] in your question? Second question: are you trying to look for the sample size to use to generate a CI for a mean? If so, have you not encountered the formula

[tex] n = \left(\frac{z \times \sigma}{E}\right)^2[/tex]

(E is the margin of error)? The general rule is to use this and round the result to the next highest integer. If you use the method you suggest (which I haven't seen in any text)
* you are correct, you get a game of guessing
* it isn't obvious to me that it would ever converge - that is, if you repeated the same step with 15, then with
the result of that calculation, and so on, I am not sure you would ever zero in on a single value.

The benefit of the formula I presented is that it does give an idea of an appropriate sample size, IF, your guess at the size of the standard deviation is in the correct ballpark.
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 25 ·
Replies
25
Views
12K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
4
Views
3K
Replies
11
Views
6K
  • · Replies 2 ·
Replies
2
Views
616
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K