{"id":315,"date":"2021-07-14T15:59:12","date_gmt":"2021-07-14T15:59:12","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/chapter\/one-way-anova\/"},"modified":"2023-12-05T09:51:01","modified_gmt":"2023-12-05T09:51:01","slug":"one-way-anova","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/chapter\/one-way-anova\/","title":{"raw":"Comparing Multiple Means with ANOVA","rendered":"Comparing Multiple Means with ANOVA"},"content":{"raw":"<div class=\"textbox learning-objectives\">\r\n<h3>Learning Outcomes<\/h3>\r\n<section>\r\n<ul id=\"fs-idp124304720\">\r\n \t<li>State the five assumptions that must be met to do a one-way ANOVA<\/li>\r\n \t<li>State the null and alternative hypotheses for a one-way ANOVA<\/li>\r\n<\/ul>\r\n<\/section><\/div>\r\nThe purpose of a one-way ANOVA test is to determine the existence of a statistically significant difference among several group means. The test actually uses <strong>variances<\/strong> to help determine if the means are equal or not. In order to perform a one-way ANOVA test, there are five basic <strong>assumptions<\/strong> to be fulfilled:\r\n<ol>\r\n \t<li>Each population from which a sample is taken is assumed to be normal.<\/li>\r\n \t<li>All samples are randomly selected and independent.<\/li>\r\n \t<li>The populations are assumed to have <strong>equal standard deviations (or variances).<\/strong><\/li>\r\n \t<li>The factor is a categorical variable.<\/li>\r\n \t<li>The response is a numerical variable.<\/li>\r\n<\/ol>\r\n<h2>The Null and Alternative Hypotheses<\/h2>\r\nThe null hypothesis is simply that all the group population means are the same. The alternative hypothesis is that at least one pair of means is different. For example, if there are <em>k<\/em> groups:\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>\u03bc<\/em><sub>1<\/sub> = <em>\u03bc<\/em><sub>2<\/sub> = <em>\u03bc<\/em><sub>3<\/sub> = ... = <em>\u03bc<sub data-redactor-tag=\"sub\">k<\/sub><\/em>\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: At least two of the group means <em>\u03bc<\/em><sub>1<\/sub>, <em>\u03bc<\/em><sub>2<\/sub>, <em>\u03bc<\/em><sub>3<\/sub>, ..., <em>\u03bc<sub data-redactor-tag=\"sub\">k<\/sub><\/em> are not equal. That is,\u00a0<em>\u03bc<sub>i<\/sub>\u00a0<\/em>\u2260\u00a0<em>\u03bc<sub>j<\/sub><\/em><sub>\u00a0<\/sub>for some\u00a0<em>i \u2260 j<\/em>.\r\n\r\nThe graphs, a set of box plots representing the distribution of values with the group means indicated by a horizontal line through the box, help in the understanding of the hypothesis test. In the first graph (red box plots), <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>\u03bc<sub data-redactor-tag=\"sub\">1<\/sub><\/em> = <em>\u03bc<sub data-redactor-tag=\"sub\">2<\/sub><\/em>= <em>\u03bc<sub data-redactor-tag=\"sub\">3<\/sub><\/em> and the three populations have the same distribution if the null hypothesis is true. The variance of the combined data is approximately the same as the variance of each of the populations.\r\n\r\nIf the null hypothesis is false, then the variance of the combined data is larger which is caused by the different means as shown in the second graph (green box plots).\r\n\r\n<img class=\"aligncenter wp-image-2321 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/11174337\/e7c6e5207804219a79aecc8f47cf4458ec8e8e6d.jpeg\" alt=\"The first illustration shows three vertical boxplots with equal means. The second illustration shows three vertical boxplots with unequal means.\" width=\"487\" height=\"397\" \/>\r\n\r\n(a) <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em> is true. All means are the same; the differences are due to random variation.\r\n\r\n(b) <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em> is not true. All means are not the same; the differences are too large to be due to random variation.\r\n\r\n<iframe src=\"\/\/plugin.3playmedia.com\/show?mf=7115061&amp;p3sdk_version=1.10.1&amp;p=20361&amp;pt=375&amp;video_id=OXA-bw9tGfo&amp;video_target=tpm-plugin-wecd4m14-OXA-bw9tGfo\" width=\"800px\" height=\"450px\" frameborder=\"0\" marginwidth=\"0px\" marginheight=\"0px\"><\/iframe>","rendered":"<div class=\"textbox learning-objectives\">\n<h3>Learning Outcomes<\/h3>\n<section>\n<ul id=\"fs-idp124304720\">\n<li>State the five assumptions that must be met to do a one-way ANOVA<\/li>\n<li>State the null and alternative hypotheses for a one-way ANOVA<\/li>\n<\/ul>\n<\/section>\n<\/div>\n<p>The purpose of a one-way ANOVA test is to determine the existence of a statistically significant difference among several group means. The test actually uses <strong>variances<\/strong> to help determine if the means are equal or not. In order to perform a one-way ANOVA test, there are five basic <strong>assumptions<\/strong> to be fulfilled:<\/p>\n<ol>\n<li>Each population from which a sample is taken is assumed to be normal.<\/li>\n<li>All samples are randomly selected and independent.<\/li>\n<li>The populations are assumed to have <strong>equal standard deviations (or variances).<\/strong><\/li>\n<li>The factor is a categorical variable.<\/li>\n<li>The response is a numerical variable.<\/li>\n<\/ol>\n<h2>The Null and Alternative Hypotheses<\/h2>\n<p>The null hypothesis is simply that all the group population means are the same. The alternative hypothesis is that at least one pair of means is different. For example, if there are <em>k<\/em> groups:<\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>\u03bc<\/em><sub>1<\/sub> = <em>\u03bc<\/em><sub>2<\/sub> = <em>\u03bc<\/em><sub>3<\/sub> = &#8230; = <em>\u03bc<sub data-redactor-tag=\"sub\">k<\/sub><\/em><\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: At least two of the group means <em>\u03bc<\/em><sub>1<\/sub>, <em>\u03bc<\/em><sub>2<\/sub>, <em>\u03bc<\/em><sub>3<\/sub>, &#8230;, <em>\u03bc<sub data-redactor-tag=\"sub\">k<\/sub><\/em> are not equal. That is,\u00a0<em>\u03bc<sub>i<\/sub>\u00a0<\/em>\u2260\u00a0<em>\u03bc<sub>j<\/sub><\/em><sub>\u00a0<\/sub>for some\u00a0<em>i \u2260 j<\/em>.<\/p>\n<p>The graphs, a set of box plots representing the distribution of values with the group means indicated by a horizontal line through the box, help in the understanding of the hypothesis test. In the first graph (red box plots), <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>\u03bc<sub data-redactor-tag=\"sub\">1<\/sub><\/em> = <em>\u03bc<sub data-redactor-tag=\"sub\">2<\/sub><\/em>= <em>\u03bc<sub data-redactor-tag=\"sub\">3<\/sub><\/em> and the three populations have the same distribution if the null hypothesis is true. The variance of the combined data is approximately the same as the variance of each of the populations.<\/p>\n<p>If the null hypothesis is false, then the variance of the combined data is larger which is caused by the different means as shown in the second graph (green box plots).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2321 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/11174337\/e7c6e5207804219a79aecc8f47cf4458ec8e8e6d.jpeg\" alt=\"The first illustration shows three vertical boxplots with equal means. The second illustration shows three vertical boxplots with unequal means.\" width=\"487\" height=\"397\" \/><\/p>\n<p>(a) <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em> is true. All means are the same; the differences are due to random variation.<\/p>\n<p>(b) <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em> is not true. All means are not the same; the differences are too large to be due to random variation.<\/p>\n<p><iframe loading=\"lazy\" src=\"\/\/plugin.3playmedia.com\/show?mf=7115061&amp;p3sdk_version=1.10.1&amp;p=20361&amp;pt=375&amp;video_id=OXA-bw9tGfo&amp;video_target=tpm-plugin-wecd4m14-OXA-bw9tGfo\" width=\"800px\" height=\"450px\" frameborder=\"0\" marginwidth=\"0px\" marginheight=\"0px\"><\/iframe><\/p>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-315\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>One-Way ANOVA. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/13-1-one-way-anova\">https:\/\/openstax.org\/books\/introductory-statistics\/pages\/13-1-one-way-anova<\/a>. <strong>Project<\/strong>: Introductory Statistics. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Access for free at https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction<\/li><li>Introductory Statistics. <strong>Authored by<\/strong>: Barbara Illowsky, Susan Dean. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\">https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Access for free at https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction<\/li><\/ul><div class=\"license-attribution-dropdown-subheading\">All rights reserved content<\/div><ul class=\"citation-list\"><li>Completing a simple ANOVA table. <strong>Authored by<\/strong>: masterskills. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/youtu.be\/OXA-bw9tGfo\">https:\/\/youtu.be\/OXA-bw9tGfo<\/a>. <strong>License<\/strong>: <em>All Rights Reserved<\/em>. <strong>License Terms<\/strong>: Standard YouTube License<\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":169134,"menu_order":7,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"One-Way ANOVA\",\"author\":\"\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/13-1-one-way-anova\",\"project\":\"Introductory Statistics\",\"license\":\"cc-by\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\"},{\"type\":\"copyrighted_video\",\"description\":\"Completing a simple ANOVA table\",\"author\":\"masterskills\",\"organization\":\"\",\"url\":\"https:\/\/youtu.be\/OXA-bw9tGfo\",\"project\":\"\",\"license\":\"arr\",\"license_terms\":\"Standard YouTube License\"},{\"type\":\"cc\",\"description\":\"Introductory Statistics\",\"author\":\"Barbara Illowsky, Susan Dean\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-315","chapter","type-chapter","status-publish","hentry"],"part":313,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/users\/169134"}],"version-history":[{"count":11,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/315\/revisions"}],"predecessor-version":[{"id":4007,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/315\/revisions\/4007"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/parts\/313"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/315\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/media?parent=315"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapter-type?post=315"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/contributor?post=315"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/license?post=315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}