Find the size of the sample needed to estimate the difference between the proportions of boys and girls under 10 years old who are afraid of spiders. Assume that we want 95% confidence that the error is smaller than 0.08. n =
Answers
The sample size needed to estimate the difference between two population proportions to within a margin of error m with a significance level of α can be found as follows. In the expression m=z∗p1(1−p1)n1+p2(1−p2)n2−−−−−−−−−−−−−−−−−−−−√ we replace both n1 and n2 by n (assuming that both samples have the same size) and replace each of p1, and p2, by 0.5 (because their values are not known). Then we solve for n, and get n=(z∗)22E2. Finally, increase the value of n to the next larger integer number. Find the size of each sample needed to estimate the difference between the proportions of boys and girls under 10 years old who are afraid of spiders. Assume that we want a 96% confidence level and that the margin of error is smaller than 0.07.
n= ?