{"id":135,"date":"2018-03-14T00:36:00","date_gmt":"2018-03-13T23:36:00","guid":{"rendered":"https:\/\/kindsonthegenius.com\/blog\/2018\/03\/14\/chi-square-goodness-of-fit-test-question-16-a-newly-developed-muesli\/"},"modified":"2020-08-22T20:33:14","modified_gmt":"2020-08-22T18:33:14","slug":"chi-square-goodness-of-fit-test-question-16-a-newly-developed-muesli","status":"publish","type":"post","link":"https:\/\/kindsonthegenius.com\/blog\/chi-square-goodness-of-fit-test-question-16-a-newly-developed-muesli\/","title":{"rendered":"Chi-Square Goodness of Fit Test &#8211; Question 16 ( A newly developed muesli&#8230;)"},"content":{"rendered":"<h4><span style=\"font-size: large;\"><span style=\"color: #cc0000;\"><b>Question 16<\/b><\/span><\/span><\/h4>\n<hr \/>\n<p>A newly developed muesli contains five types of seeds (A, B, C, D and E). The percentage of which is 35%, 25%, 20%, 10% and 10% according to the product information. In a randomly selected saa, the following volume distribution was found.<\/p>\n<table style=\"height: 66px; width: 418px;\" border=\"1\">\n<tbody>\n<tr>\n<td>Component<\/td>\n<td style=\"text-align: left;\">A<\/td>\n<td>B<\/td>\n<td>C<\/td>\n<td>D<\/td>\n<td>E<\/td>\n<\/tr>\n<tr>\n<td>Number of Pieces<\/td>\n<td>184<\/td>\n<td>145<\/td>\n<td>100<\/td>\n<td>63<\/td>\n<td>63<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Lets us decide about the null hypothesis whether the composition of the sample corresponds to the distribution indicated on the packaging at alpha = 0.1 significance level.<\/p>\n<p>&nbsp;<\/p>\n<h4><span style=\"color: #274e13;\"><span style=\"font-size: large;\"><b>Solution Steps\u00a0<\/b><\/span><\/span><\/h4>\n<hr \/>\n<p>Read the question again and made user you understand it. Think of what values are observed values and what values are expected values<\/p>\n<p><b>Step 1: State the null and alternate hypothesis<\/b><br \/>\nFrom the question, we are required to verify the null hypothesis whether the product information corresponds to a given specified distribution. Therefore we can state the null hypothesis as:<\/p>\n<p><b>H<sub>0<\/sub>:<\/b> the data is consistent with a specified distribution<br \/>\n<b>H<sub>a<\/sub><\/b>: the data is not consistent with a specified distributions<\/p>\n<p>&nbsp;<\/p>\n<p><b>Step 2: Identify the observed and expected values<\/b><br \/>\nIn this case, the observed values are the values given in the table that is<\/p>\n<p>A = 184<br \/>\nB = 145<br \/>\nC = 100<br \/>\nD = 68<br \/>\nE = 63<\/p>\n<p>As for the expected values, the question gives us the percentages (of the total) of the expected values<br \/>\nTotal = 184 + 145\u00a0+ 100 + 68 + 63 = 560<\/p>\n<p>So we can calculate the expected values based on the percentages<\/p>\n<p>Expected value for A = 560 * 0.35 = 196<br \/>\nExpected value for B = 560 * 0.25 = 140<br \/>\nExpected value for C = 560 * 0.20 = 112<br \/>\nExpected value for D = 560 * 0.10 = 56<br \/>\nExpected value for E = 560 * 0.10 = 56<\/p>\n<p>Now we have the two important sets of values, the set of observed values and the set of expected values.<\/p>\n<p>&nbsp;<\/p>\n<p><b>Step 3: Calculate the Chi-Square Test Statistic <\/b><br \/>\nNow that we have calculated the expected values, the rest of the problem is quite easy. We can get the chi-square statistic using the formular.<\/p>\n<p>&nbsp;<\/p>\n<div style=\"text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/4.bp.blogspot.com\/-1ojqbmJPLeI\/WqXYikGVsZI\/AAAAAAAABPI\/nMwJvbP9ERAvrxR1-wpaO5k4fPMuiRy6wCPcBGAYYCw\/s1600\/Chi-Square-Formular.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/4.bp.blogspot.com\/-1ojqbmJPLeI\/WqXYikGVsZI\/AAAAAAAABPI\/nMwJvbP9ERAvrxR1-wpaO5k4fPMuiRy6wCPcBGAYYCw\/s200\/Chi-Square-Formular.jpg\" width=\"200\" height=\"71\" border=\"0\" data-original-height=\"103\" data-original-width=\"287\" \/>\u00a0<\/a><\/div>\n<p>If we use the actual values, thene we have the following calculation:<\/p>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p>,\u00a0 <a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/4.bp.blogspot.com\/-F4Zh4WQdtYk\/WqhqfTes5kI\/AAAAAAAABTk\/Gt0vW8koQwMhrIr6w5gGo5Sw1mu2Ut1QgCLcBGAs\/s1600\/Chi-Square-Formular%2Bfor%2BQuestion%2B14.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/4.bp.blogspot.com\/-F4Zh4WQdtYk\/WqhqfTes5kI\/AAAAAAAABTk\/Gt0vW8koQwMhrIr6w5gGo5Sw1mu2Ut1QgCLcBGAs\/s400\/Chi-Square-Formular%2Bfor%2BQuestion%2B14.jpg\" width=\"529\" height=\"152\" border=\"0\" data-original-height=\"271\" data-original-width=\"942\" \/><\/a><br \/>\n<b><\/b><\/p>\n<p><b>Step 4: Look up the critical value from tables<\/b><br \/>\nWe need to look at the table of chi-square distribution.<\/p>\n<p>From the question, alpha = 0.01<br \/>\nDegrees of freedom, df = 5 &#8211; 1 = 4<\/p>\n<p>The critical value for alpha = 0.01 and 4 degrees of freedom is written as<\/p>\n<div style=\"text-align: center;\"><\/div>\n<div style=\"text-align: center;\">K<sub>0.1,4<\/sub> = 7.729<\/div>\n<p>&nbsp;<\/p>\n<p><b>Step 5: State your conclustion<\/b><br \/>\nSince the calculated value of the test statistic is less than the critical value, we therefore accept the null hypothesis that the content of the checked sac corresponds to the advertised distribution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question 16 A newly developed muesli contains five types of seeds (A, B, C, D and E). The percentage of which is 35%, 25%, 20%, &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[223],"tags":[],"_links":{"self":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/135"}],"collection":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/comments?post=135"}],"version-history":[{"count":3,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":755,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/135\/revisions\/755"}],"wp:attachment":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/media?parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/categories?post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/tags?post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}