document.write( "Question 1191810: You wish to test the following claim (Ha) at a significance level of α=0.005
\n" ); document.write( "
\n" ); document.write( "Ho: p1 = p2
\n" ); document.write( "Ha: p1 < p2
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "You obtain 86.4% successes in a sample of size n1=766 from the first population. You obtain 91.1% successes in a sample of size n2=649 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( "\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( "\n" ); document.write( "The p-value is...\r
\n" ); document.write( "\n" ); document.write( "-less than (or equal to)α
\n" ); document.write( "
\n" ); document.write( "-greater than α\r
\n" ); document.write( "\n" ); document.write( "This test statistic leads to a decision to...
\n" ); document.write( "-reject the null
\n" ); document.write( "-accept the null
\n" ); document.write( "-fail to reject the null\r
\n" ); document.write( "\n" ); document.write( "As such, the final conclusion is that...\r
\n" ); document.write( "\n" ); document.write( "(a)There is sufficient evidence to warrant rejection of the claim that the first population proportion is less than the second population proportion.
\n" ); document.write( "(b)There is not sufficient evidence to warrant rejection of the claim that the first population proportion is less than the second population proportion.
\n" ); document.write( "(c)The sample data support the claim that the first population proportion is less than the second population proportion.
\n" ); document.write( "(d)There is not sufficient sample evidence to support the claim that the first population proportion is less than the second population proportion.
\n" ); document.write( "

Algebra.Com's Answer #823653 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "We're going to use a Two Proportion Z-Test.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Hypotheses:
\n" ); document.write( "Ho: p1 = p2
\n" ); document.write( "Ha: p1 < p2
\n" ); document.write( "The claim is in the alternative hypothesis and the claim is p1 < p2
\n" ); document.write( "The inequality sign in the alternative hypothesis says we have a left-tailed test.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Sample sizes
\n" ); document.write( "n1 = 766
\n" ); document.write( "n2 = 649\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Sample proportions
\n" ); document.write( "phat1 = 0.864
\n" ); document.write( "phat2 = 0.911\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "phat = x/n
\n" ); document.write( "x = n*phat\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x1 = n1*phat1
\n" ); document.write( "x1 = 766*0.864
\n" ); document.write( "x1 = 661.824
\n" ); document.write( "x1 = 662\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x2 = n2*phat2
\n" ); document.write( "x2 = 649*0.911
\n" ); document.write( "x2 = 591.239
\n" ); document.write( "x2 = 591\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "pbar = pooled or average sample proportion
\n" ); document.write( "pbar = (x1+x2)/(n1+n2)
\n" ); document.write( "pbar = (662+591)/(766+649)
\n" ); document.write( "pbar = 0.885512
\n" ); document.write( "Think of pbar in the same light as something like xbar
\n" ); document.write( "It's the letter p with a horizontal bar over top.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "SE = standard error
\n" ); document.write( "SE = sqrt( pbar*(1-pbar)*(1/n1 + 1/n2) )
\n" ); document.write( "SE = sqrt( 0.885512*(1-0.885512)*(1/766 + 1/649) )
\n" ); document.write( "SE = 0.016987\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "z = test statistic
\n" ); document.write( "z = (phat1 - phat2)/SE
\n" ); document.write( "z = (0.864 - 0.911)/0.016987
\n" ); document.write( "z = -2.767\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since the test statistic is recorded to three decimal places, we can't use a standard Z table unfortunately.
\n" ); document.write( "Instead, we can only use a p-value calculator.
\n" ); document.write( "There are countless many such free calculators out there, so feel free to pick your favorite.
\n" ); document.write( "One such option is this really neat online calculator
\n" ); document.write( "https://davidmlane.com/normal.html
\n" ); document.write( "Make sure the mean and standard deviation are 0 and 1 respectively.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The p-value you should get is roughly 0.0028
\n" ); document.write( "Keep in mind this is a left-tailed test.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Comparing this to the level of significance alpha = 0.005, we see that the p-value is smaller. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Whenever the p-value is smaller than alpha, we reject the null.
\n" ); document.write( "A useful saying is \"If the p-value is low, then the null must go\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since we rejected the null, we accept the claim that p1 < p2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Translating back to the original problem, we have the conclusion that
\n" ); document.write( "(c)The sample data support the claim that the first population proportion is less than the second population proportion.
\n" ); document.write( "Once again, the claim is in the alternative hypothesis.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "------------------------------------------------------
\n" ); document.write( "------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answers:
\n" ); document.write( "test statistic = -2.767
\n" ); document.write( "p-value = 0.0028
\n" ); document.write( "The p-value is less than alpha = 0.005
\n" ); document.write( "It means we reject the null\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Conclusion:
\n" ); document.write( "(c)The sample data support the claim that the first population proportion is less than the second population proportion.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );