We guess, based on historical data, that 30% of graduating high-school seniors in a large city will have completed a first-year calculus course. What's the minimum sample size needed to construct a 95% confidence interval for a proportion with a margin of error of 2.5%?

Respuesta :

Answer:

[tex]n=\frac{0.3(1-0.3)}{(\frac{0.025}{1.96})^2}=1290.78[/tex]  

And rounded up we have that n=1291

Step-by-step explanation:

1) Previous concepts

A confidence interval is "a range of values that’s likely to include a population value with a certain degree of confidence. It is often expressed a % whereby a population means lies between an upper and lower interval".  

The margin of error is the range of values below and above the sample statistic in a confidence interval.  

Normal distribution, is a "probability distribution that is symmetric about the mean, showing that data near the mean are more frequent in occurrence than data far from the mean".  

The population proportion have the following distribution

[tex]p \sim N(p,\sqrt{\frac{p(1-p)}{n}})[/tex]

2) Solution to the problem

In order to find the critical value we need to take in count that we are finding the interval for a proportion, so on this case we need to use the z distribution. Since our interval is at 95% of confidence, our significance level would be given by [tex]\alpha=1-0.95=0.05[/tex] and [tex]\alpha/2 =0.025[/tex]. And the critical value would be given by:

[tex]z_{\alpha/2}=-1.96, z_{1-\alpha/2}=1.96[/tex]

The margin of error for the proportion interval is given by this formula:  

[tex] ME=z_{\alpha/2}\sqrt{\frac{\hat p (1-\hat p)}{n}}[/tex]    (a)  

And on this case we have that [tex]ME =\pm 0.025[/tex] and we are interested in order to find the value of n, if we solve n from equation (a) we got:  

[tex]n=\frac{\hat p (1-\hat p)}{(\frac{ME}{z})^2}[/tex]   (b)  

And replacing into equation (b) the values from part a we got:

[tex]n=\frac{0.3(1-0.3)}{(\frac{0.025}{1.96})^2}=1290.78[/tex]  

And rounded up we have that n=1291