document.write( "Question 478328: You wish to test the following claim (Ha) with a .01 significance level.
\n" ); document.write( "H0: p1 = p2
\n" ); document.write( "Ha: p1 does not equal p2\r
\n" ); document.write( "\n" ); document.write( "You obtain 18.6% successes in a sample of size n1 = 291 from the first population. You obtain 13.2% successes in a sample of size n2 = 744 from the second population.\r
\n" ); document.write( "\n" ); document.write( "What is the test statistic for this sample? (Report answer accurate to three decimal places.)
\n" ); document.write( "test statistic = \r
\n" ); document.write( "\n" ); document.write( "What is the p-value for this sample? (Report answer accurate to four decimal places.)
\n" ); document.write( "p-value = \r
\n" ); document.write( "\n" ); document.write( "I'm having trouble with this entire problem. I can't get the test statistic or p-value to turn out right. Can you tell me what I'm supposed to be looking for/doing step by step? Thank you!
\n" ); document.write( "

Algebra.Com's Answer #327736 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
You wish to test the following claim (Ha) with a .01 significance level.
\n" ); document.write( "H0: p1 = p2
\n" ); document.write( "Ha: p1 does not equal p2
\n" ); document.write( "You obtain 18.6% successes in a sample of size n1 = 291 from the first population. You obtain 13.2% successes in a sample of size n2 = 744 from the second population.
\n" ); document.write( "What is the test statistic for this sample? (Report answer accurate to three decimal places.)
\n" ); document.write( "p1-p2 = (0.185-0.132)/sqrt[(0.186*0.0.814)/291 + (0.132*0.868/744)] = 2.0410
\n" ); document.write( "test statistic =2.0410
\n" ); document.write( "---
\n" ); document.write( "What is the p-value for this sample? (Report answer accurate to four decimal places.) \r
\n" ); document.write( "\n" ); document.write( "p-value = 2*P(z > 2.0410) = 0.0413
\n" ); document.write( "---
\n" ); document.write( "Conclusion: Since the p-value is greater than 1% fail to reject Ho.
\n" ); document.write( "=================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H. \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-----------------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );