document.write( "Question 1081803: Do “A” students tend to sit in a particular part of the classroom? An instructor recorded the locations of the students who received grades of A, with these results: 14 sat in the front, 12 sat in the middle, and 5 sat in the back of the classroom. Is there sufficient evidence to support the claim that the “A” students are not evenly distributed throughout the classroom? [Construct an appropriate frequency table.] \n" ); document.write( "
Algebra.Com's Answer #696024 by jim_thompson5910(35256)![]() ![]() ![]() You can put this solution on YOUR website! Note: The teacher didn't state it but I'm assuming alpha = 0.05 which is often the default significance level.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "First generate the proper frequency table shown below\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " ![]() \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Note: Table generated by Excel, which is part of Microsoft Office. If you cannot afford to get this program, then there are free alternatives out there such as Open Office, Libre Office, Google Doc Spreadsheets, etc which pretty much can do the same thing. I'm sure there are tons more free programs out there. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Explanation of the table:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The first column represented with an \"A\" at the top is simply a column for the row labels \"Front\", \"Middle\", and \"Back\". Also, there's a \"Total\" label to indicate sums for any given column of values. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The second column, represented with \"B\" up top\", represents the number of observed entries for the front, middle, and back (rows 2 through 4). For instance, the 14 in cell B2 represents the idea that the teacher observed 14 students in the front. I'm coding \"Observed\" as \"OBS\" for short so I can use it later in the table.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The third column, represented with \"C\" up top, is the expected results we should get if students were evenly distributed. If 31 students are evenly divided by 3 different sections (front,middle,back) then we'd expect roughly 31/3 = 10.33333333 students per section. This is an average value. Do NOT round this value. We'll use this later in our calculations.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The fourth column represents the difference between columns B and C. You can notate this as B-C or as OBS-EXP like I have done in the table. Each entry is simply the result of subtracting the expected from the observed value. For example, the value 3.666666667 in cell D2 is the result of the subtraction 14-10.33333333, basically D2 = B2-C2. The rest of the values are calculated the same way. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The \"E\" column, which is the fifth column, is the result of squaring what we got in column D. Put one way, E = (D)^2. I've notated it as (OBS-EXP)^2. For example, (D2)^2 = (3.666666667)^2 = 13.44444444\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The \"F\" column, the last column, is the result of dividing what we got in column E over the column C. In other words, divide the expression (OBS-EXP)^2 over EXP. I've notated this as [ (OBS-EXP)^2 ]/EXP\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Once we have our F column set up, add up everything in it. You can add by typing the individual values into the calculator or you can use the SUM Excel function (OpenOffice and LibreOffice and others have this function too)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The portion Chi-Square Critical Value 5.991464547, specifically the numeric entry, is found by typing in =CHIINV(0.05,2) into the spreadsheet. The equal sign up front tells the spreadsheet \"this is a formula to be calculated\" instead of some text that is displayed. The first argument 0.05 is the alpha value. This is the area in the right tail. The '2' refers to the degrees of freedom df = k-1 = 3-1 = 2. The value k = 3 indicates the number of groups (front,middle,back).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "After you're comfortable setting up the table and reading the values, the only values that we really care about are marked in red, which is 4.322580645 (Chi-Square test statistic), and the value marked in blue, which is 5.991464547 (Chi-Square critical value).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The Chi-Square test statistic and critical value will help us do a chi-square goodness of fit test. This is test that determines if one group of values fit a specified distribution. In this case, our given group of values is the set of observed values {front=14,middle=12,back=5} and we want to test if this observed group fits with the expected distribution {front=10.33333333,middle=10.33333333,back=10.33333333}\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The null hypothesis would be \n" ); document.write( "H0: The students are evenly distributed\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The alternative hypothesis would be \n" ); document.write( "H1: The students are not evenly distributed\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The claim is in the alternative hypothesis. If we reject the null, then we accept the claim. Take note how the null and alternative are the only two options possible. This binary nature is important when setting up hypotheses.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Using the Chi-Square critical value of 5.991464547 and the Chi-Square test statistic of 4.322580645, we simply compare to see which is larger. If the test-statistic is larger, then we are in the rejection region and we reject the null. Otherwise, we fail to reject the null and we have no choice but to accept the null.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "In this case, the test statistic is smaller so we are in the acceptance region. We have no choice but to accept the null. We do not have enough statistically significant evidence to overturn the null. The difference is simply due to randomness or statistical error or other unknown factors. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We can see this on a graph\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " ![]() \n" ); document.write( "Image generated by GeoGebra (free graphing software).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The red point B represents the location of the test statistic which is NOT in the rejection region (shown in green). The point A represents the critical value. This is the boundary between the rejection region and the acceptance region. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "--------------------------------------------------------------------------------------------------------------------------- \n" ); document.write( "---------------------------------------------------------------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Conclusion: We have accepted the null meaning that the students are evenly distributed. The seating arrangement doesn't seem to have an affect on grades.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Fitting it in the framework of a Q&A format, we'd have\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Question: \"Is there sufficient evidence to support the claim that the A students are not evenly distributed throughout the classroom?\"\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Answer: \"No, there isn't sufficient evidence to support the claim that A students are not evenly distributed throughout the classroom\" \n" ); document.write( " |