{"id":739,"date":"2016-04-21T22:43:36","date_gmt":"2016-04-21T22:43:36","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/introstats1xmaster\/?post_type=chapter&#038;p=739"},"modified":"2019-05-29T22:17:15","modified_gmt":"2019-05-29T22:17:15","slug":"one-way-anova","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/introstats1\/chapter\/one-way-anova\/","title":{"raw":"One-Way ANOVA","rendered":"One-Way 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>Conduct and interpret 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 variances 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.\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 style=\"display: block; margin: auto;\" src=\"https:\/\/textimgs.s3.amazonaws.com\/DE\/stats\/nlxn-gjtb457i#fixme#fixme#fixme\" alt=\"The first illustration shows three vertical boxplots with equal means. The second illustration shows three vertical boxplots with unequal means.\" \/>(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\nhttps:\/\/youtu.be\/OXA-bw9tGfo\r\n<h2>Concept Review<\/h2>\r\nAnalysis of variance extends the comparison of two groups to several, each a level of a categorical variable (factor). Samples from each group are independent, and must be randomly selected from normal populations with equal variances. We test the null hypothesis of equal means of the response in every group versus the alternative hypothesis of one or more group means being different from the others. A one-way ANOVA hypothesis test determines if several population means are equal. The distribution for the test is the <em>F<\/em> distribution with two different degrees of freedom.\r\n\r\nAssumptions:\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 equal standard deviations (or variances).<\/li>\r\n<\/ol>","rendered":"<div class=\"textbox learning-objectives\">\n<h3>Learning Outcomes<\/h3>\n<section>\n<ul id=\"fs-idp124304720\">\n<li>Conduct and interpret 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 variances 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.<\/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 decoding=\"async\" style=\"display: block; margin: auto;\" src=\"https:\/\/textimgs.s3.amazonaws.com\/DE\/stats\/nlxn-gjtb457i#fixme#fixme#fixme\" alt=\"The first illustration shows three vertical boxplots with equal means. The second illustration shows three vertical boxplots with unequal means.\" \/>(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\" id=\"oembed-1\" title=\"Completing a simple ANOVA table\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/OXA-bw9tGfo?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>Concept Review<\/h2>\n<p>Analysis of variance extends the comparison of two groups to several, each a level of a categorical variable (factor). Samples from each group are independent, and must be randomly selected from normal populations with equal variances. We test the null hypothesis of equal means of the response in every group versus the alternative hypothesis of one or more group means being different from the others. A one-way ANOVA hypothesis test determines if several population means are equal. The distribution for the test is the <em>F<\/em> distribution with two different degrees of freedom.<\/p>\n<p>Assumptions:<\/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 equal standard deviations (or variances).<\/li>\n<\/ol>\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-739\">\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>OpenStax, Statistics, One-Way ANOVA. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44\">http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><li>Introductory Statistics . <strong>Authored by<\/strong>: Barbara Illowski, Susan Dean. <strong>Provided by<\/strong>: Open Stax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44\">http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44<\/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>: Download for free at http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44<\/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":21,"menu_order":2,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"OpenStax, Statistics, One-Way ANOVA\",\"author\":\"\",\"organization\":\"\",\"url\":\"http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"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 Illowski, Susan Dean\",\"organization\":\"Open Stax\",\"url\":\"http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download for free at http:\/\/cnx.org\/contents\/30189442-6998-4686-ac05-ed152b91b9de@17.44\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-739","chapter","type-chapter","status-publish","hentry"],"part":733,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/pressbooks\/v2\/chapters\/739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/wp\/v2\/users\/21"}],"version-history":[{"count":3,"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/pressbooks\/v2\/chapters\/739\/revisions"}],"predecessor-version":[{"id":1836,"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/pressbooks\/v2\/chapters\/739\/revisions\/1836"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/pressbooks\/v2\/parts\/733"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/pressbooks\/v2\/chapters\/739\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/wp\/v2\/media?parent=739"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/pressbooks\/v2\/chapter-type?post=739"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/wp\/v2\/contributor?post=739"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstats1\/wp-json\/wp\/v2\/license?post=739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}