{"id":1413,"date":"2023-06-22T02:22:55","date_gmt":"2023-06-22T02:22:55","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/introstatstest\/chapter\/chi-square-test-of-homogeneity-learn-it-2\/"},"modified":"2026-11-23T18:20:48","modified_gmt":"2026-11-23T18:20:48","slug":"chi-square-test-of-homogeneity-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/introstatstest\/chapter\/chi-square-test-of-homogeneity-learn-it-2\/","title":{"raw":"Chi-Square Test of Homogeneity \u2013 Learn It 2","rendered":"Chi-Square Test of Homogeneity \u2013 Learn It 2"},"content":{"raw":"<section class=\"textbox learningGoals\">\r\n<ul>\r\n\t<li><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Complete a chi-square test of homogeneity&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:12801,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0,&quot;15&quot;:&quot;arial&quot;,&quot;16&quot;:9}\">Complete a chi-square test of homogeneity<\/span><\/li>\r\n<\/ul>\r\n<\/section>\r\n<h2>Null and Alternative Hypotheses<\/h2>\r\n<p class=\"para\">As usual, the null hypothesis is a statement of no difference or no change, so for a chi-square test of homogeneity, the null hypothesis is always that the distribution of the categorical variable is the same among all the populations.<\/p>\r\n<section class=\"textbox keyTakeaway\">\r\n<h3>hypotheses<\/h3>\r\n<ul>\r\n\t<li>The <strong>null hypothesis<\/strong> ([latex]H_0[\/latex]) is that the distribution of the categorical variable is the same in every population.<\/li>\r\n\t<li>The <strong>alternative hypothesis<\/strong> ([latex]H_A[\/latex]) is that the distribution of the categorical variable is not the same in every population. In other words, at least one population has a different distribution.<\/li>\r\n<\/ul>\r\n<p>Note: <em>Homogeneous<\/em> means the same in structure or composition. This test gets its name from the null hypothesis, where we claim that the distribution of the responses is the same (homogeneous) across groups. The test looks for evidence that the differences among the samples are larger than the differences you would expect to see from sampling variation alone.<\/p>\r\n<\/section>\r\n<p>You can use this template to write the hypotheses for any test of homogeneity:<\/p>\r\n<ul>\r\n\t<li>[latex]H_0[\/latex]: The distribution of <strong>[categorical variable]<\/strong> is the same for <strong>[population 1]<\/strong>, <strong>[population 2]<\/strong>, and <strong>[population 3]<\/strong>.<\/li>\r\n\t<li>[latex]H_A[\/latex]: The distribution of <strong>[categorical variable]<\/strong> is not the same for <strong>[population 1]<\/strong>, <strong>[population 2]<\/strong>, and <strong>[population 3]<\/strong>.<\/li>\r\n<\/ul>\r\n<section class=\"textbox example\">\r\n<p class=\"para\"><b>Writing Hypotheses<\/b><\/p>\r\n<p>Recall Scenario A from the previous activity: we compare the majors chosen by students at public universities and private universities, using a random sample from each. The categorical variable is <em>major<\/em>, and there are two populations: students at public universities and students at private universities. The hypotheses are:<\/p>\r\n<ul>\r\n\t<li>[latex]H_0[\/latex]: The distribution of majors is the same for students at public universities and students at private universities.<\/li>\r\n\t<li>[latex]H_A[\/latex]: The distribution of majors is not the same for students at public universities and students at private universities.<\/li>\r\n<\/ul>\r\n<\/section>\r\n<section class=\"textbox proTip\"><b>Common mistakes to avoid<\/b>: Write the hypotheses about the <em>populations<\/em>, not the samples (for example, not \u201cthe 837 dogs in 2022\u201d). The alternative hypothesis does not claim that every population is different from every other, only that the distributions are not all the same. Name the categorical variable and the populations in the context of the problem.<\/section>\r\n<p><strong>Research Question:<\/strong> Do dogs leaving the Long Beach Animal Shelter have the same distribution of outcomes (whether the dog is adopted, returned to its owner, transferred, or euthanized) in 2022, 2023, and 2024?<\/p>\r\n<section class=\"textbox tryIt\">[ohm2_question hide_question_numbers=1 ]2400[\/ohm2_question]<\/section>","rendered":"<section class=\"textbox learningGoals\">\n<ul>\n<li><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Complete a chi-square test of homogeneity&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:12801,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0,&quot;15&quot;:&quot;arial&quot;,&quot;16&quot;:9}\">Complete a chi-square test of homogeneity<\/span><\/li>\n<\/ul>\n<\/section>\n<h2>Null and Alternative Hypotheses<\/h2>\n<p class=\"para\">As usual, the null hypothesis is a statement of no difference or no change, so for a chi-square test of homogeneity, the null hypothesis is always that the distribution of the categorical variable is the same among all the populations.<\/p>\n<section class=\"textbox keyTakeaway\">\n<h3>hypotheses<\/h3>\n<ul>\n<li>The <strong>null hypothesis<\/strong> ([latex]H_0[\/latex]) is that the distribution of the categorical variable is the same in every population.<\/li>\n<li>The <strong>alternative hypothesis<\/strong> ([latex]H_A[\/latex]) is that the distribution of the categorical variable is not the same in every population. In other words, at least one population has a different distribution.<\/li>\n<\/ul>\n<p>Note: <em>Homogeneous<\/em> means the same in structure or composition. This test gets its name from the null hypothesis, where we claim that the distribution of the responses is the same (homogeneous) across groups. The test looks for evidence that the differences among the samples are larger than the differences you would expect to see from sampling variation alone.<\/p>\n<\/section>\n<p>You can use this template to write the hypotheses for any test of homogeneity:<\/p>\n<ul>\n<li>[latex]H_0[\/latex]: The distribution of <strong>[categorical variable]<\/strong> is the same for <strong>[population 1]<\/strong>, <strong>[population 2]<\/strong>, and <strong>[population 3]<\/strong>.<\/li>\n<li>[latex]H_A[\/latex]: The distribution of <strong>[categorical variable]<\/strong> is not the same for <strong>[population 1]<\/strong>, <strong>[population 2]<\/strong>, and <strong>[population 3]<\/strong>.<\/li>\n<\/ul>\n<section class=\"textbox example\">\n<p class=\"para\"><b>Writing Hypotheses<\/b><\/p>\n<p>Recall Scenario A from the previous activity: we compare the majors chosen by students at public universities and private universities, using a random sample from each. The categorical variable is <em>major<\/em>, and there are two populations: students at public universities and students at private universities. The hypotheses are:<\/p>\n<ul>\n<li>[latex]H_0[\/latex]: The distribution of majors is the same for students at public universities and students at private universities.<\/li>\n<li>[latex]H_A[\/latex]: The distribution of majors is not the same for students at public universities and students at private universities.<\/li>\n<\/ul>\n<\/section>\n<section class=\"textbox proTip\"><b>Common mistakes to avoid<\/b>: Write the hypotheses about the <em>populations<\/em>, not the samples (for example, not \u201cthe 837 dogs in 2022\u201d). The alternative hypothesis does not claim that every population is different from every other, only that the distributions are not all the same. Name the categorical variable and the populations in the context of the problem.<\/section>\n<p><strong>Research Question:<\/strong> Do dogs leaving the Long Beach Animal Shelter have the same distribution of outcomes (whether the dog is adopted, returned to its owner, transferred, or euthanized) in 2022, 2023, and 2024?<\/p>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm2400\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=2400&theme=lumen&iframe_resize_id=ohm2400&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n","protected":false},"author":8,"menu_order":20,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1413","chapter","type-chapter","status-publish","hentry"],"part":1388,"module-header":"learn_it","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/users\/8"}],"version-history":[{"count":19,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1413\/revisions"}],"predecessor-version":[{"id":7190,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1413\/revisions\/7190"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/parts\/1388"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1413\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/media?parent=1413"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapter-type?post=1413"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/contributor?post=1413"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/license?post=1413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}