document.write( "Question 1191258: You want to obtain a sample to estimate a population proportion. Based on previous evidence, you believe the population proportion is approximately p = 37%. You would like to be 99% confident that your estimate is within 4% of the true population proportion.\r
\n" );
document.write( "\n" );
document.write( "How large of a sample size is required?
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #823066 by math_tutor2020(3817)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "The margin of error for the confidence interval of a population proportion p is \n" ); document.write( "E = z*sqrt(phat(1-phat)/n) \n" ); document.write( "where z is the critical value, phat is the sample proportion, and n is the sample size. \n" ); document.write( "The term \"phat\" is often written as \"p hat\" or \"p-hat\", but I'm deciding to use a shorter version for the sake of compactness. \n" ); document.write( "phat estimates the population proportion p.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Solving for n gets us \n" ); document.write( "E = z*sqrt(phat(1-phat)/n) \n" ); document.write( "E/z = sqrt(phat(1-phat)/n) \n" ); document.write( "(E/z)^2 = phat(1-phat)/n \n" ); document.write( "n*(E/z)^2 = phat(1-phat) \n" ); document.write( "n = phat(1-phat)*(z/E)^2\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Since we estimate p = 0.37, this will be plugged into each phat. \n" ); document.write( "At 99% confidence, the z critical value is roughly z = 2.576 (use a calculator or table to find this value). \n" ); document.write( "The desired error we want is E = 0.04\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "With all that in mind, we can then compute the minimum sample size n \n" ); document.write( "n = phat(1-phat)*(z/E)^2 \n" ); document.write( "n = 0.37(1-0.37)*(2.576/0.04)^2 \n" ); document.write( "n = 966.749616 \n" ); document.write( "We round up to n = 967 \n" ); document.write( "We always round up regardless how close or far the decimal value is to the nearest largest integer. \n" ); document.write( "For example, if we got the result n = 966.00001, we would still round up to n = 967 \n" ); document.write( "This rounding up is to ensure we clear the hurdle needed to form the min sample size.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Answer: 967\r \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |