document.write( "Question 131000This question is from textbook Applied Statistics in Business and Economics
\n" ); document.write( ": 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?
\n" ); document.write( "Yes got it right - 7, 7, 14
\n" ); document.write( "no got it wrong - 12, 20, 32
\n" ); document.write( "total - 19, 27, 46
\n" ); document.write( "

Algebra.Com's Answer #95746 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. 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?
\n" ); document.write( "Yes got it right - 7, 7, 14
\n" ); document.write( "no got it wrong - 12, 20, 32
\n" ); document.write( "total - 19, 27, 46
\n" ); document.write( "-----------------
\n" ); document.write( "Chi-Sq Test:
\n" ); document.write( "Ho: the columns are homogeneous
\n" ); document.write( "Ha; the columns are not homogeneous
\n" ); document.write( "Using a TI-calculator Chi-Sq Test I get:
\n" ); document.write( "Test statistic: Chi-Sq = 0.62768....
\n" ); document.write( "p-value = 0.428..
\n" ); document.write( "--------
\n" ); document.write( "Conclusion: Reject Ho;
\n" ); document.write( "The columns are not homogeneous
\n" ); document.write( "=======================================
\n" ); document.write( "Two-tailed sample z test:
\n" ); document.write( "Ho: mu1 = mu2
\n" ); document.write( "Ha: mu1 is not equal to mu2
\n" ); document.write( "Critical value for 2-tailed test and alpha=5%: +-1.96
\n" ); document.write( "--------
\n" ); document.write( "x1-bar = 19/2= 9.5
\n" ); document.write( "x2-bar = 27/2= 13.5
\n" ); document.write( "sigma1^2 =7.77817^2 = 60.5
\n" ); document.write( "n1=19
\n" ); document.write( "sigma2^2 =9.1924^2=84.5
\n" ); document.write( "n2=27
\n" ); document.write( "---------------
\n" ); document.write( "z(9.5-13.5)/sqrt[(60.5/19) + (84.5)/27] = -1.59
\n" ); document.write( "p-value = 2P(-10 < z <-1.59) = 0.1118...
\n" ); document.write( "--------
\n" ); document.write( "Conclusion: Since p-value > alpha, Fail to Reject Ho.
\n" ); document.write( "The columns are homogeneous.
\n" ); document.write( "-----------------------------
\n" ); document.write( "As you see, the test results are not the same.
\n" ); document.write( "I'll leave the discussion of the final questions to you.
\n" ); document.write( "-----------------------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" );