{"id":316,"date":"2021-07-14T15:59:13","date_gmt":"2021-07-14T15:59:13","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/chapter\/the-f-distribution-and-the-f-ratio\/"},"modified":"2023-12-05T09:51:40","modified_gmt":"2023-12-05T09:51:40","slug":"the-f-distribution-and-the-f-ratio","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/chapter\/the-f-distribution-and-the-f-ratio\/","title":{"raw":"The F Distribution and the F Test Statistic","rendered":"The F Distribution and the F Test Statistic"},"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>Calculate an <em>F<\/em>-ratio or <em>F<\/em> statistics using formulas or using technology<\/li>\r\n<\/ul>\r\n<\/section><\/div>\r\n<div class=\"textbox examples\">\r\n<h3>Recall: Ratios<\/h3>\r\nA ratio compares two numbers or two quantities that are measured with the same unit. The ratio of [latex]a[\/latex] to [latex]b[\/latex] is written [latex]a\\text{ to }b,{\\Large\\frac{a}{b}},\\text{or}\\mathit{\\text{a}}\\text{:}\\mathit{\\text{b}}\\text{.}[\/latex]\r\n\r\n<\/div>\r\nThe distribution used for the hypothesis test is a new one. It is called the\u00a0<em>F <\/em>distribution, named after Sir Ronald Fisher, an English statistician. The <em>F<\/em> statistic is a ratio (a fraction). There are two sets of degrees of freedom: one for the numerator and one for the denominator.\r\n\r\nFor example, if <em>F<\/em> follows an <em>F<\/em> distribution and the number of degrees of freedom for the numerator is four, and the number of degrees of freedom for the denominator is ten, then <em>F<\/em>\u00a0[latex]\\sim[\/latex]\u00a0<em>F<sub data-redactor-tag=\"sub\">4,10<\/sub><\/em>.\r\n<h4>Note<\/h4>\r\n<div id=\"eip-261\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"eip-idm170830672\" class=\" \">The\u00a0<em data-effect=\"italics\">F<\/em>\u00a0distribution is derived from the Student's t-distribution. The values of the\u00a0<em data-effect=\"italics\">F<\/em>\u00a0distribution are squares of the corresponding values of the\u00a0<em data-effect=\"italics\">t<\/em>-distribution. One-Way ANOVA expands the\u00a0<em data-effect=\"italics\">t<\/em>-test for comparing more than two groups. The scope of that derivation is beyond the level of this course. It is preferable to use ANOVA when there are more than two groups instead of performing pairwise\u00a0<em data-effect=\"italics\">t<\/em>-tests because performing multiple tests introduces the likelihood of making a Type 1 error.<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\nTo calculate the\u00a0<em>F<\/em> ratio, two estimates of the variance are made.\r\n<ol>\r\n \t<li><strong>Variance between samples:<\/strong>\u00a0an estimate of <em>\u03c3<\/em><sup>2<\/sup> which is the variance of the sample means multiplied by <em>n<\/em> (when the sample sizes are the same.). If the samples are different sizes, the variance between samples is weighted to account for the different sample sizes. The variance is also called <strong>variation due to treatment or explained variation<\/strong>.<\/li>\r\n \t<li><strong>Variance within samples:<\/strong>\u00a0an estimate of <em>\u03c3<\/em><sup>2<\/sup> that is the average of the sample variances (also known as a pooled variance). When the sample sizes are different, the variance within samples is weighted. The variance is also called the <strong>variation due to error or unexplained variation<\/strong>.<\/li>\r\n<\/ol>\r\n<ul>\r\n \t<li><em>SS<\/em><sub>between<\/sub> = the sum of squares that represents the variation among the different samples<\/li>\r\n \t<li><em>SS<\/em><sub>within<\/sub> = the sum of squares that represents the variation within samples that is due to chance.<\/li>\r\n<\/ul>\r\nTo find a \"sum of squares\" means to add together squared quantities that, in some cases, may be weighted.\r\n<div class=\"textbox examples\">\r\n<h3>Recall: ORDER OF OPERATIONS<\/h3>\r\n<div align=\"left\">\r\n<table style=\"border-collapse: collapse; width: 100%; height: 36px;\" border=\"1\">\r\n<tbody>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Please<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Excuse<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>My<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Dear<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Aunt<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Sally<\/strong><\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">parentheses<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">exponents<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">multiplication<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">division<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">addition<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">subtraction<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]( \\ )[\/latex]<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]x^2[\/latex]<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]\\times \\ \\mathrm{or} \\ \\div[\/latex]<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]+ \\ \\mathrm{or} \\ -[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h2>To calculate the Sum of Squares (SS) follow the following steps (the best way to organize these calculations is in a table, there is an example below):<\/h2>\r\nStep 1: Calculate the mean of the data set. To do this, sum all of the data values and divide by how many data values are in the set.\r\n\r\nStep 2: Analyze the data and see if any numbers appear more than once, if so, write down the frequency in which those numbers appear.\r\n\r\nStep 3: Calculate the difference between the data value and the sample mean for each of the data values, [latex](x- \\overline{x})[\/latex], data value - sample mean.\r\n\r\nStep 4: Square each of the differences you found in step 3.\r\n\r\nStep 5: Analyze the data and see if any numbers appear more than once, if they do, multiply the squared difference of that data value by its frequency.\r\n\r\nStep 6: Add all of the squared deviations, in order words, sum the squared deviations.\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox examples\">\r\n<h3>Recall: Module 2 Example<\/h3>\r\n<strong>The scenario is as follows:<\/strong>\r\n\r\nIn a fifth grade class, the teacher was interested in the average age and the sample standard deviation of the ages of her students. The following data are the ages for a sample of [latex]n = 20[\/latex] fifth grade students. The ages are rounded to the nearest half year:\r\n\r\n[latex]\\displaystyle {9; 9.5; 9.5; 10; 10; 10; 10; 10.5; 10.5; 10.5; 10.5; 11; 11; 11; 11; 11; 11; 11.5; 11.5; 11.5;}[\/latex]\r\n\r\nThe sample mean is calculated as:\r\n\r\n[latex]\\displaystyle\\overline{x} = \\frac{9+9.5(2)+10(4)+10.5(4)+11(6)+11.5(3)}{20}={10.525}[\/latex]\r\nThe average age is [latex]10.53[\/latex]\r\n\r\nThe sample mean age is [latex]10.53[\/latex] years, rounded to two places.\r\n\r\nThe following table shows how to calculate the [latex]SS[\/latex] described above.\r\n<table>\r\n<thead>\r\n<tr>\r\n<th>Data<\/th>\r\n<th>Freq.<\/th>\r\n<th>Deviations<\/th>\r\n<th>[latex]Deviations^2[\/latex]<\/th>\r\n<th>(Freq.)( [latex]Deviations^2[\/latex])<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>[latex]x[\/latex]<\/td>\r\n<td>[latex]f[\/latex]<\/td>\r\n<td>( [latex]x[\/latex] \u2013 [latex]\\displaystyle\\overline{x}[\/latex])<\/td>\r\n<td>( [latex]x[\/latex] \u2013[latex]\\displaystyle\\overline{x}[\/latex])<sup data-redactor-tag=\"sup\">2<\/sup><\/td>\r\n<td>( [latex]f[\/latex])([latex]x[\/latex] \u2013[latex]\\displaystyle\\overline{x}[\/latex])<sup data-redactor-tag=\"sup\">2<\/sup><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]9[\/latex]<\/td>\r\n<td>[latex]1[\/latex]<\/td>\r\n<td>[latex]9 \u2013 10.525 = \u20131.525[\/latex]<\/td>\r\n<td>[latex](\u20131.525)^2 = 2.325625[\/latex]<\/td>\r\n<td>[latex]1 \u00d7 2.325625 = 2.325625[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]9.5[\/latex]<\/td>\r\n<td>[latex]2[\/latex]<\/td>\r\n<td>[latex]9.5 \u2013 10.525 = \u20131.025[\/latex]<\/td>\r\n<td>[latex](\u20131.025)^2 = 1.050625[\/latex]<\/td>\r\n<td>[latex]2 \u00d7 1.050625 = 2.101250[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]10[\/latex]<\/td>\r\n<td>[latex]4[\/latex]<\/td>\r\n<td>[latex]10 \u2013 10.525 = \u20130.525[\/latex]<\/td>\r\n<td>[latex](\u20130.525)^2 = 0.275625[\/latex]<\/td>\r\n<td>[latex]4 \u00d7 0.275625 = 1.1025[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]10.5[\/latex]<\/td>\r\n<td>[latex]4[\/latex]<\/td>\r\n<td>[latex]10.5 \u2013 10.525 = \u20130.025[\/latex]<\/td>\r\n<td>[latex](\u20130.025)^2 = 0.000625[\/latex]<\/td>\r\n<td>[latex]4 \u00d7 0.000625 = 0.0025[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]11[\/latex]<\/td>\r\n<td>[latex]6[\/latex]<\/td>\r\n<td>[latex]11 \u2013 10.525 = 0.475[\/latex]<\/td>\r\n<td>[latex](0.475)^2 = 0.225625[\/latex]<\/td>\r\n<td>[latex]6 \u00d7 0.225625 = 1.35375[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]11.5[\/latex]<\/td>\r\n<td>[latex]3[\/latex]<\/td>\r\n<td>[latex]11.5 \u2013 10.525 = 0.975[\/latex]<\/td>\r\n<td>[latex](0.975)^2 = 0.950625[\/latex]<\/td>\r\n<td>[latex]3 \u00d7 0.950625 = 2.851875[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<td>The total is [latex]9.7375[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[latex]SS[\/latex] is [latex]9.7375[\/latex].\r\n\r\n<\/div>\r\n<em>MS<\/em> means \"<strong>mean square<\/strong>.\" <em>MS<\/em><sub>between<\/sub> is the variance between groups, and <em>MS<\/em><sub>within<\/sub> is the variance within groups.\r\n<h2>Calculation of Sum of Squares and Mean Square<\/h2>\r\n<ul>\r\n \t<li><em>k<\/em> = the number of different groups<\/li>\r\n \t<li><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">nj<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = the size of the <\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">j<sup>\u00a0th<\/sup><\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> group<\/span><\/li>\r\n \t<li><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">sj<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = the sum of the values in the\u00a0<\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">j<sup>\u00a0th<\/sup><\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">\u00a0group<\/span><\/li>\r\n \t<li><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">n<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = total number of all the values combined (total sample size: [latex]\\sum[\/latex]<\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">n<sub data-redactor-tag=\"sub\">j<\/sub><\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">)<\/span><\/li>\r\n \t<li><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">x<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = one value: [latex]\\sum[\/latex]<\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">x<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = [latex]\\sum[\/latex]<\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">s<sub data-redactor-tag=\"sub\">j<\/sub><\/em><\/li>\r\n \t<li>Sum of squares of all values from every group combined:\u00a0<span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">[latex]\\sum[\/latex]<em>x<sup>2<\/sup><\/em><\/span><\/li>\r\n \t<li>Between group variability:\u00a0<em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">SS<\/em><sub style=\"orphans: 1; text-align: initial;\">total<\/sub><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = [latex]\\displaystyle\\sum{x}^{{2}}-\\frac{{{(\\sum{x})}^{{2}}}}{{n}}[\/latex]<\/span><\/li>\r\n \t<li>Total sum of squares: [latex]\\displaystyle\\sum{x}^{{2}}-\\frac{{{(\\sum{x})}^{{2}}}}{{n}}[\/latex]<\/li>\r\n \t<li>Explained variation: sum of squares representing variation among the different samples: [latex]\\displaystyle{S}{S}_{{\\text{between}}}=\\sum{[\\frac{{({s}{j})}^{{2}}}{{n}_{{j}}}]}-\\frac{{(\\sum{s}_{{j}})}^{{2}}}{{n}}[\/latex]<\/li>\r\n \t<li>Unexplained variation: sum of squares representing variation within samples due to chance: [latex]\\displaystyle{S}{S}_{{\\text{within}}}={S}{S}_{{\\text{total}}}-{S}{S}_{{\\text{between}}}[\/latex]<\/li>\r\n \t<li><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">df<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">'s for different groups (<\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">df<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">'s for the numerator): <\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">df<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = <\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">k<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> \u2013 1<\/span><\/li>\r\n \t<li>Equation for errors within samples (<em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">df<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">'s for the denominator):\u00a0<\/span><em style=\"font-size: 1rem; orphans: 1;\">df<\/em><sub style=\"orphans: 1;\">within<\/sub><span style=\"font-size: 1rem; orphans: 1;\"> = <\/span><em style=\"font-size: 1rem; orphans: 1;\">n<\/em><span style=\"font-size: 1rem; orphans: 1;\"> \u2013 <\/span><em style=\"font-size: 1rem; orphans: 1;\">k<\/em><\/li>\r\n \t<li>Mean square (variance estimate) explained by the different groups: [latex]\\displaystyle{M}{S}_{{\\text{between}}}=\\frac{{{S}{S}_{{\\text{between}}}}}{{{d}{f}_{{\\text{between}}}}}[\/latex]<\/li>\r\n \t<li>Mean square (variance estimate) that is due to chance (unexplained): [latex]\\displaystyle{M}{S}_{{\\text{within}}}=\\frac{{{S}{S}_{{\\text{within}}}}}{{{d}{f}_{{\\text{within}}}}}[\/latex]<\/li>\r\n<\/ul>\r\n<em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">MS<\/em><sub style=\"orphans: 1; text-align: initial;\">between<\/sub><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> and <\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">MS<\/em><sub style=\"orphans: 1; text-align: initial;\">within<\/sub><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> can be written as follows:<\/span>\r\n<ul>\r\n \t<li>[latex]\\displaystyle{M}{S}_{{\\text{between}}}=\\frac{{{S}{S}_{{\\text{between}}}}}{{{d}{f}_{{\\text{between}}}}}=\\frac{{{S}{S}_{{\\text{between}}}}}{{{k}-{1}}}[\/latex]<\/li>\r\n \t<li>[latex]\\displaystyle{M}{S}_{{\\text{within}}}=\\frac{{{S}{S}_{{\\text{within}}}}}{{{d}{f}_{{\\text{within}}}}}=\\frac{{{S}{S}_{{\\text{within}}}}}{{{n}-{k}}}[\/latex]<\/li>\r\n<\/ul>\r\nThe one-way ANOVA test depends on the fact that\u00a0<em>MS<\/em><sub>between<\/sub> can be influenced by population differences among means of the several groups. Since <em>MS<\/em><sub>within<\/sub> compares values of each group to its own group mean, the fact that group means might be different does not affect <em>MS<\/em><sub>within<\/sub>.\r\n\r\nThe null hypothesis says that all groups are samples from populations having the same normal distribution. The alternate hypothesis says that at least two of the sample groups come from populations with different normal distributions. If the null hypothesis is true,\u00a0<em>MS<\/em><sub>between<\/sub> and <em>MS<\/em><sub>within<\/sub> should both estimate the same value.\r\n<h4>Note<\/h4>\r\nThe null hypothesis says that all the group population means are equal. The hypothesis of equal means implies that the populations have the same normal distribution because it is assumed that the populations are normal and that they have equal variances.\r\n<h2>F-Ratio or F Statistic<\/h2>\r\n[latex]\\displaystyle{F}=\\frac{{{M}{S}_{{\\text{between}}}}}{{{M}{S}_{{\\text{within}}}}}[\/latex]\r\n\r\nIf\u00a0<em>MS<\/em><sub>between<\/sub> and <em>MS<\/em><sub>within<\/sub> estimate the same value (following the belief that <em>H0<\/em> is true), then the <em>F<\/em>-ratio should be approximately equal to one. Mostly, just sampling errors would contribute to variations away from one. As it turns out, <em>MS<\/em><sub>between<\/sub> consists of the population variance plus a variance produced from the differences between the samples. <em>MS<\/em><sub>within<\/sub> is an estimate of the population variance. Since variances are always positive, if the null hypothesis is false, <em>MS<\/em><sub>between<\/sub> will generally be larger than <em>MS<\/em><sub>within<\/sub>.Then the <em>F<\/em>-ratio will be larger than one. However, if the population effect is small, it is not unlikely that <em>MS<\/em><sub>within<\/sub> will be larger in a given sample.\r\n\r\nThe foregoing calculations were done with groups of different sizes. If the groups are the same size, the calculations simplify somewhat and the\u00a0<em>F<\/em>-ratio can be written as:\r\n<h3>F-Ratio Formula when the groups are the same size<\/h3>\r\n[latex]F = {\\dfrac{n \\cdot {s_{\\overline x}}^{2}}{{s^2}_{pooled}}}[\/latex]\r\n\r\nwhere...\r\n<ul>\r\n \t<li><em>n<\/em> = the sample size<\/li>\r\n \t<li><em>df<\/em><sub>numerator<\/sub> = <em>k<\/em> \u2013 1<\/li>\r\n \t<li><em>df<\/em><sub>denominator<\/sub> = <em>n<\/em> \u2013 <em>k<\/em><\/li>\r\n \t<li><em>s<\/em><sup>2<\/sup><sub>pooled<\/sub> = the mean of the sample variances (pooled variance)<\/li>\r\n \t<li>[latex]{s_{\\overline x}}^{2}[\/latex] = the variance of the sample means<\/li>\r\n<\/ul>\r\nData are typically put into a table for easy viewing. One-Way ANOVA results are often displayed in this manner by computer software.\r\n<table style=\"border-collapse: collapse; width: 99.8908%;\" border=\"1\">\r\n<thead>\r\n<tr>\r\n<th style=\"width: 16.4847%;\" scope=\"col\" data-align=\"center\">Source of Variation<\/th>\r\n<th style=\"width: 17.7948%;\" scope=\"col\" data-align=\"center\">Sum of Squares (<em data-effect=\"italics\">SS<\/em>)<\/th>\r\n<th style=\"width: 20.524%;\" scope=\"col\" data-align=\"center\">Degrees of Freedom (<em data-effect=\"italics\">df<\/em>)<\/th>\r\n<th style=\"width: 24.6725%;\" scope=\"col\" data-align=\"center\">Mean Square (<em data-effect=\"italics\">MS<\/em>)<\/th>\r\n<th style=\"width: 20.4148%;\" scope=\"col\" data-align=\"center\"><em data-effect=\"italics\">F<\/em><\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 16.4847%;\" data-align=\"center\">Factor<span data-type=\"newline\">\r\n<\/span>(Between)<\/td>\r\n<td style=\"width: 17.7948%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Factor)<\/td>\r\n<td style=\"width: 20.524%;\" data-align=\"center\"><em data-effect=\"italics\">k<\/em>\u00a0\u2013 1<\/td>\r\n<td style=\"width: 24.6725%;\" data-align=\"center\"><em data-effect=\"italics\">MS<\/em>(Factor) =\u00a0<em data-effect=\"italics\">SS<\/em>(Factor)\/(<em data-effect=\"italics\">k<\/em>\u00a0\u2013 1)<\/td>\r\n<td style=\"width: 20.4148%;\" data-align=\"center\"><em data-effect=\"italics\">F<\/em>\u00a0=\u00a0<em data-effect=\"italics\">MS<\/em>(Factor)\/<em data-effect=\"italics\">MS<\/em>(Error)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 16.4847%;\" data-align=\"center\">Error<span data-type=\"newline\">\r\n<\/span>(Within)<\/td>\r\n<td style=\"width: 17.7948%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Error)<\/td>\r\n<td style=\"width: 20.524%;\" data-align=\"center\"><em data-effect=\"italics\">n<\/em>\u00a0\u2013\u00a0<em data-effect=\"italics\">k<\/em><\/td>\r\n<td style=\"width: 24.6725%;\" data-align=\"center\"><em data-effect=\"italics\">MS<\/em>(Error) =\u00a0<em data-effect=\"italics\">SS<\/em>(Error)\/(<em data-effect=\"italics\">n<\/em>\u00a0\u2013\u00a0<em data-effect=\"italics\">k<\/em>)<\/td>\r\n<td style=\"width: 20.4148%;\" data-align=\"center\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 16.4847%;\" data-align=\"center\">Total<\/td>\r\n<td style=\"width: 17.7948%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Total)<\/td>\r\n<td style=\"width: 20.524%;\" data-align=\"center\"><em data-effect=\"italics\">n<\/em>\u00a0\u2013 1<\/td>\r\n<td style=\"width: 24.6725%;\" data-align=\"center\"><\/td>\r\n<td style=\"width: 20.4148%;\"><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"textbox exercises\">\r\n<h3>Example 1<\/h3>\r\nThree different diet plans are to be tested for mean weight loss. The entries in the table are the weight losses for the different plans. The one-way ANOVA results are shown in the table here.\r\n<table style=\"border-collapse: collapse; width: 99.8836%; height: 72px;\" border=\"1\">\r\n<thead>\r\n<tr style=\"height: 12px;\">\r\n<th style=\"width: 33.2945%; height: 12px;\" scope=\"col\">Plan 1:\u00a0<em data-effect=\"italics\">n<\/em><sub>1<\/sub>\u00a0= 4<\/th>\r\n<th style=\"width: 33.2945%; height: 12px;\" scope=\"col\">Plan 2:\u00a0<em data-effect=\"italics\">n<\/em><sub>2<\/sub>\u00a0= 3<\/th>\r\n<th style=\"width: 33.2945%; height: 12px;\" scope=\"col\">Plan 3:\u00a0<em data-effect=\"italics\">n<\/em><sub>3<\/sub>\u00a0= 3<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">5<\/td>\r\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">3.5<\/td>\r\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">8<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">4.5<\/td>\r\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">7<\/td>\r\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">4<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">4<\/td>\r\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\"><\/td>\r\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">3.5<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">3<\/td>\r\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">4.5<\/td>\r\n<td style=\"width: 33.2945%; height: 12px;\"><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<span style=\"font-size: 1rem; text-align: initial;\"><em>s<\/em><sub>1<\/sub> = 16.5, <em>s<\/em><sub>2<\/sub> =15, <em>s<\/em><sub>3<\/sub> = 15.5<\/span>\r\n\r\n<span style=\"font-size: 1rem; text-align: initial;\">Following are the calculations needed to fill in the one-way ANOVA table. The table is used to conduct a hypothesis test.<\/span>\r\n<p style=\"text-align: center;\">[latex]{SS}(between)=\\sum{\\left[\\dfrac{{{({s}_{j})}^{2}}}{{{n}_{j}}}\\right]}-\\dfrac{{(\\sum{{s}_{j})}^{2}}}{{n}}\r\n[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]= {\\dfrac{s_1^2}{4}} + {\\dfrac{s_2^2}{3}} + {\\dfrac{s_3^2}{3}} - {\\dfrac{(s_1 + s_2 + s_3)^2}{10}}[\/latex]<\/p>\r\nwhere\u00a0<em>n<\/em><sub>1<\/sub> = 4, <em>n<\/em><sub>2<\/sub> = 3, <em>n<\/em><sub>3<\/sub> = 3 and <em>n<\/em> = <em>n<\/em><sub>1<\/sub> + <em>n<\/em><sub>2<\/sub> + <em>n<\/em><sub>3<\/sub> = 10\r\n<p style=\"text-align: center;\">[latex]\\displaystyle=\\frac{{({16.5})^{2}}}{{4}}+\\frac{{({15})^{2}}}{{3}}+\\frac{{ ({5.5})^{2}}}{{3}}-\\frac{{ {({16.5}+{15}+{15.5})}^{2}}}{{10}}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]{SS}(between) = {2.2458}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]S(total) = \\sum{x}^{2}-\\dfrac{{{(\\sum{x})}^{2}}}{{n}}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\displaystyle=\\left({5}^{2}+{4.5}^{2}+{4}^{2}+{3}^{2}+{3.5}^{2}+{7}^{2}+{4.5}^{2}+{8}^{2}+{4}^{2}+{3.5}^{2}\\right)[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\displaystyle{-}\\frac{{{\\left({5}+{4.5}+{4}+{3}+{3.5}+{7}+{4.5}+{8}+{4}+{3.5}\\right)}^{2}}}{{10}}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\displaystyle={244}-\\frac{{{47}^{2}}}{{10}}={244}-{220.9}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]SS(total) = 23.1[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]SS(within) = SS(total) - SS(between)[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]= 23.1 - 2.2458[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]SS(within) = 20.8542[\/latex]<\/p>\r\n&nbsp;\r\n\r\n<header>\r\n<h2 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">USING THE TI-83, 83+, 84, 84+ CALCULATOR<\/span><\/h2>\r\n<\/header><section>\r\n<div class=\"os-note-body\"><\/div>\r\n<\/section>\r\n<div id=\"fs-idp86961312\" class=\"statistics calculator ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"eip-786\" class=\" \">One-Way ANOVA Table: The formulas for\u00a0<em data-effect=\"italics\">SS<\/em>(Total),\u00a0<em data-effect=\"italics\">SS<\/em>(Factor) =\u00a0<em data-effect=\"italics\">SS<\/em>(Between) and\u00a0<em data-effect=\"italics\">SS<\/em>(Error) =\u00a0<em data-effect=\"italics\">SS<\/em>(Within) as shown previously. The same information is provided by the TI calculator hypothesis test function ANOVA in STAT TESTS (syntax is ANOVA(L1, L2, L3) where L1, L2, L3 have the data from Plan 1, Plan 2, Plan 3 respectively).<\/p>\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<table style=\"border-collapse: collapse; width: 99.8836%;\" border=\"1\">\r\n<thead>\r\n<tr>\r\n<th style=\"width: 18.6263%;\" scope=\"col\" data-align=\"center\">Source of Variation<\/th>\r\n<th style=\"width: 20.1397%;\" scope=\"col\" data-align=\"center\">Sum of Squares (<em data-effect=\"italics\">SS<\/em>)<\/th>\r\n<th style=\"width: 23.1665%;\" scope=\"col\" data-align=\"center\">Degrees of Freedom (<em data-effect=\"italics\">df<\/em>)<\/th>\r\n<th style=\"width: 18.1607%;\" scope=\"col\" data-align=\"center\">Mean Square (<em data-effect=\"italics\">MS<\/em>)<\/th>\r\n<th style=\"width: 19.7905%;\" scope=\"col\" data-align=\"center\"><em data-effect=\"italics\">F<\/em><\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 18.6263%;\" data-align=\"center\">Factor<span data-type=\"newline\">\r\n<\/span>(Between)<\/td>\r\n<td style=\"width: 20.1397%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Factor)<span data-type=\"newline\">\r\n<\/span>=\u00a0<em data-effect=\"italics\">SS<\/em>(Between)<span data-type=\"newline\">\r\n<\/span>= 2.2458<\/td>\r\n<td style=\"width: 23.1665%;\" data-align=\"center\"><em data-effect=\"italics\">k<\/em>\u00a0\u2013 1<span data-type=\"newline\">\r\n<\/span>= 3 groups \u2013 1<span data-type=\"newline\">\r\n<\/span>= 2<\/td>\r\n<td style=\"width: 18.1607%;\" data-align=\"center\"><em data-effect=\"italics\">MS<\/em>(Factor)<span data-type=\"newline\">\r\n<\/span>=\u00a0<em data-effect=\"italics\">SS<\/em>(Factor)\/(<em data-effect=\"italics\">k<\/em>\u00a0\u2013 1)<span data-type=\"newline\">\r\n<\/span>= 2.2458\/2<span data-type=\"newline\">\r\n<\/span>= 1.1229<\/td>\r\n<td style=\"width: 19.7905%;\" data-align=\"center\"><em data-effect=\"italics\">F<\/em>\u00a0=<span data-type=\"newline\">\r\n<\/span><em data-effect=\"italics\">MS<\/em>(Factor)\/<em data-effect=\"italics\">MS<\/em>(Error)<span data-type=\"newline\">\r\n<\/span>= 1.1229\/2.9792<span data-type=\"newline\">\r\n<\/span>= 0.3769<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 18.6263%;\" data-align=\"center\">Error<span data-type=\"newline\">\r\n<\/span>(Within)<\/td>\r\n<td style=\"width: 20.1397%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Error)<span data-type=\"newline\">\r\n<\/span>=\u00a0<em data-effect=\"italics\">SS<\/em>(Within)<span data-type=\"newline\">\r\n<\/span>= 20.8542<\/td>\r\n<td style=\"width: 23.1665%;\" data-align=\"center\"><em data-effect=\"italics\">n<\/em>\u00a0\u2013\u00a0<em data-effect=\"italics\">k<\/em><span data-type=\"newline\">\r\n<\/span>= 10 total data \u2013 3 groups<span data-type=\"newline\">\r\n<\/span>= 7<\/td>\r\n<td style=\"width: 18.1607%;\" data-align=\"center\"><em data-effect=\"italics\">MS<\/em>(Error)<span data-type=\"newline\">\r\n<\/span>=\u00a0<em data-effect=\"italics\">SS<\/em>(Error)\/(<em data-effect=\"italics\">n<\/em>\u00a0\u2013\u00a0<em data-effect=\"italics\">k<\/em>)<span data-type=\"newline\">\r\n<\/span>= 20.8542\/7<span data-type=\"newline\">\r\n<\/span>= 2.9792<\/td>\r\n<td style=\"width: 19.7905%;\" data-align=\"center\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 18.6263%;\" data-align=\"center\">Total<\/td>\r\n<td style=\"width: 20.1397%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Total)<span data-type=\"newline\">\r\n<\/span>= 2.2458 + 20.8542<span data-type=\"newline\">\r\n<\/span>= 23.1<\/td>\r\n<td style=\"width: 23.1665%;\" data-align=\"center\"><em data-effect=\"italics\">n<\/em>\u00a0\u2013 1<span data-type=\"newline\">\r\n<\/span>= 10 total data \u2013 1<span data-type=\"newline\">\r\n<\/span>= 9<\/td>\r\n<td style=\"width: 18.1607%;\" data-align=\"center\"><\/td>\r\n<td style=\"width: 19.7905%;\"><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try it 1<\/h3>\r\nAs part of an experiment to see how different types of soil cover would affect slicing tomato production, Marist College students grew tomato plants under different soil cover conditions. Groups of three plants each had one of the following treatments\r\n<ul>\r\n \t<li>bare soil<\/li>\r\n \t<li>a commercial ground cover<\/li>\r\n \t<li>black plastic<\/li>\r\n \t<li>straw<\/li>\r\n \t<li>compost<\/li>\r\n<\/ul>\r\nAll plants grew under the same conditions and were of the same variety. Students recorded the weight (in grams) of tomatoes produced by each of the\u00a0<em>n<\/em> = 15 plants:\r\n<table>\r\n<thead>\r\n<tr>\r\n<th>Bare:\r\n<em>n<\/em>1 = 3<\/th>\r\n<th>Ground Cover:\r\n<em>n<\/em>2 = 3<\/th>\r\n<th>Plastic:\r\n<em>n<\/em>3 = 3<\/th>\r\n<th>Straw:\r\n<em>n<\/em>4 = 3<\/th>\r\n<th>Compost:\r\n<em>n<\/em>5 = 3<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>2,625<\/td>\r\n<td>5,348<\/td>\r\n<td>6,583<\/td>\r\n<td>7,285<\/td>\r\n<td>6,277<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2,997<\/td>\r\n<td>5,682<\/td>\r\n<td>8,560<\/td>\r\n<td>6,897<\/td>\r\n<td>7,818<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>4,915<\/td>\r\n<td>5,482<\/td>\r\n<td>3,830<\/td>\r\n<td>9,230<\/td>\r\n<td>8,677<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nCreate the one-way ANOVA table.\r\n\r\nEnter the data into lists L1, L2, L3, L4, and L5. Press STAT and arrow over to TESTS. Arrow down to ANOVA. Press ENTER and enter L1, L2, L3, L4, L5). Press ENTER. The table was filled in with the results from the calculator.\r\n\r\n&nbsp;\r\n<table style=\"border-collapse: collapse; width: 99.8837%; height: 48px;\" border=\"1\">\r\n<thead>\r\n<tr>\r\n<th style=\"width: 19.9069%;\">Source of Variation<\/th>\r\n<th style=\"width: 20.0233%;\">Sum of Squares (<em>SS<\/em>)<\/th>\r\n<th style=\"width: 19.9069%;\">Degrees of Freedom (<em>df<\/em>)<\/th>\r\n<th style=\"width: 20.0233%;\">Mean Square (<em>MS<\/em>)<\/th>\r\n<th style=\"width: 20.0233%;\"><em>F<\/em><\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 19.9069%; height: 12px;\">Factor (Between)<\/td>\r\n<td style=\"width: 20.0233%;\">36,648,561<\/td>\r\n<td style=\"width: 19.9069%;\">5 \u2013 1 = 4<\/td>\r\n<td style=\"width: 20.0233%;\">[latex]\\displaystyle\\frac{{{36},{648},{561}}}{{4}}={9},{162},{140}[\/latex]<\/td>\r\n<td style=\"width: 20.0233%;\">[latex]\\displaystyle\\frac{{{9},{162},{140}}}{{{2},{044},{672.6}}}={4.4810}[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 19.9069%; height: 12px;\">Error (Within)<\/td>\r\n<td style=\"width: 20.0233%;\">20,446,726<\/td>\r\n<td style=\"width: 19.9069%;\">15 \u2013 5 = 10<\/td>\r\n<td style=\"width: 20.0233%;\">[latex]\\displaystyle\\frac{{{20},{446},{726}}}{{10}}={2},{044},{672.6}[\/latex]<\/td>\r\n<td style=\"width: 20.0233%; height: 12px;\"><\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 19.9069%; height: 12px;\">Total<\/td>\r\n<td style=\"width: 20.0233%;\">57,095,287<\/td>\r\n<td style=\"width: 19.9069%;\">15 \u2013 1 = 14<\/td>\r\n<td style=\"width: 20.0233%;\"><\/td>\r\n<td style=\"width: 20.0233%; height: 12px;\"><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\nThe <strong>one-way ANOVA hypothesis test is always right-tailed<\/strong> because larger\u00a0<em>F<\/em>-values are way out in the right tail of the <em>F<\/em>-distribution curve and tend to make us reject <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>.\r\n<h2>Notation<\/h2>\r\nThe notation for the\u00a0<em>F<\/em> distribution is <em>F<\/em> ~ <em>F<\/em><sub><em data-redactor-tag=\"em\">df<\/em>(<em>num<\/em>),<em>df<\/em>(<em>denom<\/em>)<\/sub>\r\n\r\nwhere\u00a0<em>df<\/em>(<em>num<\/em>) = <em>df<\/em><sub>between<\/sub> and <em>df<\/em>(<em>denom<\/em>) = <em>df<\/em><sub>within<\/sub>\r\n\r\nThe mean for the\u00a0<em>F<\/em> distribution is [latex]\\displaystyle\\mu=\\frac{{{d}{f}{(\\text{num})}}}{{{d}{f}{(\\text{denom})}-2}}[\/latex]","rendered":"<div class=\"textbox learning-objectives\">\n<h3>Learning Outcomes<\/h3>\n<section>\n<ul id=\"fs-idp124304720\">\n<li>Calculate an <em>F<\/em>-ratio or <em>F<\/em> statistics using formulas or using technology<\/li>\n<\/ul>\n<\/section>\n<\/div>\n<div class=\"textbox examples\">\n<h3>Recall: Ratios<\/h3>\n<p>A ratio compares two numbers or two quantities that are measured with the same unit. The ratio of [latex]a[\/latex] to [latex]b[\/latex] is written [latex]a\\text{ to }b,{\\Large\\frac{a}{b}},\\text{or}\\mathit{\\text{a}}\\text{:}\\mathit{\\text{b}}\\text{.}[\/latex]<\/p>\n<\/div>\n<p>The distribution used for the hypothesis test is a new one. It is called the\u00a0<em>F <\/em>distribution, named after Sir Ronald Fisher, an English statistician. The <em>F<\/em> statistic is a ratio (a fraction). There are two sets of degrees of freedom: one for the numerator and one for the denominator.<\/p>\n<p>For example, if <em>F<\/em> follows an <em>F<\/em> distribution and the number of degrees of freedom for the numerator is four, and the number of degrees of freedom for the denominator is ten, then <em>F<\/em>\u00a0[latex]\\sim[\/latex]\u00a0<em>F<sub data-redactor-tag=\"sub\">4,10<\/sub><\/em>.<\/p>\n<h4>Note<\/h4>\n<div id=\"eip-261\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<section>\n<div class=\"os-note-body\">\n<p id=\"eip-idm170830672\" class=\"\">The\u00a0<em data-effect=\"italics\">F<\/em>\u00a0distribution is derived from the Student&#8217;s t-distribution. The values of the\u00a0<em data-effect=\"italics\">F<\/em>\u00a0distribution are squares of the corresponding values of the\u00a0<em data-effect=\"italics\">t<\/em>-distribution. One-Way ANOVA expands the\u00a0<em data-effect=\"italics\">t<\/em>-test for comparing more than two groups. The scope of that derivation is beyond the level of this course. It is preferable to use ANOVA when there are more than two groups instead of performing pairwise\u00a0<em data-effect=\"italics\">t<\/em>-tests because performing multiple tests introduces the likelihood of making a Type 1 error.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<p>To calculate the\u00a0<em>F<\/em> ratio, two estimates of the variance are made.<\/p>\n<ol>\n<li><strong>Variance between samples:<\/strong>\u00a0an estimate of <em>\u03c3<\/em><sup>2<\/sup> which is the variance of the sample means multiplied by <em>n<\/em> (when the sample sizes are the same.). If the samples are different sizes, the variance between samples is weighted to account for the different sample sizes. The variance is also called <strong>variation due to treatment or explained variation<\/strong>.<\/li>\n<li><strong>Variance within samples:<\/strong>\u00a0an estimate of <em>\u03c3<\/em><sup>2<\/sup> that is the average of the sample variances (also known as a pooled variance). When the sample sizes are different, the variance within samples is weighted. The variance is also called the <strong>variation due to error or unexplained variation<\/strong>.<\/li>\n<\/ol>\n<ul>\n<li><em>SS<\/em><sub>between<\/sub> = the sum of squares that represents the variation among the different samples<\/li>\n<li><em>SS<\/em><sub>within<\/sub> = the sum of squares that represents the variation within samples that is due to chance.<\/li>\n<\/ul>\n<p>To find a &#8220;sum of squares&#8221; means to add together squared quantities that, in some cases, may be weighted.<\/p>\n<div class=\"textbox examples\">\n<h3>Recall: ORDER OF OPERATIONS<\/h3>\n<div style=\"text-align: left;\">\n<table style=\"border-collapse: collapse; width: 100%; height: 36px;\">\n<tbody>\n<tr style=\"height: 12px;\">\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Please<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Excuse<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>My<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Dear<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Aunt<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Sally<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">parentheses<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">exponents<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">multiplication<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">division<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">addition<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">subtraction<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]( \\ )[\/latex]<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]x^2[\/latex]<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]\\times \\ \\mathrm{or} \\ \\div[\/latex]<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]+ \\ \\mathrm{or} \\ -[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>To calculate the Sum of Squares (SS) follow the following steps (the best way to organize these calculations is in a table, there is an example below):<\/h2>\n<p>Step 1: Calculate the mean of the data set. To do this, sum all of the data values and divide by how many data values are in the set.<\/p>\n<p>Step 2: Analyze the data and see if any numbers appear more than once, if so, write down the frequency in which those numbers appear.<\/p>\n<p>Step 3: Calculate the difference between the data value and the sample mean for each of the data values, [latex](x- \\overline{x})[\/latex], data value &#8211; sample mean.<\/p>\n<p>Step 4: Square each of the differences you found in step 3.<\/p>\n<p>Step 5: Analyze the data and see if any numbers appear more than once, if they do, multiply the squared difference of that data value by its frequency.<\/p>\n<p>Step 6: Add all of the squared deviations, in order words, sum the squared deviations.<\/p>\n<\/div>\n<\/div>\n<div class=\"textbox examples\">\n<h3>Recall: Module 2 Example<\/h3>\n<p><strong>The scenario is as follows:<\/strong><\/p>\n<p>In a fifth grade class, the teacher was interested in the average age and the sample standard deviation of the ages of her students. The following data are the ages for a sample of [latex]n = 20[\/latex] fifth grade students. The ages are rounded to the nearest half year:<\/p>\n<p>[latex]\\displaystyle {9; 9.5; 9.5; 10; 10; 10; 10; 10.5; 10.5; 10.5; 10.5; 11; 11; 11; 11; 11; 11; 11.5; 11.5; 11.5;}[\/latex]<\/p>\n<p>The sample mean is calculated as:<\/p>\n<p>[latex]\\displaystyle\\overline{x} = \\frac{9+9.5(2)+10(4)+10.5(4)+11(6)+11.5(3)}{20}={10.525}[\/latex]<br \/>\nThe average age is [latex]10.53[\/latex]<\/p>\n<p>The sample mean age is [latex]10.53[\/latex] years, rounded to two places.<\/p>\n<p>The following table shows how to calculate the [latex]SS[\/latex] described above.<\/p>\n<table>\n<thead>\n<tr>\n<th>Data<\/th>\n<th>Freq.<\/th>\n<th>Deviations<\/th>\n<th>[latex]Deviations^2[\/latex]<\/th>\n<th>(Freq.)( [latex]Deviations^2[\/latex])<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>[latex]x[\/latex]<\/td>\n<td>[latex]f[\/latex]<\/td>\n<td>( [latex]x[\/latex] \u2013 [latex]\\displaystyle\\overline{x}[\/latex])<\/td>\n<td>( [latex]x[\/latex] \u2013[latex]\\displaystyle\\overline{x}[\/latex])<sup data-redactor-tag=\"sup\">2<\/sup><\/td>\n<td>( [latex]f[\/latex])([latex]x[\/latex] \u2013[latex]\\displaystyle\\overline{x}[\/latex])<sup data-redactor-tag=\"sup\">2<\/sup><\/td>\n<\/tr>\n<tr>\n<td>[latex]9[\/latex]<\/td>\n<td>[latex]1[\/latex]<\/td>\n<td>[latex]9 \u2013 10.525 = \u20131.525[\/latex]<\/td>\n<td>[latex](\u20131.525)^2 = 2.325625[\/latex]<\/td>\n<td>[latex]1 \u00d7 2.325625 = 2.325625[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]9.5[\/latex]<\/td>\n<td>[latex]2[\/latex]<\/td>\n<td>[latex]9.5 \u2013 10.525 = \u20131.025[\/latex]<\/td>\n<td>[latex](\u20131.025)^2 = 1.050625[\/latex]<\/td>\n<td>[latex]2 \u00d7 1.050625 = 2.101250[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]10[\/latex]<\/td>\n<td>[latex]4[\/latex]<\/td>\n<td>[latex]10 \u2013 10.525 = \u20130.525[\/latex]<\/td>\n<td>[latex](\u20130.525)^2 = 0.275625[\/latex]<\/td>\n<td>[latex]4 \u00d7 0.275625 = 1.1025[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]10.5[\/latex]<\/td>\n<td>[latex]4[\/latex]<\/td>\n<td>[latex]10.5 \u2013 10.525 = \u20130.025[\/latex]<\/td>\n<td>[latex](\u20130.025)^2 = 0.000625[\/latex]<\/td>\n<td>[latex]4 \u00d7 0.000625 = 0.0025[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]11[\/latex]<\/td>\n<td>[latex]6[\/latex]<\/td>\n<td>[latex]11 \u2013 10.525 = 0.475[\/latex]<\/td>\n<td>[latex](0.475)^2 = 0.225625[\/latex]<\/td>\n<td>[latex]6 \u00d7 0.225625 = 1.35375[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]11.5[\/latex]<\/td>\n<td>[latex]3[\/latex]<\/td>\n<td>[latex]11.5 \u2013 10.525 = 0.975[\/latex]<\/td>\n<td>[latex](0.975)^2 = 0.950625[\/latex]<\/td>\n<td>[latex]3 \u00d7 0.950625 = 2.851875[\/latex]<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>The total is [latex]9.7375[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[latex]SS[\/latex] is [latex]9.7375[\/latex].<\/p>\n<\/div>\n<p><em>MS<\/em> means &#8220;<strong>mean square<\/strong>.&#8221; <em>MS<\/em><sub>between<\/sub> is the variance between groups, and <em>MS<\/em><sub>within<\/sub> is the variance within groups.<\/p>\n<h2>Calculation of Sum of Squares and Mean Square<\/h2>\n<ul>\n<li><em>k<\/em> = the number of different groups<\/li>\n<li><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">nj<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = the size of the <\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">j<sup>\u00a0th<\/sup><\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> group<\/span><\/li>\n<li><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">sj<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = the sum of the values in the\u00a0<\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">j<sup>\u00a0th<\/sup><\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">\u00a0group<\/span><\/li>\n<li><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">n<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = total number of all the values combined (total sample size: [latex]\\sum[\/latex]<\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">n<sub data-redactor-tag=\"sub\">j<\/sub><\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">)<\/span><\/li>\n<li><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">x<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = one value: [latex]\\sum[\/latex]<\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">x<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = [latex]\\sum[\/latex]<\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">s<sub data-redactor-tag=\"sub\">j<\/sub><\/em><\/li>\n<li>Sum of squares of all values from every group combined:\u00a0<span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">[latex]\\sum[\/latex]<em>x<sup>2<\/sup><\/em><\/span><\/li>\n<li>Between group variability:\u00a0<em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">SS<\/em><sub style=\"orphans: 1; text-align: initial;\">total<\/sub><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = [latex]\\displaystyle\\sum{x}^{{2}}-\\frac{{{(\\sum{x})}^{{2}}}}{{n}}[\/latex]<\/span><\/li>\n<li>Total sum of squares: [latex]\\displaystyle\\sum{x}^{{2}}-\\frac{{{(\\sum{x})}^{{2}}}}{{n}}[\/latex]<\/li>\n<li>Explained variation: sum of squares representing variation among the different samples: [latex]\\displaystyle{S}{S}_{{\\text{between}}}=\\sum{[\\frac{{({s}{j})}^{{2}}}{{n}_{{j}}}]}-\\frac{{(\\sum{s}_{{j}})}^{{2}}}{{n}}[\/latex]<\/li>\n<li>Unexplained variation: sum of squares representing variation within samples due to chance: [latex]\\displaystyle{S}{S}_{{\\text{within}}}={S}{S}_{{\\text{total}}}-{S}{S}_{{\\text{between}}}[\/latex]<\/li>\n<li><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">df<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">&#8216;s for different groups (<\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">df<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">&#8216;s for the numerator): <\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">df<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> = <\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">k<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> \u2013 1<\/span><\/li>\n<li>Equation for errors within samples (<em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">df<\/em><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">&#8216;s for the denominator):\u00a0<\/span><em style=\"font-size: 1rem; orphans: 1;\">df<\/em><sub style=\"orphans: 1;\">within<\/sub><span style=\"font-size: 1rem; orphans: 1;\"> = <\/span><em style=\"font-size: 1rem; orphans: 1;\">n<\/em><span style=\"font-size: 1rem; orphans: 1;\"> \u2013 <\/span><em style=\"font-size: 1rem; orphans: 1;\">k<\/em><\/li>\n<li>Mean square (variance estimate) explained by the different groups: [latex]\\displaystyle{M}{S}_{{\\text{between}}}=\\frac{{{S}{S}_{{\\text{between}}}}}{{{d}{f}_{{\\text{between}}}}}[\/latex]<\/li>\n<li>Mean square (variance estimate) that is due to chance (unexplained): [latex]\\displaystyle{M}{S}_{{\\text{within}}}=\\frac{{{S}{S}_{{\\text{within}}}}}{{{d}{f}_{{\\text{within}}}}}[\/latex]<\/li>\n<\/ul>\n<p><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">MS<\/em><sub style=\"orphans: 1; text-align: initial;\">between<\/sub><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> and <\/span><em style=\"font-size: 1rem; orphans: 1; text-align: initial;\">MS<\/em><sub style=\"orphans: 1; text-align: initial;\">within<\/sub><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\"> can be written as follows:<\/span><\/p>\n<ul>\n<li>[latex]\\displaystyle{M}{S}_{{\\text{between}}}=\\frac{{{S}{S}_{{\\text{between}}}}}{{{d}{f}_{{\\text{between}}}}}=\\frac{{{S}{S}_{{\\text{between}}}}}{{{k}-{1}}}[\/latex]<\/li>\n<li>[latex]\\displaystyle{M}{S}_{{\\text{within}}}=\\frac{{{S}{S}_{{\\text{within}}}}}{{{d}{f}_{{\\text{within}}}}}=\\frac{{{S}{S}_{{\\text{within}}}}}{{{n}-{k}}}[\/latex]<\/li>\n<\/ul>\n<p>The one-way ANOVA test depends on the fact that\u00a0<em>MS<\/em><sub>between<\/sub> can be influenced by population differences among means of the several groups. Since <em>MS<\/em><sub>within<\/sub> compares values of each group to its own group mean, the fact that group means might be different does not affect <em>MS<\/em><sub>within<\/sub>.<\/p>\n<p>The null hypothesis says that all groups are samples from populations having the same normal distribution. The alternate hypothesis says that at least two of the sample groups come from populations with different normal distributions. If the null hypothesis is true,\u00a0<em>MS<\/em><sub>between<\/sub> and <em>MS<\/em><sub>within<\/sub> should both estimate the same value.<\/p>\n<h4>Note<\/h4>\n<p>The null hypothesis says that all the group population means are equal. The hypothesis of equal means implies that the populations have the same normal distribution because it is assumed that the populations are normal and that they have equal variances.<\/p>\n<h2>F-Ratio or F Statistic<\/h2>\n<p>[latex]\\displaystyle{F}=\\frac{{{M}{S}_{{\\text{between}}}}}{{{M}{S}_{{\\text{within}}}}}[\/latex]<\/p>\n<p>If\u00a0<em>MS<\/em><sub>between<\/sub> and <em>MS<\/em><sub>within<\/sub> estimate the same value (following the belief that <em>H0<\/em> is true), then the <em>F<\/em>-ratio should be approximately equal to one. Mostly, just sampling errors would contribute to variations away from one. As it turns out, <em>MS<\/em><sub>between<\/sub> consists of the population variance plus a variance produced from the differences between the samples. <em>MS<\/em><sub>within<\/sub> is an estimate of the population variance. Since variances are always positive, if the null hypothesis is false, <em>MS<\/em><sub>between<\/sub> will generally be larger than <em>MS<\/em><sub>within<\/sub>.Then the <em>F<\/em>-ratio will be larger than one. However, if the population effect is small, it is not unlikely that <em>MS<\/em><sub>within<\/sub> will be larger in a given sample.<\/p>\n<p>The foregoing calculations were done with groups of different sizes. If the groups are the same size, the calculations simplify somewhat and the\u00a0<em>F<\/em>-ratio can be written as:<\/p>\n<h3>F-Ratio Formula when the groups are the same size<\/h3>\n<p>[latex]F = {\\dfrac{n \\cdot {s_{\\overline x}}^{2}}{{s^2}_{pooled}}}[\/latex]<\/p>\n<p>where&#8230;<\/p>\n<ul>\n<li><em>n<\/em> = the sample size<\/li>\n<li><em>df<\/em><sub>numerator<\/sub> = <em>k<\/em> \u2013 1<\/li>\n<li><em>df<\/em><sub>denominator<\/sub> = <em>n<\/em> \u2013 <em>k<\/em><\/li>\n<li><em>s<\/em><sup>2<\/sup><sub>pooled<\/sub> = the mean of the sample variances (pooled variance)<\/li>\n<li>[latex]{s_{\\overline x}}^{2}[\/latex] = the variance of the sample means<\/li>\n<\/ul>\n<p>Data are typically put into a table for easy viewing. One-Way ANOVA results are often displayed in this manner by computer software.<\/p>\n<table style=\"border-collapse: collapse; width: 99.8908%;\">\n<thead>\n<tr>\n<th style=\"width: 16.4847%;\" scope=\"col\" data-align=\"center\">Source of Variation<\/th>\n<th style=\"width: 17.7948%;\" scope=\"col\" data-align=\"center\">Sum of Squares (<em data-effect=\"italics\">SS<\/em>)<\/th>\n<th style=\"width: 20.524%;\" scope=\"col\" data-align=\"center\">Degrees of Freedom (<em data-effect=\"italics\">df<\/em>)<\/th>\n<th style=\"width: 24.6725%;\" scope=\"col\" data-align=\"center\">Mean Square (<em data-effect=\"italics\">MS<\/em>)<\/th>\n<th style=\"width: 20.4148%;\" scope=\"col\" data-align=\"center\"><em data-effect=\"italics\">F<\/em><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 16.4847%;\" data-align=\"center\">Factor<span data-type=\"newline\"><br \/>\n<\/span>(Between)<\/td>\n<td style=\"width: 17.7948%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Factor)<\/td>\n<td style=\"width: 20.524%;\" data-align=\"center\"><em data-effect=\"italics\">k<\/em>\u00a0\u2013 1<\/td>\n<td style=\"width: 24.6725%;\" data-align=\"center\"><em data-effect=\"italics\">MS<\/em>(Factor) =\u00a0<em data-effect=\"italics\">SS<\/em>(Factor)\/(<em data-effect=\"italics\">k<\/em>\u00a0\u2013 1)<\/td>\n<td style=\"width: 20.4148%;\" data-align=\"center\"><em data-effect=\"italics\">F<\/em>\u00a0=\u00a0<em data-effect=\"italics\">MS<\/em>(Factor)\/<em data-effect=\"italics\">MS<\/em>(Error)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 16.4847%;\" data-align=\"center\">Error<span data-type=\"newline\"><br \/>\n<\/span>(Within)<\/td>\n<td style=\"width: 17.7948%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Error)<\/td>\n<td style=\"width: 20.524%;\" data-align=\"center\"><em data-effect=\"italics\">n<\/em>\u00a0\u2013\u00a0<em data-effect=\"italics\">k<\/em><\/td>\n<td style=\"width: 24.6725%;\" data-align=\"center\"><em data-effect=\"italics\">MS<\/em>(Error) =\u00a0<em data-effect=\"italics\">SS<\/em>(Error)\/(<em data-effect=\"italics\">n<\/em>\u00a0\u2013\u00a0<em data-effect=\"italics\">k<\/em>)<\/td>\n<td style=\"width: 20.4148%;\" data-align=\"center\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 16.4847%;\" data-align=\"center\">Total<\/td>\n<td style=\"width: 17.7948%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Total)<\/td>\n<td style=\"width: 20.524%;\" data-align=\"center\"><em data-effect=\"italics\">n<\/em>\u00a0\u2013 1<\/td>\n<td style=\"width: 24.6725%;\" data-align=\"center\"><\/td>\n<td style=\"width: 20.4148%;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"textbox exercises\">\n<h3>Example 1<\/h3>\n<p>Three different diet plans are to be tested for mean weight loss. The entries in the table are the weight losses for the different plans. The one-way ANOVA results are shown in the table here.<\/p>\n<table style=\"border-collapse: collapse; width: 99.8836%; height: 72px;\">\n<thead>\n<tr style=\"height: 12px;\">\n<th style=\"width: 33.2945%; height: 12px;\" scope=\"col\">Plan 1:\u00a0<em data-effect=\"italics\">n<\/em><sub>1<\/sub>\u00a0= 4<\/th>\n<th style=\"width: 33.2945%; height: 12px;\" scope=\"col\">Plan 2:\u00a0<em data-effect=\"italics\">n<\/em><sub>2<\/sub>\u00a0= 3<\/th>\n<th style=\"width: 33.2945%; height: 12px;\" scope=\"col\">Plan 3:\u00a0<em data-effect=\"italics\">n<\/em><sub>3<\/sub>\u00a0= 3<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 12px;\">\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">5<\/td>\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">3.5<\/td>\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">8<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">4.5<\/td>\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">7<\/td>\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">4<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">4<\/td>\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\"><\/td>\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">3.5<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">3<\/td>\n<td style=\"width: 33.2945%; height: 12px;\" data-align=\"center\">4.5<\/td>\n<td style=\"width: 33.2945%; height: 12px;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-size: 1rem; text-align: initial;\"><em>s<\/em><sub>1<\/sub> = 16.5, <em>s<\/em><sub>2<\/sub> =15, <em>s<\/em><sub>3<\/sub> = 15.5<\/span><\/p>\n<p><span style=\"font-size: 1rem; text-align: initial;\">Following are the calculations needed to fill in the one-way ANOVA table. The table is used to conduct a hypothesis test.<\/span><\/p>\n<p style=\"text-align: center;\">[latex]{SS}(between)=\\sum{\\left[\\dfrac{{{({s}_{j})}^{2}}}{{{n}_{j}}}\\right]}-\\dfrac{{(\\sum{{s}_{j})}^{2}}}{{n}}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]= {\\dfrac{s_1^2}{4}} + {\\dfrac{s_2^2}{3}} + {\\dfrac{s_3^2}{3}} - {\\dfrac{(s_1 + s_2 + s_3)^2}{10}}[\/latex]<\/p>\n<p>where\u00a0<em>n<\/em><sub>1<\/sub> = 4, <em>n<\/em><sub>2<\/sub> = 3, <em>n<\/em><sub>3<\/sub> = 3 and <em>n<\/em> = <em>n<\/em><sub>1<\/sub> + <em>n<\/em><sub>2<\/sub> + <em>n<\/em><sub>3<\/sub> = 10<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle=\\frac{{({16.5})^{2}}}{{4}}+\\frac{{({15})^{2}}}{{3}}+\\frac{{ ({5.5})^{2}}}{{3}}-\\frac{{ {({16.5}+{15}+{15.5})}^{2}}}{{10}}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]{SS}(between) = {2.2458}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]S(total) = \\sum{x}^{2}-\\dfrac{{{(\\sum{x})}^{2}}}{{n}}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle=\\left({5}^{2}+{4.5}^{2}+{4}^{2}+{3}^{2}+{3.5}^{2}+{7}^{2}+{4.5}^{2}+{8}^{2}+{4}^{2}+{3.5}^{2}\\right)[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle{-}\\frac{{{\\left({5}+{4.5}+{4}+{3}+{3.5}+{7}+{4.5}+{8}+{4}+{3.5}\\right)}^{2}}}{{10}}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle={244}-\\frac{{{47}^{2}}}{{10}}={244}-{220.9}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]SS(total) = 23.1[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]SS(within) = SS(total) - SS(between)[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]= 23.1 - 2.2458[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]SS(within) = 20.8542[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<header>\n<h2 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">USING THE TI-83, 83+, 84, 84+ CALCULATOR<\/span><\/h2>\n<\/header>\n<section>\n<div class=\"os-note-body\"><\/div>\n<\/section>\n<div id=\"fs-idp86961312\" class=\"statistics calculator ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<section>\n<div class=\"os-note-body\">\n<p id=\"eip-786\" class=\"\">One-Way ANOVA Table: The formulas for\u00a0<em data-effect=\"italics\">SS<\/em>(Total),\u00a0<em data-effect=\"italics\">SS<\/em>(Factor) =\u00a0<em data-effect=\"italics\">SS<\/em>(Between) and\u00a0<em data-effect=\"italics\">SS<\/em>(Error) =\u00a0<em data-effect=\"italics\">SS<\/em>(Within) as shown previously. The same information is provided by the TI calculator hypothesis test function ANOVA in STAT TESTS (syntax is ANOVA(L1, L2, L3) where L1, L2, L3 have the data from Plan 1, Plan 2, Plan 3 respectively).<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<table style=\"border-collapse: collapse; width: 99.8836%;\">\n<thead>\n<tr>\n<th style=\"width: 18.6263%;\" scope=\"col\" data-align=\"center\">Source of Variation<\/th>\n<th style=\"width: 20.1397%;\" scope=\"col\" data-align=\"center\">Sum of Squares (<em data-effect=\"italics\">SS<\/em>)<\/th>\n<th style=\"width: 23.1665%;\" scope=\"col\" data-align=\"center\">Degrees of Freedom (<em data-effect=\"italics\">df<\/em>)<\/th>\n<th style=\"width: 18.1607%;\" scope=\"col\" data-align=\"center\">Mean Square (<em data-effect=\"italics\">MS<\/em>)<\/th>\n<th style=\"width: 19.7905%;\" scope=\"col\" data-align=\"center\"><em data-effect=\"italics\">F<\/em><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 18.6263%;\" data-align=\"center\">Factor<span data-type=\"newline\"><br \/>\n<\/span>(Between)<\/td>\n<td style=\"width: 20.1397%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Factor)<span data-type=\"newline\"><br \/>\n<\/span>=\u00a0<em data-effect=\"italics\">SS<\/em>(Between)<span data-type=\"newline\"><br \/>\n<\/span>= 2.2458<\/td>\n<td style=\"width: 23.1665%;\" data-align=\"center\"><em data-effect=\"italics\">k<\/em>\u00a0\u2013 1<span data-type=\"newline\"><br \/>\n<\/span>= 3 groups \u2013 1<span data-type=\"newline\"><br \/>\n<\/span>= 2<\/td>\n<td style=\"width: 18.1607%;\" data-align=\"center\"><em data-effect=\"italics\">MS<\/em>(Factor)<span data-type=\"newline\"><br \/>\n<\/span>=\u00a0<em data-effect=\"italics\">SS<\/em>(Factor)\/(<em data-effect=\"italics\">k<\/em>\u00a0\u2013 1)<span data-type=\"newline\"><br \/>\n<\/span>= 2.2458\/2<span data-type=\"newline\"><br \/>\n<\/span>= 1.1229<\/td>\n<td style=\"width: 19.7905%;\" data-align=\"center\"><em data-effect=\"italics\">F<\/em>\u00a0=<span data-type=\"newline\"><br \/>\n<\/span><em data-effect=\"italics\">MS<\/em>(Factor)\/<em data-effect=\"italics\">MS<\/em>(Error)<span data-type=\"newline\"><br \/>\n<\/span>= 1.1229\/2.9792<span data-type=\"newline\"><br \/>\n<\/span>= 0.3769<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.6263%;\" data-align=\"center\">Error<span data-type=\"newline\"><br \/>\n<\/span>(Within)<\/td>\n<td style=\"width: 20.1397%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Error)<span data-type=\"newline\"><br \/>\n<\/span>=\u00a0<em data-effect=\"italics\">SS<\/em>(Within)<span data-type=\"newline\"><br \/>\n<\/span>= 20.8542<\/td>\n<td style=\"width: 23.1665%;\" data-align=\"center\"><em data-effect=\"italics\">n<\/em>\u00a0\u2013\u00a0<em data-effect=\"italics\">k<\/em><span data-type=\"newline\"><br \/>\n<\/span>= 10 total data \u2013 3 groups<span data-type=\"newline\"><br \/>\n<\/span>= 7<\/td>\n<td style=\"width: 18.1607%;\" data-align=\"center\"><em data-effect=\"italics\">MS<\/em>(Error)<span data-type=\"newline\"><br \/>\n<\/span>=\u00a0<em data-effect=\"italics\">SS<\/em>(Error)\/(<em data-effect=\"italics\">n<\/em>\u00a0\u2013\u00a0<em data-effect=\"italics\">k<\/em>)<span data-type=\"newline\"><br \/>\n<\/span>= 20.8542\/7<span data-type=\"newline\"><br \/>\n<\/span>= 2.9792<\/td>\n<td style=\"width: 19.7905%;\" data-align=\"center\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.6263%;\" data-align=\"center\">Total<\/td>\n<td style=\"width: 20.1397%;\" data-align=\"center\"><em data-effect=\"italics\">SS<\/em>(Total)<span data-type=\"newline\"><br \/>\n<\/span>= 2.2458 + 20.8542<span data-type=\"newline\"><br \/>\n<\/span>= 23.1<\/td>\n<td style=\"width: 23.1665%;\" data-align=\"center\"><em data-effect=\"italics\">n<\/em>\u00a0\u2013 1<span data-type=\"newline\"><br \/>\n<\/span>= 10 total data \u2013 1<span data-type=\"newline\"><br \/>\n<\/span>= 9<\/td>\n<td style=\"width: 18.1607%;\" data-align=\"center\"><\/td>\n<td style=\"width: 19.7905%;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try it 1<\/h3>\n<p>As part of an experiment to see how different types of soil cover would affect slicing tomato production, Marist College students grew tomato plants under different soil cover conditions. Groups of three plants each had one of the following treatments<\/p>\n<ul>\n<li>bare soil<\/li>\n<li>a commercial ground cover<\/li>\n<li>black plastic<\/li>\n<li>straw<\/li>\n<li>compost<\/li>\n<\/ul>\n<p>All plants grew under the same conditions and were of the same variety. Students recorded the weight (in grams) of tomatoes produced by each of the\u00a0<em>n<\/em> = 15 plants:<\/p>\n<table>\n<thead>\n<tr>\n<th>Bare:<br \/>\n<em>n<\/em>1 = 3<\/th>\n<th>Ground Cover:<br \/>\n<em>n<\/em>2 = 3<\/th>\n<th>Plastic:<br \/>\n<em>n<\/em>3 = 3<\/th>\n<th>Straw:<br \/>\n<em>n<\/em>4 = 3<\/th>\n<th>Compost:<br \/>\n<em>n<\/em>5 = 3<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>2,625<\/td>\n<td>5,348<\/td>\n<td>6,583<\/td>\n<td>7,285<\/td>\n<td>6,277<\/td>\n<\/tr>\n<tr>\n<td>2,997<\/td>\n<td>5,682<\/td>\n<td>8,560<\/td>\n<td>6,897<\/td>\n<td>7,818<\/td>\n<\/tr>\n<tr>\n<td>4,915<\/td>\n<td>5,482<\/td>\n<td>3,830<\/td>\n<td>9,230<\/td>\n<td>8,677<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Create the one-way ANOVA table.<\/p>\n<p>Enter the data into lists L1, L2, L3, L4, and L5. Press STAT and arrow over to TESTS. Arrow down to ANOVA. Press ENTER and enter L1, L2, L3, L4, L5). Press ENTER. The table was filled in with the results from the calculator.<\/p>\n<p>&nbsp;<\/p>\n<table style=\"border-collapse: collapse; width: 99.8837%; height: 48px;\">\n<thead>\n<tr>\n<th style=\"width: 19.9069%;\">Source of Variation<\/th>\n<th style=\"width: 20.0233%;\">Sum of Squares (<em>SS<\/em>)<\/th>\n<th style=\"width: 19.9069%;\">Degrees of Freedom (<em>df<\/em>)<\/th>\n<th style=\"width: 20.0233%;\">Mean Square (<em>MS<\/em>)<\/th>\n<th style=\"width: 20.0233%;\"><em>F<\/em><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 12px;\">\n<td style=\"width: 19.9069%; height: 12px;\">Factor (Between)<\/td>\n<td style=\"width: 20.0233%;\">36,648,561<\/td>\n<td style=\"width: 19.9069%;\">5 \u2013 1 = 4<\/td>\n<td style=\"width: 20.0233%;\">[latex]\\displaystyle\\frac{{{36},{648},{561}}}{{4}}={9},{162},{140}[\/latex]<\/td>\n<td style=\"width: 20.0233%;\">[latex]\\displaystyle\\frac{{{9},{162},{140}}}{{{2},{044},{672.6}}}={4.4810}[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"width: 19.9069%; height: 12px;\">Error (Within)<\/td>\n<td style=\"width: 20.0233%;\">20,446,726<\/td>\n<td style=\"width: 19.9069%;\">15 \u2013 5 = 10<\/td>\n<td style=\"width: 20.0233%;\">[latex]\\displaystyle\\frac{{{20},{446},{726}}}{{10}}={2},{044},{672.6}[\/latex]<\/td>\n<td style=\"width: 20.0233%; height: 12px;\"><\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"width: 19.9069%; height: 12px;\">Total<\/td>\n<td style=\"width: 20.0233%;\">57,095,287<\/td>\n<td style=\"width: 19.9069%;\">15 \u2013 1 = 14<\/td>\n<td style=\"width: 20.0233%;\"><\/td>\n<td style=\"width: 20.0233%; height: 12px;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>The <strong>one-way ANOVA hypothesis test is always right-tailed<\/strong> because larger\u00a0<em>F<\/em>-values are way out in the right tail of the <em>F<\/em>-distribution curve and tend to make us reject <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>.<\/p>\n<h2>Notation<\/h2>\n<p>The notation for the\u00a0<em>F<\/em> distribution is <em>F<\/em> ~ <em>F<\/em><sub><em data-redactor-tag=\"em\">df<\/em>(<em>num<\/em>),<em>df<\/em>(<em>denom<\/em>)<\/sub><\/p>\n<p>where\u00a0<em>df<\/em>(<em>num<\/em>) = <em>df<\/em><sub>between<\/sub> and <em>df<\/em>(<em>denom<\/em>) = <em>df<\/em><sub>within<\/sub><\/p>\n<p>The mean for the\u00a0<em>F<\/em> distribution is [latex]\\displaystyle\\mu=\\frac{{{d}{f}{(\\text{num})}}}{{{d}{f}{(\\text{denom})}-2}}[\/latex]<\/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-316\">\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>The F Distribution and the F-Ratio. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/13-2-the-f-distribution-and-the-f-ratio\">https:\/\/openstax.org\/books\/introductory-statistics\/pages\/13-2-the-f-distribution-and-the-f-ratio<\/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\">CC licensed content, Specific attribution<\/div><ul class=\"citation-list\"><li>Prealgebra. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/openstax.org\/books\/prealgebra\/pages\/1-introduction\">https:\/\/openstax.org\/books\/prealgebra\/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\/prealgebra\/pages\/1-introduction<\/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":10,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"The F Distribution and the F-Ratio\",\"author\":\"\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/13-2-the-f-distribution-and-the-f-ratio\",\"project\":\"Introductory Statistics\",\"license\":\"cc-by\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\"},{\"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\"},{\"type\":\"cc-attribution\",\"description\":\"Prealgebra\",\"author\":\"\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/books\/prealgebra\/pages\/1-introduction\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/prealgebra\/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-316","chapter","type-chapter","status-publish","hentry"],"part":313,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/316","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":37,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/316\/revisions"}],"predecessor-version":[{"id":4021,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/316\/revisions\/4021"}],"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\/316\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/media?parent=316"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapter-type?post=316"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/contributor?post=316"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/license?post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}