document.write( "Question 1090847: Emma's On-the-Go, a large convenience store that makes a good deal of money from magazine sales, has three possible locations in the store for its magazine rack: in the front of the store (to attract \"impulse buying\" by all customers), on the left-hand side of the store (to attract teenagers who are on that side of the store looking at the candy and soda), and in the back of the store (to attract the adults searching through the alcohol cases). The manager at Emma's experiments over the course of several months by rotating the magazine rack among the three locations, choosing a sample of 47 days at each location. Each day, the manager records the amount of money brought in from the sale of magazines.
\n" );
document.write( "Below are the sample mean daily sales (in dollars) for each of the locations, as well as the sample variances:\r
\n" );
document.write( "\n" );
document.write( "Group: Front
\n" );
document.write( "Sample size: 47
\n" );
document.write( "Sample mean: 215.2
\n" );
document.write( "Sample variance: 270.3\r
\n" );
document.write( "\n" );
document.write( "Group: Left-hand side
\n" );
document.write( "Sample size: 47
\n" );
document.write( "Sample mean: 212.0
\n" );
document.write( "Sample variance: 456.3\r
\n" );
document.write( "\n" );
document.write( "Group:Right-hand side
\n" );
document.write( "Sample size: 47
\n" );
document.write( "Sample mean: 219.3
\n" );
document.write( "Sample variance: 486.6\r
\n" );
document.write( "\n" );
document.write( "Suppose that we were to perform a one-way, independent-samples ANOVA test to decide if there is a significant difference in the mean daily sales among the three locations.\r
\n" );
document.write( "\n" );
document.write( "Answer the following, carrying your intermediate computations to at least three decimal places and rounding your responses to at least one decimal place.\r
\n" );
document.write( "\n" );
document.write( "What is the value of the \"between groups\"and \"within group\" mean square that would be reported in the ANOVA test? \n" );
document.write( "
Algebra.Com's Answer #705315 by jim_thompson5910(35256)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "There's a typo in the problem. It first mentions the back of the store, but then never mentions it again when it comes to the table of values. Instead it brings up the right side of the store. I'm going to assume that \"right side of the store\" should be \"back of the store\"\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "-------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "I'm going to redefine the labels \n" ); document.write( "Group Front will be changed to Group 1 \n" ); document.write( "Group Left will be changed to Group 2 \n" ); document.write( "Group Back (or Group Right) will be changed to Group 3\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We have this given information\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Group 1: \n" ); document.write( "Sample size: n1 = 47 \n" ); document.write( "Sample mean: xbar1 = 215.2 \n" ); document.write( "Sample variance: s1 = 270.3 \n" ); document.write( "------------------------- \n" ); document.write( "Group 2: \n" ); document.write( "Sample size: n2 = 47 \n" ); document.write( "Sample mean: xbar2 = 212.0 \n" ); document.write( "Sample variance: s2 = 456.3 \n" ); document.write( "------------------------- \n" ); document.write( "Group 3: \n" ); document.write( "Sample size: n3 = 47 \n" ); document.write( "Sample mean: xbar3 = 219.3 \n" ); document.write( "Sample variance: s3 = 486.6 \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let L1,L2, and L3 be three lists with 47 items each \n" ); document.write( "L1 = {a1,a2,...a47} \n" ); document.write( "L2 = {b1,b2,...b47} \n" ); document.write( "L3 = {c1,c2,...c47}\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Summing the lists gives \n" ); document.write( "Sum[L1] = a1+a2+...+a47 \n" ); document.write( "Sum[L2] = b1+b2+...+b47 \n" ); document.write( "Sum[L3] = c1+c2+...+c47\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Which allows us to say \n" ); document.write( "xbar1 = SampleMean[L1] = Sum[L1]/n1 \n" ); document.write( "xbar2 = SampleMean[L2] = Sum[L2]/n2 \n" ); document.write( "xbar3 = SampleMean[L3] = Sum[L3]/n3\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "For each equation, let's isolate the \"Sum[...]\" portion like so \n" ); document.write( "xbar1 = Sum[L1]/n1 \n" ); document.write( "n1*xbar1 = Sum[L1] \n" ); document.write( "Sum[L1] = n1*xbar1 \n" ); document.write( "------------------- \n" ); document.write( "xbar2 = Sum[L2]/n2 \n" ); document.write( "n2*xbar2 = Sum[L2] \n" ); document.write( "Sum[L2] = n2*xbar2 \n" ); document.write( "------------------- \n" ); document.write( "xbar3 = Sum[L3]/n3 \n" ); document.write( "n3*xbar3 = Sum[L3] \n" ); document.write( "Sum[L3] = n3*xbar3\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "So far we know that \n" ); document.write( "Sum[L1] = n1*xbar1 \n" ); document.write( "Sum[L2] = n2*xbar2 \n" ); document.write( "Sum[L3] = n3*xbar3\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Which allows us to compute the grand mean G \n" ); document.write( "G = (Sum[L1]+Sum[L2]+Sum[L3])/(n1+n2+n3) \n" ); document.write( "G = (n1*xbar1+n2*xbar2+n3*xbar3)/(n1+n2+n3) \n" ); document.write( "G = (47*215.2+47*212.0+47*219.3)/(47+47+47) \n" ); document.write( "G = 215.5\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "As expected, the grand mean is fairly close to the sample means\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Other useful information is that we have \n" ); document.write( "k = 3 groups (front, left, back) \n" ); document.write( "N = n1+n2+n3 = 47+47+47 = 141 total items being sampled\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Now that we know the grand mean, we can use it to find the sum of squares between groups \n" ); document.write( "SS_B = Sum of Squares Between groups \n" ); document.write( "SS_B = n1*(xbar1-G)^2 + n2*(xbar2-G)^2 + n3*(xbar3-G)^2 \n" ); document.write( "SS_B = 47*(215.2-215.5)^2 + 47*(212.0-215.5)^2 + 47*(219.3-215.5)^2 \n" ); document.write( "SS_B = 1258.66\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Similarly, we calculate the sum of squares within groups like so \n" ); document.write( "SS_W = Sum of Squares Within groups \n" ); document.write( "SS_W = (n1-1)*(s1)^2 + (n2-1)*(s2)^2 + (n3-1)*(s3)^2 \n" ); document.write( "SS_W = (47-1)*(270.3)^2 + (47-1)*(456.3)^2 + (47-1)*(486.6)^2 \n" ); document.write( "SS_W = 23,830,361.64\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Use the SS_W and SS_B values to compute the corresponding MS_B and MS_W values\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "MS_B = Mean Square Between groups \n" ); document.write( "MS_B = (SS_B)/(k-1) \n" ); document.write( "MS_B =(1258.66)/(3-1) \n" ); document.write( "MS_B = 629.33 which rounds to 629.3\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "MS_W = Mean Square Within groups \n" ); document.write( "MS_W = (SS_W)/(N-k) \n" ); document.write( "MS_W = (23,830,361.64)/(141-3) \n" ); document.write( "MS_W = 172683.78 which rounds to 172683.8\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "So that wraps up the answer\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Side Note: \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Taking the ratio of MS_B and MS_W gives \n" ); document.write( "F = (MS_B)/(MS_W) = (629.33)/(172683.78) = 0.0036444071354 \n" ); document.write( "where F is the F statistic\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Use a calculator or table to find the F critical value to be 3.0617\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The fact that this F statistic (0.0036444071354) is smaller than the F critical value (3.0617) indicates that we fail to reject the null hypothesis. The F statistic is not in the rejection region. We don't have enough statistically significant evidence to overturn the null. We have no choice but to conclude that mu1 = mu2 = mu3. So there is no statistical difference between the three groups.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Alternatively, you can use a calculator or table to find the p value to be 0.9964 which is very large. This is more evidence that we fail to reject the null. You can only reject the null if the p value is less than alpha. \n" ); document.write( " \n" ); document.write( " |