ࡱ>  ƉbjbjVV 4<<d..qqqqq$l}4zzzS!nQq^zqq7 qq,x '^DM0}L,!]!x!qxXzZ@4Hzzz zzz}!zzzzzzzzz. 7: M&M Statistics/A Chi Square Analysis Have you ever wondered why the package of M&Ms you just bought never seems to have enough of your favorite color? Or, why is it that you always seem to get the package of mostly brown M&Ms? Whats going on at the Mars Company? Is the number of the different colors of M&Ms in a package really different from one package to the next, or does the Mars Company do something to insure that each package gets the correct number of each color of M&M? Heres some information from the M&M website: % colorPlainPeanutCrispyMinisPeanut ButterAlmondBrown13%12%17%13%10%10%Yellow14%15%17%13%20%20%Red13%12%17%12%10%10%Green16%15%16%12%20%20%Blue24%23%17%25%20%20%Orange20%23%16%25%20%20% One way that we could determine if the Mars Co. is true to its word is to sample a package of M&Ms and do a type of statistical test known as a goodness of fit test. This type of statistical test allow us to determine if any differences between our observed measurements (counts of colors from our M&M sample) and our expected (what the Mars Co. claims) are simply due to chance or some other reason (i.e. the Mars companys sorters arent doing a very good job of putting the correct number of M&Ms in each package). The goodness of fit test we will be using is called a Chi Square (X2) Analysis. We will be calculating a statistical value and using a table to determine the probability that any difference between observed data and expected data is due to chance alone. We begin by stating the null hypothesis. A null hypothesis is the prediction that something is not present, that a treatment will have no effect, or that there is no difference between treatment and control. Another way of saying this is the hypothesis that an observed pattern of data and an expected pattern are effectively the same, differing only by chance, not because they are truly different. What is our null hypothesis for this experiment? ________________________________ _______________________________________________________________________ _______________________________________________________________________ To test this hypothesis we will need to calculate the X2 statistic, which is calculated in the following way: X2 = (sum of) (O-E)2 E where O is the observed (actual count) and E is the expected number for each color category. The main thing to note about this formula is that, when all else is equal, the value of X2 increases as the difference between the observed and expected values increase. On to it! Lay out a large sheet of paperyoull be sorting M&Ms on this. Open up a bag of M&Ms. DO NOT EAT ANY OF THE M&MS (for now!) Separate the M&Ms into color categories and count the number of each color of M&M you have. Record your counts in Data Chart 1. Determine the Chi square value for your data. Data Chart 1Color CategoriesBrownBlueOrangeGreen RedYellowTotalObserved (o)Expected (e)Difference (o-e)Difference Squared (o-e)2(o-e)2/e  (d2/e) = X2 You may eat now!!!!!!! ( Now you must determine the probability that the difference between the observed and expected values occurred simply by chance. The procedure is to compare the calculated value of the chi-square to the appropriate value in the table below. First examine the table. Note the term degrees of freedom. For this statistical test the degrees of freedom equal the number of classes (i.e. color categories) minus one: degrees of freedom = number of categories 1 In your M&M experiment, what is the number of degrees of freedom? ___________ The reason why it is important to consider degrees of freedom is that the value of the chi-square statistic is calculated as the sum of the squared deviations for all classes. The natural increase in the value of chi-square with an increase in classes must be taken into account. Scan across the row corresponding to your degrees of freedom. Values of the chi-square are given for several different probabilities, ranging from 0.90 on the left to 0.01 on the right. Note that the chi-square increases as the probability decreases. If your exact chi-square value is not listed in the table, then estimate the probability.  Accept the null hypothesis Reject  Degrees of FreedomProbability0.900.500.250.100.050.0110.0160.461.322.713.846.642.0.211.392.774.615.999.2130.582.374.116.257.8211.3541.063.365.397.789.4913.2851.614.356.639.2411.0715.09 Notice that a chi-square value as large as 1.61 would be expected by chance in 90% of the cases, whereas one as large as 15.09 would only be expected by chance in 1% of the cases. Stated another way, it is more likely that youll get a little deviation from the expected (thus a lower Chi-Square value) than a large deviation from the expected. The column that we need to concern ourselves with is the one under 0.05. Scientists, in general, are willing to say that if their probability of getting the observed deviation from the expected results by chance is greater than 0.05 (5%), then we can accept the null hypothesis. In other words, there is really no difference in actual ratios.any differences we see between what Mars claims and what is actually in a bag of M&Ms just happened by chance sampling error. Five percent! That is not much, but its good enough for a scientist. If however, the probability of getting the observed deviation from the expected results by chance is less than 0.05 (5%) then we should reject the null hypothesis. In other words, for our study, there is a significant difference in M&M color ratios between actual store-bought bags of M&Ms and what the Mars Co. claims are the actual ratios. Stated another wayany differences we see between what Mars claims and what is actually in a bag of M&Ms did not just happen by chance sampling error. The following information should be in your conclusion. Based on your individual sample, should you accept or reject the null hypothesis? Why? If you rejected your null hypothesis, what might be some explanations for your outcome? ----------------------------------------------------------------------------------------------------------- Now that you completed this chi-square test for your data, lets do it for the entire class, as if we had one huge bag of M&Ms. Using the information reported on the board, complete Data Chart 2. Data Chart 2Color CategoriesBrownBlueOrangeGreen RedYellowTotalObserved Expected (e)Deviation (difference between expected and observed)Deviation Squared (d2)d2/e %&   M Z [ e h j -0ȸxmxmxhF>*OJQJ^JhFhx>*OJQJ^JhFOJQJ^JhFhxH*OJQJ^Jh}OJQJ^JhFhx6OJQJ]^JhFhx5H*OJQJ^JhFhx5OJQJ^JhFhx5OJQJ\^JhFh !OJQJ^JhFhxOJQJ^J(%& " ( / 6 < J Q $If$a$gd ! Q R X \ ` 2,,,$Ifkd$$Ifl֞v gXI:,"064 la` d h l p $Ifp q x | 2,,,$Ifkd$$Ifl֞v gXI:,"064 la $If 2,,,$Ifkdz$$Ifl֞v gXI:,"064 la $If 2,,,$Ifkd7$$Ifl֞v gXI:,"064 la $If 2,,,$Ifkd$$Ifl֞v gXI:,"064 la $If 2,,,$Ifkd$$Ifl֞v gXI:,"064 la   $If j 20000kdn$$Ifl֞v gXI:,"064 laHI"J,-8w:hijw$If & F :FHVX67jw"$@Bbdrt!#$D㤔mm,jhFhxOJQJU^JmHnHuhFhx6OJQJ]^J jJhFhX~OJQJ^JhX~OJQJ^JhFhx5OJQJ\^JhFhxH*OJQJ^JhFh !OJQJ^JhFOJQJ^JhFhxOJQJ^JhFhx>*H*OJQJ^J*w|$If$Ifqkd+$$Ifl40v"`064 laf4$If $Ifkd$$Ifl4ִ1 x6v" E8G@4G>06    4 laf4$If$Ifkd$$Iflִ1 x6v"E8G@4G>06    4 la$If$Ifkd$$Ifl~ִ1 x6v"E8G@4G>06    4 la&(*,.0246HJLNPRTVFfOFf $IfVXZpvxz|~56FfFf$If6!$08DEFK}qkdA$$Ifl40,"`064 laf4 $$Ifa$$IfDEdeg:@{"}""""i####$${$$$$$$^%_%j%k%& ,.<>:ɻ󄻡hFhoOJQJ^JUhFhxH*OJQJ^JhFh8qOJQJ^JhFh !OJQJ^JhFh8q5OJQJ^JhFOJQJ^JhFhx6OJQJ]^JhFhx5OJQJ\^JhFhxOJQJ^J2KPUZ_d$Ifdegmr/)))$Ifkd$$Ifl4֞v gXI:," 064 laf4rw|$If2,,,$Ifkd$$Ifl֞v gXI:,"064 la$If2,,,$Ifkdf$$Ifl֞v gXI:,"064 la$If2,,,$Ifkd#$$Ifl֞v gXI:,"064 la$If2,,,$Ifkd$$Ifl֞v gXI:,"064 la $If |"20000kd$$Ifl֞v gXI:,"064 la|"}""###h#i##$$$$$$qkdZ$$Ifl40"` 064 laf4$If$If$$$$$$$$If$If$$$$Ifkd$$Ifl4ִ& o O" LIMJIMJ06    4 laf4$$$$$$$$$$If$$%$Ifkd!$$Iflִ& o O"LIMJIMJ06    4 la%%%%% % % %$If % %%$Ifkd7"$$Iflִ& o O"LIMJIMJ06    4 la%A%B%C%D%E%F%G%H%I%T%a%b%c%d%e%f%g%h%i%n%o%p%q%r%s%t%u%Ffz)Ff0%$Ifu%v%w% "$&(*,.JLN:<>@ƉFf 2Ff-$If (d2/e) = X2 The following also should be discussed in your conclusion. Based on the class data, should you accept or reject the null hypothesis? Why ? If you rejected the null hypothesis based on the class data, what might be some of the explanations for your outcome? If you accepted the null hypothesis, how do you explain it particularly if you rejected the null based on individual group data? What is the purpose of collecting data from the entire group? :<>@BBĉƉhFhxOJQJ^JhFh8qOJQJ^JhFhFOJQJ^JhFOJQJ^JhxOJQJ^J21h:pF/ =!8"8#$8% $$If!vh5555555#v#v:V l06554$$If!vh5555555#v#v:V l06554$$If!vh5555555#v#v:V l06554$$If!vh5555555#v#v:V l06554$$If!vh5555555#v#v:V l06554$$If!vh5555555#v#v:V l06554$$If!vh5555555#v#v:V l06554$$If!vh55#v#v:V l406+554f4"$$If!vh55E5:5G5@575G5@#v#vE#v:#vG#v@#v7#vG#v@:V l406+55E585G5@545G5>4f4$$If!vh55E5:5G5@575G5@#v#vE#v:#vG#v@#v7#vG#v@:V l0655E585G5@545G5>4)$$If!vh55E5:5G5@575G5@#v#vE#v:#vG#v@#v7#vG#v@:V l~0655E585G5@545G5>/ 4$$If!vh55E5:5G5@575G5@#v#vE#v:#vG#v@#v7#vG#v@:V l Psss0655E585G5@545G5>4pPsssvkd3 $$Iflִ1 x6v"E8G@4G> Psss06    4 lapPsss$$If!vh55E5:5G5@575G5@#v#vE#v:#vG#v@#v7#vG#v@:V l Psss0655E585G5@545G5>4pPsssvkd} $$Iflִ1 x6v"E8G@4G> Psss06    4 lapPsss$$If!vh55E5:5G5@575G5@#v#vE#v:#vG#v@#v7#vG#v@:V l Psss0655E585G5@545G5>/ 4pPsssvkd$$Iflִ1 x6v"E8G@4G> Psss06    4 lapPsss$$If!vh55?5@5?5@5?5G5@#v#v?#v@#v?#v@#v?#vG#v@:V l4 Fssssssssssssssssss0655?5@5?5@5?5@4f4pFssssssssssssssssssfkd$$Ifl4ִ1 p6v"?@?@?@@ Fssssssssssssssssss06    4 laf4pFssssssssssssssssss$$If!vh55#v#v:V l406+554f4$$If!vh5555555#v#v:V l406+554f4$$If!vh5555555#v#v:V l06554$$If!vh5555555#v#v:V l06554$$If!vh5555555#v#v:V l06554$$If!vh5555555#v#v:V l06554$$If!vh5555555#v#v:V l06554$$If!vh5F5 #vF#v :V l406+55 4f4"$$If!vh5F5L5I5M5J5I5M5J#vF#vL#vI#vM#vJ#vI#vM#vJ:V l406+55L5I5M5J5I5M5J4f4$$If!vh5F5L5I5M5J5I5M5J#vF#vL#vI#vM#vJ#vI#vM#vJ:V l0655L5I5M5J5I5M5J4%$$If!vh5F5L5I5M5J5I5M5J#vF#vL#vI#vM#vJ#vI#vM#vJ:V l0655L5I5M5J5I5M5J/ 4$$If!vh5F5L5I5M5J5I5M5J#vF#vL#vI#vM#vJ#vI#vM#vJ:V l Psss0655L5I5M5J5I5M5J4pPsssvkd^#$$Iflִ& o O"LIMJIMJ Psss06    4 lapPsss$$If!vh5F5L5I5M5J5I5M5J#vF#vL#vI#vM#vJ#vI#vM#vJ:V l Psss0655L5I5M5J5I5M5J4pPsssvkd'$$Iflִ& o O"LIMJIMJ Psss06    4 lapPsss$$If!vh5F5L5I5M5J5I5M5J#vF#vL#vI#vM#vJ#vI#vM#vJ:V l Psss0655L5I5M5J5I5M5J/ 4pPsssvkd+$$Iflִ& o O"LIMJIMJ Psss06    4 lapPsss$$If!vh5F5L5I5M5J5I5M5J#vF#vL#vI#vM#vJ#vI#vM#vJ:V l4 Fssssssssssssssssss0655L5I5M5J5I5M5J4f4pFssssssssssssssssssfkdJ0$$Ifl4ִ& o O"LIMJIMJ Fssssssssssssssssss06    4 laf4pFssssssssssssssssss^ 666666666vvvvvvvvv666666>6666666666666666666666666666666666666666666666666hH6666666666666666666666666666666666666666666666666666666666666666662 0@P`p2( 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p8XV~_HmH nH sH tH @`@ NormalCJ_HaJmH sH tH @@@  Heading 1$$@&a$5\:@:  Heading 2$@&5\DA D Default Paragraph FontVi@V  Table Normal :V 44 la (k (No List 2>@2 Title$a$5\PK![Content_Types].xmlj0Eжr(΢Iw},-j4 wP-t#bΙ{UTU^hd}㨫)*1P' ^W0)T9<l#$yi};~@(Hu* Dנz/0ǰ $ X3aZ,D0j~3߶b~i>3\`?/[G\!-Rk.sԻ..a濭?PK!֧6 _rels/.relsj0 }Q%v/C/}(h"O = C?hv=Ʌ%[xp{۵_Pѣ<1H0ORBdJE4b$q_6LR7`0̞O,En7Lib/SeеPK!kytheme/theme/themeManager.xml M @}w7c(EbˮCAǠҟ7՛K Y, e.|,H,lxɴIsQ}#Ր ֵ+!,^$j=GW)E+& 8PK!Ptheme/theme/theme1.xmlYOo6w toc'vuر-MniP@I}úama[إ4:lЯGRX^6؊>$ !)O^rC$y@/yH*񄴽)޵߻UDb`}"qۋJחX^)I`nEp)liV[]1M<OP6r=zgbIguSebORD۫qu gZo~ٺlAplxpT0+[}`jzAV2Fi@qv֬5\|ʜ̭NleXdsjcs7f W+Ն7`g ȘJj|h(KD- dXiJ؇(x$( :;˹! I_TS 1?E??ZBΪmU/?~xY'y5g&΋/ɋ>GMGeD3Vq%'#q$8K)fw9:ĵ x}rxwr:\TZaG*y8IjbRc|XŻǿI u3KGnD1NIBs RuK>V.EL+M2#'fi ~V vl{u8zH *:(W☕ ~JTe\O*tHGHY}KNP*ݾ˦TѼ9/#A7qZ$*c?qUnwN%Oi4 =3ڗP 1Pm \\9Mؓ2aD];Yt\[x]}Wr|]g- eW )6-rCSj id DЇAΜIqbJ#x꺃 6k#ASh&ʌt(Q%p%m&]caSl=X\P1Mh9MVdDAaVB[݈fJíP|8 քAV^f Hn- "d>znNJ ة>b&2vKyϼD:,AGm\nziÙ.uχYC6OMf3or$5NHT[XF64T,ќM0E)`#5XY`פ;%1U٥m;R>QD DcpU'&LE/pm%]8firS4d 7y\`JnίI R3U~7+׸#m qBiDi*L69mY&iHE=(K&N!V.KeLDĕ{D vEꦚdeNƟe(MN9ߜR6&3(a/DUz<{ˊYȳV)9Z[4^n5!J?Q3eBoCM m<.vpIYfZY_p[=al-Y}Nc͙ŋ4vfavl'SA8|*u{-ߟ0%M07%<ҍPK! ѐ'theme/theme/_rels/themeManager.xml.relsM 0wooӺ&݈Э5 6?$Q ,.aic21h:qm@RN;d`o7gK(M&$R(.1r'JЊT8V"AȻHu}|$b{P8g/]QAsم(#L[PK-![Content_Types].xmlPK-!֧6 +_rels/.relsPK-!kytheme/theme/themeManager.xmlPK-!Ptheme/theme/theme1.xmlPK-! ѐ' theme/theme/_rels/themeManager.xml.relsPK] dD:Ɖ#-EQ ` p wV6Kdr|"$$$$% %%u%Ɖ !"$%&'()*+,./0123456789:;<=>?@AB8@\(  \B  S D>"?\B  S D"?\B @ S D"?B S  ?+,d t4t<tsEssdsJss f f8*urn:schemas-microsoft-com:office:smarttagsCity9*urn:schemas-microsoft-com:office:smarttagsplace H;f / 4 ek_d %f3333333  , 7 @ t  f NOSfflCX<^`o(.^`.pLp^p`L.@ @ ^@ `.^`.L^`L.^`.^`.PLP^P`L.lC         5Fxz ![J o8q;E2o9-IX~}df@L dp@pp(@pp0@pUnknownG* Times New Roman5Symbol3. * Arial;WingdingsA BCambria Math"hSS<(3<(3!824dVV3QHX(?x2!xxM&M StatisticsStaffAuthorized User Oh+'0 $ D P \ ht|M&M StatisticsStaff Normal.dotmAuthorized User2Microsoft Office Word@F#@d@'@'<(՜.+,0 hp  ISD 6593V M&M Statistics Title  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFHIJKLMNOPQRSTUVWXYZ[\]^_`acdefghijklmnopqrtuvwxyz|}~Root Entry Fa'@Data Gt41Tableb!WordDocument 4SummaryInformation(sDocumentSummaryInformation8{MsoDataStore@s߹' 'WPXDVKBNCFKA==2 @s߹''Item  Properties7mSMSQAEGO5EQQ==2 @s߹' 'Item  EPropertiesIOCompObjOy  !"#$%&'()*+,-./012345689:;<=>?@ABCDFGHJKLMNP This value indicates the number of saves or revisions. The application is responsible for updating this value after each revision. DocumentLibraryFormDocumentLibraryFormDocumentLibraryForm   F'Microsoft Office Word 97-2003 Document MSWordDocWord.Document.89q