document.write( "Question 1202200: A political candidate has asked you to conduct a poll to determine what percentage of people support her. If the candidate only wants a 0.5% margin of error at a 97.5% confidence level, what size of sample is needed? When finding the z-value, round it to four decimal places. \n" ); document.write( "
Algebra.Com's Answer #836854 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Answer: 50239\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "=================================================================\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Explanation:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If you are using a TI83 or TI84, then refer to this article
\n" ); document.write( "https://www.statology.org/invnorm-ti-84/\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "A 97.5% confidence level means the main body has an area of 0.975
\n" ); document.write( "Each tail has an area of (1-0.975)/2 = 0.0125
\n" ); document.write( "Then use the TI84 to input invNorm(0.0125,0,1) to get the approximate result of -2.2414; we'll apply absolute value to make it positive.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The z critical value is roughly z = 2.2414\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If you are using a spreadsheet to find the z value, then the command to use is called NORMSINV
\n" ); document.write( "The more general inverse normal function is called NORMINV
\n" ); document.write( "The S refers to the standard normal
\n" ); document.write( "More info found here
\n" ); document.write( "https://support.microsoft.com/en-us/topic/excel-statistical-functions-normsinv-3b33f03c-c50b-9d84-5269-0dc85692d349
\n" ); document.write( "and here
\n" ); document.write( "https://support.microsoft.com/en-us/office/norminv-function-87981ab8-2de0-4cb0-b1aa-e21d4cb879b8
\n" ); document.write( "Each article is about excel, but those functions apply to other spreadsheet programs as well.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The input =NORMSINV((1-0.975)/2) will give the z value we're after.
\n" ); document.write( "So will =NORMSINV(0.0125)
\n" ); document.write( "Don't forget about the equal sign up front when executing commands in a spreadsheet.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The margin of error is 0.5% meaning we have E = 0.005\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The political candidate wants to know the value of n to make this confidence interval
\n" ); document.write( "phat - E < p < phat + E
\n" ); document.write( "phat - 0.005 < p < phat + 0.005\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We're not told phat so we assume a conservative estimate of phat = 0.5 which is right in the middle of \"0%3C=p%3C=1\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The formula for the margin of error of a proportion is
\n" ); document.write( "E = z*sqrt(phat*(1-phat)/n)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Solving for n gets this formula
\n" ); document.write( "n = phat*(1-phat)*(z/E)^2
\n" ); document.write( "which will determine the min sample size needed\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The inputs are
\n" ); document.write( "phat = 0.5
\n" ); document.write( "z = 2.2414
\n" ); document.write( "E = 0.005\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "n = phat*(1-phat)*(z/E)^2
\n" ); document.write( "n = 0.5*(1-0.5)*(2.2414/0.005)^2
\n" ); document.write( "n = 50238.7396
\n" ); document.write( "n = 50239
\n" ); document.write( "For problems like this, always round UP to the nearest whole number.
\n" ); document.write( "
\n" ); document.write( "
\n" );