The width of a confidence interval is influenced by the sample size (n), among other factors. Generally, larger sample sizes result in narrower confidence intervals because the standard error decreases as the sample size increases.
The formula for the margin of error (E) in a confidence interval for the mean is:
E=zα/2(nσ)
where:
- zα/2 is the z-value corresponding to the desired confidence level,
- σ is the population standard deviation,
- n is the sample size.
Comparison of Sample Sizes:
-
For n=100: E=zα/2(100σ)=zα/2(10σ)
-
For n=400: E=zα/2(400σ)=zα/2(20σ)
Analysis:
The margin of error is inversely proportional to the square root of the sample size (n). Therefore, as the sample size increases, the margin of error decreases.
- When n=100, the standard error is 10σ.
- When n=400, the standard error is 20σ.
Since 20σ is smaller than 10σ, the margin of error for n=400 is smaller than the margin of error for n=100.
A sample size of n=100 would result in a wider confidence interval compared to a sample size of n=400.