document.write( "Question 149621: Can people really identify their favorite brand of cola? Volunteers tasted Coca-Cola Classic,Pepsi, Diet Coke, and Diet Pepsi, with the results shown below. Research question: At α = .05, is the correctness of the prediction different for the two types of cola drinkers? Could you identify your favorite brand in this kind of test? Since it is a 2 × 2 table, try also a two-tailed two-sample
\n" ); document.write( "z test for π1 = π2 (see Chapter 10) and verify that z2 is the same as your chi-square statistic.Which test do you prefer? Why? (Data are from Consumer Reports 56, no. 8 [August 1991], p. 519.)\r
\n" ); document.write( "\n" ); document.write( "Correct? Regular Cola Diet Cola Row Total
\n" ); document.write( "Yes, got it right 7 7 14
\n" ); document.write( "No, got it wrong 12 20 32
\n" ); document.write( "Col Total 19 27 46
\n" ); document.write( "

Algebra.Com's Answer #110045 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Can people really identify their favorite brand of cola? Volunteers tasted Coca-Cola Classic,Pepsi, Diet Coke, and Diet Pepsi, with the results shown below.
\n" ); document.write( "----------------------------------------------------------------------------
\n" ); document.write( "Research question: At α = .05, is the correctness of the prediction different for the two types of cola drinkers?
\n" ); document.write( "Could you identify your favorite brand in this kind of test?
\n" ); document.write( "Chi-Square Test:
\n" ); document.write( "Ho: Cola type and quessing results are homogeneous (the same for both Colas)
\n" ); document.write( "Ha: Results are not homogeneous
\n" ); document.write( "Ran a Chi-Square on the 2 x 2 with the following results:
\n" ); document.write( "Test statistic: 0.62768...
\n" ); document.write( "p-value: 0.428...
\n" ); document.write( "Conclusion: Since the p-value is greater than 5%, fail to reject Ho.
\n" ); document.write( "Results are the same for both solas.
\n" ); document.write( "----------------------------------------
\n" ); document.write( "Since it is a 2 × 2 table, try also a two-tailed two-sample z test for π1 = π2 (see Chapter 10) and verify that z^2 is the same as your chi-square statistic.
\n" ); document.write( "Which test do you prefer? Why? (Data are from Consumer Reports 56, no. 8 [August 1991], p. 519.)
\n" ); document.write( "---------------------------------------
\n" ); document.write( "Ran a 2-sample z-Test:
\n" ); document.write( "Ho: u1=u2
\n" ); document.write( "Ha: u1 is not equal to u2
\n" ); document.write( "--------------------
\n" ); document.write( "test statistic: z = -0.72428596...
\n" ); document.write( "----------------------------------------------
\n" ); document.write( "Does z^2 = the Chi-Sq
\n" ); document.write( "(-0.72428596..)^2 ? 0.62768...
\n" ); document.write( "Not quite.
\n" ); document.write( "======================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.\r
\n" ); document.write( "\n" ); document.write( " \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "=======================================
\n" ); document.write( "Correct?........... Regular Cola Diet Cola Row Total
\n" ); document.write( "Yes, got it right...... 7............ 7...... 14
\n" ); document.write( "No, got it wrong....... 12.......... 20...... 32
\n" ); document.write( "Col Total.............. 19.......... 27...... 46
\n" ); document.write( "
\n" ); document.write( "
\n" );