{"id":572,"date":"2015-07-19T16:39:56","date_gmt":"2015-07-19T20:39:56","guid":{"rendered":"http:\/\/sites.berry.edu\/vbissonnette\/?page_id=572"},"modified":"2017-08-02T14:04:45","modified_gmt":"2017-08-02T18:04:45","slug":"contingency-test","status":"publish","type":"page","link":"https:\/\/sites.berry.edu\/vbissonnette\/index\/stats-homework\/documentation\/contingency-test\/","title":{"rendered":"Contingency Test"},"content":{"rendered":"<h3>Example Homework Problem:<\/h3>\n<p>When polled about a proposition on an upcoming ballot, the responses of men and women were as follows:<\/p>\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td style=\"border-bottom: 1px solid black;width: 90px;text-align: center\">Agree<\/td>\n<td style=\"border-bottom: 1px solid black;width: 90px;text-align: center\">Undecided<\/td>\n<td style=\"border-bottom: 1px solid black;width: 90px;text-align: center\">Disagree<\/td>\n<\/tr>\n<tr>\n<td>Men:<\/td>\n<td style=\"border: 1px solid black;text-align: center\">70<\/td>\n<td style=\"border: 1px solid black;text-align: center\">25<\/td>\n<td style=\"border: 1px solid black;text-align: center\">40<\/td>\n<\/tr>\n<tr>\n<td>Women:<\/td>\n<td style=\"border: 1px solid black;text-align: center\">30<\/td>\n<td style=\"border: 1px solid black;text-align: center\">20<\/td>\n<td style=\"border: 1px solid black;text-align: center\">25<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Do men and women differ in their attitudes towards this issue (alpha = .05)?<\/p>\n<p>If you would like help with the hand-written work for this problem, <a href=\"http:\/\/sites.berry.edu\/vbissonnette\/index\/stats-homework\/documentation\/contingency-test\/contingency-test-solution\/\">click here<\/a>.<\/p>\n<hr \/>\n<p>In <i>Stats Homework<\/i> pull down the <b>Analyze<\/b> menu, choose <b>Analysis of Frequency or Proportion<\/b>, and then choose <b>Contingency Table<\/b>.<\/p>\n<h4>Manually Entering Frequency Data<\/h4>\n<p><a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2017\/08\/contin6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1381\" src=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2017\/08\/contin6.png\" alt=\"\" width=\"619\" height=\"440\" srcset=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2017\/08\/contin6.png 619w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2017\/08\/contin6-300x213.png 300w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2017\/08\/contin6-260x185.png 260w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>In the first dialog, enter the names of both variables, and the number of levels of each. \u00a0Then click all the output options and click\u00a0<strong>Next Step<\/strong>.<\/p>\n<p><a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1017\" src=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin7.png\" alt=\"contin7\" width=\"782\" height=\"265\" srcset=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin7.png 782w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin7-300x102.png 300w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin7-768x260.png 768w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin7-260x88.png 260w\" sizes=\"auto, (max-width: 782px) 100vw, 782px\" \/><\/a><\/p>\n<p>Next, you will enter the column and row headings. \u00a0When finished, click\u00a0<strong>Next Step<\/strong>.<\/p>\n<p><a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1018\" src=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin8.png\" alt=\"contin8\" width=\"656\" height=\"255\" srcset=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin8.png 656w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin8-300x117.png 300w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin8-260x101.png 260w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Finally, you will enter the frequencies for each cell in your contingency table. \u00a0When finished, click the\u00a0<strong>Compute<\/strong> button.<\/p>\n<h4>Basic Output<\/h4>\n<p><a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1019\" src=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin9.png\" alt=\"contin9\" width=\"468\" height=\"352\" srcset=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin9.png 468w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin9-300x226.png 300w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin9-260x196.png 260w\" sizes=\"auto, (max-width: 468px) 100vw, 468px\" \/><\/a><\/p>\n<p><b>Contingency Table<\/b>. This table summarizes all of the observed and expected frequencies, including the row and column totals.<\/p>\n<p><b>Cell Statistics<\/b>. This table lists the observed and expected frequencies for each cell. In addition, this table presents each cell&#8217;s contribution to the Chi Square statistic, and the total Chi Square statistic.<\/p>\n<p><b>Inferential Statistics<\/b>. This table presents the Chi Square statistic (3.13), its <i>df<\/i> (2), and the <i>p<\/i> value for the obtained value of Chi Square (.21).<\/p>\n<h4>Optional Output<\/h4>\n<p><a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1020\" src=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin10.png\" alt=\"contin10\" width=\"184\" height=\"86\" \/><\/a><\/p>\n<p><strong>Effect Size Statistics<\/strong>. \u00a0This table\u00a0includes the effect size statistic, Cramer&#8217;s V (.12) and Cohen&#8217;s w (.12). \u00a0 If you analyze a 2 X 2 contingency table, the Phi coefficient will be displayed instead of Cramer&#8217;s V.<\/p>\n<p><a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1021\" src=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin11.png\" alt=\"contin11\" width=\"571\" height=\"88\" srcset=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin11.png 571w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin11-300x46.png 300w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin11-260x40.png 260w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/a><\/p>\n<p><b>Critical Values<\/b>. These are the values from a <a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2015\/07\/chisqr.pdf\">statistical table of critical values<\/a> for the Chi Square test. In our case, we are conducting a test with alpha = .05. So, we would compare the value of our obtained Chi Square (3.13) to 5.991.<\/p>\n<p><a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1022\" src=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin12.png\" alt=\"contin12\" width=\"460\" height=\"213\" srcset=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin12.png 460w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin12-300x139.png 300w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/contin12-260x120.png 260w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/a><\/p>\n<p><strong>Supplemental Statistics<\/strong>. \u00a0This table lists the contribution that each cell made toward the Chi-Squared statistic. \u00a0This can be used to double-check your hand-written solution to this problem.<a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2017\/08\/contin13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1382\" src=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2017\/08\/contin13.png\" alt=\"\" width=\"854\" height=\"531\" srcset=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2017\/08\/contin13.png 854w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2017\/08\/contin13-300x187.png 300w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2017\/08\/contin13-768x478.png 768w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2017\/08\/contin13-260x162.png 260w\" sizes=\"auto, (max-width: 854px) 100vw, 854px\" \/><\/a><\/p>\n<p><strong>Bar Chart<\/strong>.\u00a0 This chart graphically illustrates the frequencies analyzed in the contingency test.\u00a0 It can display frequencies and relative frequencies, and it includes a number of options for reversing the variables and changing the appearance of the chart.<\/p>\n<hr \/>\n<p><a href=\"http:\/\/sites.berry.edu\/vbissonnette\/index\/stats-homework\/documentation\/contingency-test\/contingency-test-solution\/\">See the Hand-Written Work<\/a><\/p>\n<p><a href=\"http:\/\/sites.berry.edu\/vbissonnette\/index\/stats-homework\/documentation\/\">Return to Table of Contents<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Example Homework Problem: When polled about a proposition on an upcoming ballot, the responses of men and women were as follows: Agree Undecided Disagree Men: 70 25 40 Women: 30 [&hellip;]<\/p>\n","protected":false},"author":34,"featured_media":0,"parent":282,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","site-transparent-header":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"class_list":["post-572","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/pages\/572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/users\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/comments?post=572"}],"version-history":[{"count":9,"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/pages\/572\/revisions"}],"predecessor-version":[{"id":1383,"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/pages\/572\/revisions\/1383"}],"up":[{"embeddable":true,"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/pages\/282"}],"wp:attachment":[{"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/media?parent=572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}