{"id":3210,"date":"2022-07-01T08:08:36","date_gmt":"2022-07-01T12:08:36","guid":{"rendered":"https:\/\/openbooks.macewan.ca\/rcommander\/?post_type=chapter&#038;p=3210"},"modified":"2025-05-07T18:11:15","modified_gmt":"2025-05-07T22:11:15","slug":"12-7-assignment-12","status":"publish","type":"chapter","link":"https:\/\/openbooks.macewan.ca\/introstats\/chapter\/12-7-assignment-12\/","title":{"raw":"12.7 Assignment 12","rendered":"12.7 Assignment 12"},"content":{"raw":"<h2 id=\"purposes\">Purposes<\/h2>\r\nThe following questions have two parts. The first part assesses your knowledge of identifying cases where one-way ANOVA should be used, explaining the main idea of one-way ANOVA, and conducting a one-way ANOVA F test based on the computer outputs. The second part assesses your skills in using R Commander to conduct a one-way ANOVA F test.\r\n<h2>Resources<\/h2>\r\n<a href=\"https:\/\/openbooks.macewan.ca\/rcommander\/wp-content\/uploads\/sites\/8\/2022\/07\/M12_Rent_ANOVA_Q5_FourColumnS.xlsx\">M12_Rent_ANOVA_Q5_FourColumnS.xlsx<\/a>\r\n\r\n<a href=\"https:\/\/openbooks.macewan.ca\/rcommander\/wp-content\/uploads\/sites\/8\/2022\/07\/M12_Salary_ANOVA_Q7.xlsx\">M12_Salary_ANOVA_Q7.xlsx<\/a>\r\n\r\n<a href=\"https:\/\/openbooks.macewan.ca\/rcommander\/wp-content\/uploads\/sites\/8\/2022\/07\/M12_Rent_ANOVA_Q6.xlsx\">M12_Rent_ANOVA_Q6.xlsx<\/a>\r\n<h2 id=\"instructions\">Instructions<\/h2>\r\n<h3><strong>Part A<\/strong><\/h3>\r\n<strong>Complete the following:<\/strong>\r\n<ol type=\"1\">\r\n \t<li>What does ANOVA stand for? (2 marks)<\/li>\r\n \t<li>When shall we use a one-way ANOVA F test? (2 marks)<\/li>\r\n \t<li>Suppose that a one-way ANOVA is being performed to compare the means of three populations and that the sample sizes are 10, 12, and 15. Determine the degrees of freedom for the <em>F<\/em> statistic. (2 marks)<\/li>\r\n \t<li>We stated earlier that a one-way ANOVA test is always right-tailed because the null hypothesis is rejected only when the test statistic, F, is too large. Why is the null hypothesis rejected only when F is too large? (3 marks)<\/li>\r\n \t<li>Fill in the missing entries in the following ANOVA table. (4 marks)\r\n<table class=\"aligncenter first-col-border\"><colgroup> <col style=\"width: 22%;\" \/> <col style=\"width: 11%;\" \/> <col style=\"width: 17%;\" \/> <col style=\"width: 25%;\" \/> <col style=\"width: 22%;\" \/> <\/colgroup>\r\n<thead>\r\n<tr class=\"header border-bottom\">\r\n<th scope=\"col\">Source<\/th>\r\n<th scope=\"col\"><em>df<\/em><\/th>\r\n<th scope=\"col\"><em>SS<\/em><\/th>\r\n<th scope=\"col\"><em>MS<\/em> = [latex]\\frac{SS}{df}[\/latex]<\/th>\r\n<th scope=\"col\">F-statistic<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<th scope=\"row\">Treatment<\/th>\r\n<td>2<\/td>\r\n<td>?<\/td>\r\n<td>21.652<\/td>\r\n<td>[latex]F_{o} = ?[\/latex]<\/td>\r\n<\/tr>\r\n<tr class=\"border-bottom\">\r\n<th scope=\"row\">Error<\/th>\r\n<td>?<\/td>\r\n<td>84.400<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\">Total<\/th>\r\n<td>14<\/td>\r\n<td>?<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/li>\r\n \t<li>The data on monthly rents, in dollars, for independent random samples of newly completed apartments in the four U.S. regions are presented in the following table. (See the spreadsheet <strong>M12_Rent_ANOVA_Q5_FourColumnS.xlsx<\/strong>)\r\n<table class=\"aligncenter\"><colgroup> <col style=\"width: 30%;\" \/> <col style=\"width: 26%;\" \/> <col style=\"width: 21%;\" \/> <col style=\"width: 21%;\" \/> <\/colgroup>\r\n<thead>\r\n<tr class=\"shaded\">\r\n<th><strong>Northeast<\/strong><\/th>\r\n<th><strong>Midwest<\/strong><\/th>\r\n<th><strong>South<\/strong><\/th>\r\n<th><strong>West<\/strong><\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr class=\"odd\">\r\n<td>1005<\/td>\r\n<td>870<\/td>\r\n<td>891<\/td>\r\n<td>1025<\/td>\r\n<\/tr>\r\n<tr class=\"even\">\r\n<td>898<\/td>\r\n<td>748<\/td>\r\n<td>630<\/td>\r\n<td>1012<\/td>\r\n<\/tr>\r\n<tr class=\"odd\">\r\n<td>948<\/td>\r\n<td>699<\/td>\r\n<td>861<\/td>\r\n<td>1090<\/td>\r\n<\/tr>\r\n<tr class=\"even\">\r\n<td>1181<\/td>\r\n<td>814<\/td>\r\n<td>1036<\/td>\r\n<td>926<\/td>\r\n<\/tr>\r\n<tr class=\"odd\">\r\n<td>1244<\/td>\r\n<td>721<\/td>\r\n<td><\/td>\r\n<td>1269<\/td>\r\n<\/tr>\r\n<tr class=\"even\">\r\n<td><\/td>\r\n<td>606<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<blockquote>Given the ANOVA table, test at a 5% significance level whether a difference exists in the mean rent of newly completed apartments in the four U.S. regions. (8 marks)<\/blockquote>\r\n<table class=\"aligncenter first-col-border\" style=\"width: 100%;\"><colgroup> <col style=\"width: 19%;\" \/> <col style=\"width: 10%;\" \/> <col style=\"width: 15%;\" \/> <col style=\"width: 20%;\" \/> <col style=\"width: 20%;\" \/> <col style=\"width: 14%;\" \/> <\/colgroup>\r\n<thead>\r\n<tr class=\"header border-bottom\">\r\n<th scope=\"col\">Source<\/th>\r\n<th scope=\"col\"><em>df<\/em><\/th>\r\n<th scope=\"col\"><em>SS<\/em><\/th>\r\n<th scope=\"col\"><em>MS<\/em> = [latex]\\frac{SS}{df}[\/latex]<\/th>\r\n<th scope=\"col\">F-statistic<\/th>\r\n<th scope=\"col\">P-value<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<th scope=\"row\">Region<\/th>\r\n<td>3<\/td>\r\n<td>400513<\/td>\r\n<td>133504<\/td>\r\n<td>[latex]F_{o} = 7.541[\/latex]<\/td>\r\n<td>0.0023<\/td>\r\n<\/tr>\r\n<tr class=\"border-bottom\">\r\n<th scope=\"row\">Error<\/th>\r\n<td>16<\/td>\r\n<td>283265<\/td>\r\n<td>17704<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\">Total<\/th>\r\n<td>19<\/td>\r\n<td>683778<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/li>\r\n \t<li>The following table gives the salaries (in thousand dollars) for computer science (CS) majors obtaining a bachelor's degree, a master's degree, or a Ph.D. (See the spreadsheet <strong>M12_Salary_ANOVA_Q7.xlsx<\/strong>)\r\n<table class=\"aligncenter\"><colgroup> <col style=\"width: 14%;\" \/> <col style=\"width: 23%;\" \/> <col style=\"width: 18%;\" \/> <col style=\"width: 14%;\" \/> <col style=\"width: 14%;\" \/> <col style=\"width: 14%;\" \/> <\/colgroup>\r\n<thead>\r\n<tr class=\"shaded\">\r\n<th><strong>Salary<\/strong><\/th>\r\n<th><strong>Degree<\/strong><\/th>\r\n<th><strong>Salary<\/strong><\/th>\r\n<th><strong>Degree<\/strong><\/th>\r\n<th><strong>Salary<\/strong><\/th>\r\n<th><strong>Degree<\/strong><\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr class=\"odd\">\r\n<td>50.8<\/td>\r\n<td>Bachelor\u2019s<\/td>\r\n<td>65.8<\/td>\r\n<td>Master\u2019s<\/td>\r\n<td>73.3<\/td>\r\n<td>Ph.D<\/td>\r\n<\/tr>\r\n<tr class=\"even\">\r\n<td>59.4<\/td>\r\n<td>Bachelor\u2019s<\/td>\r\n<td>57.5<\/td>\r\n<td>Master\u2019s<\/td>\r\n<td>65.7<\/td>\r\n<td>Ph.D<\/td>\r\n<\/tr>\r\n<tr class=\"odd\">\r\n<td>55.9<\/td>\r\n<td>Bachelor\u2019s<\/td>\r\n<td>66.9<\/td>\r\n<td>Master\u2019s<\/td>\r\n<td>71.7<\/td>\r\n<td>Ph.D<\/td>\r\n<\/tr>\r\n<tr class=\"even\">\r\n<td>45.1<\/td>\r\n<td>Bachelor\u2019s<\/td>\r\n<td>62.8<\/td>\r\n<td>Master\u2019s<\/td>\r\n<td>72.5<\/td>\r\n<td>Ph.D<\/td>\r\n<\/tr>\r\n<tr class=\"odd\">\r\n<td>54.1<\/td>\r\n<td>Bachelor\u2019s<\/td>\r\n<td>68.5<\/td>\r\n<td>Master\u2019s<\/td>\r\n<td>73.0<\/td>\r\n<td>Ph.D<\/td>\r\n<\/tr>\r\n<tr class=\"even\">\r\n<td>50.7<\/td>\r\n<td>Bachelor\u2019s<\/td>\r\n<td>69.3<\/td>\r\n<td>Master\u2019s<\/td>\r\n<td>67.2<\/td>\r\n<td>Ph.D<\/td>\r\n<\/tr>\r\n<tr class=\"odd\">\r\n<td>46.8<\/td>\r\n<td>Bachelor\u2019s<\/td>\r\n<td>61.5<\/td>\r\n<td>Master\u2019s<\/td>\r\n<td>67.5<\/td>\r\n<td>Ph.D<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<ol type=\"a\">\r\n \t<li>Fill in missing entries of the following ANOVA table. (4 marks)\r\n<table class=\"aligncenter first-col-border\" style=\"width: 100%; height: 60px;\"><colgroup> <col style=\"width: 18%;\" \/> <col style=\"width: 9%;\" \/> <col style=\"width: 14%;\" \/> <col style=\"width: 20%;\" \/> <col style=\"width: 18%;\" \/> <col style=\"width: 18%;\" \/> <\/colgroup>\r\n<thead>\r\n<tr class=\"header border-bottom\" style=\"height: 15px;\">\r\n<th style=\"height: 15px;\" scope=\"col\">Source<\/th>\r\n<th style=\"height: 15px;\" scope=\"col\"><em>df<\/em><\/th>\r\n<th style=\"height: 15px;\" scope=\"col\"><em>SS<\/em><\/th>\r\n<th style=\"height: 15px;\" scope=\"col\"><em>MS<\/em> = [latex]\\frac{SS}{df}[\/latex]<\/th>\r\n<th style=\"height: 15px;\" scope=\"col\">F-statistic<\/th>\r\n<th style=\"height: 15px;\" scope=\"col\">P-value<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr style=\"height: 15px;\">\r\n<th style=\"height: 15px;\" scope=\"row\">Degree<\/th>\r\n<td style=\"height: 15px;\">?<\/td>\r\n<td style=\"height: 15px;\">?<\/td>\r\n<td style=\"height: 15px;\">616.9<\/td>\r\n<td style=\"height: 15px;\">[latex]F_{o} = 34.62[\/latex]<\/td>\r\n<td style=\"height: 15px;\">&lt; 0.0001<\/td>\r\n<\/tr>\r\n<tr class=\"border-bottom\" style=\"height: 15px;\">\r\n<th style=\"height: 15px;\" scope=\"row\">Error<\/th>\r\n<td style=\"height: 15px;\">?<\/td>\r\n<td style=\"height: 15px;\">?<\/td>\r\n<td style=\"height: 15px;\">17.8<\/td>\r\n<td style=\"height: 15px;\"><\/td>\r\n<td style=\"height: 15px;\"><\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px;\">\r\n<th style=\"height: 15px;\" scope=\"row\">Total<\/th>\r\n<td style=\"height: 15px;\">20<\/td>\r\n<td style=\"height: 15px;\">1554.5<\/td>\r\n<td style=\"height: 15px;\"><\/td>\r\n<td style=\"height: 15px;\"><\/td>\r\n<td style=\"height: 15px;\"><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/li>\r\n \t<li>Test at the 1% significance level whether a difference exists in mean salary for computer science (CS) majors obtaining a bachelor's degree, a master's degree or a Ph.D. (8 marks)<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<h3><strong>Part B<\/strong><\/h3>\r\n<strong>Finish the following questions using R and R commander<\/strong>.\r\n<ol type=\"1\">\r\n \t<li>Refer to Question 6 in Part A. The data are provided in the file <strong>M12_Rent_ANOVA_Q6.xlsx<\/strong>. Import the data into R commander. Regenerate the ANOVA table in Question 6 in Part A. Make sure you copy and paste the computer output.\u00a0(3 marks)<\/li>\r\n \t<li>Refer to Question 7 in Part A. The data are provided in the file <strong>M12_Salary_ANOVA_Q7.xlsx<\/strong>. Import the data into R commander. Obtain the ANOVA table and compare it with Question 7 in Part A. Make sure you copy and paste the computer output. (4 marks)<\/li>\r\n<\/ol>","rendered":"<h2 id=\"purposes\">Purposes<\/h2>\n<p>The following questions have two parts. The first part assesses your knowledge of identifying cases where one-way ANOVA should be used, explaining the main idea of one-way ANOVA, and conducting a one-way ANOVA F test based on the computer outputs. The second part assesses your skills in using R Commander to conduct a one-way ANOVA F test.<\/p>\n<h2>Resources<\/h2>\n<p><a href=\"https:\/\/openbooks.macewan.ca\/rcommander\/wp-content\/uploads\/sites\/8\/2022\/07\/M12_Rent_ANOVA_Q5_FourColumnS.xlsx\">M12_Rent_ANOVA_Q5_FourColumnS.xlsx<\/a><\/p>\n<p><a href=\"https:\/\/openbooks.macewan.ca\/rcommander\/wp-content\/uploads\/sites\/8\/2022\/07\/M12_Salary_ANOVA_Q7.xlsx\">M12_Salary_ANOVA_Q7.xlsx<\/a><\/p>\n<p><a href=\"https:\/\/openbooks.macewan.ca\/rcommander\/wp-content\/uploads\/sites\/8\/2022\/07\/M12_Rent_ANOVA_Q6.xlsx\">M12_Rent_ANOVA_Q6.xlsx<\/a><\/p>\n<h2 id=\"instructions\">Instructions<\/h2>\n<h3><strong>Part A<\/strong><\/h3>\n<p><strong>Complete the following:<\/strong><\/p>\n<ol type=\"1\">\n<li>What does ANOVA stand for? (2 marks)<\/li>\n<li>When shall we use a one-way ANOVA F test? (2 marks)<\/li>\n<li>Suppose that a one-way ANOVA is being performed to compare the means of three populations and that the sample sizes are 10, 12, and 15. Determine the degrees of freedom for the <em>F<\/em> statistic. (2 marks)<\/li>\n<li>We stated earlier that a one-way ANOVA test is always right-tailed because the null hypothesis is rejected only when the test statistic, F, is too large. Why is the null hypothesis rejected only when F is too large? (3 marks)<\/li>\n<li>Fill in the missing entries in the following ANOVA table. (4 marks)<br \/>\n<table class=\"aligncenter first-col-border\">\n<colgroup>\n<col style=\"width: 22%;\" \/>\n<col style=\"width: 11%;\" \/>\n<col style=\"width: 17%;\" \/>\n<col style=\"width: 25%;\" \/>\n<col style=\"width: 22%;\" \/> <\/colgroup>\n<thead>\n<tr class=\"header border-bottom\">\n<th scope=\"col\">Source<\/th>\n<th scope=\"col\"><em>df<\/em><\/th>\n<th scope=\"col\"><em>SS<\/em><\/th>\n<th scope=\"col\"><em>MS<\/em> = [latex]\\frac{SS}{df}[\/latex]<\/th>\n<th scope=\"col\">F-statistic<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th scope=\"row\">Treatment<\/th>\n<td>2<\/td>\n<td>?<\/td>\n<td>21.652<\/td>\n<td>[latex]F_{o} = ?[\/latex]<\/td>\n<\/tr>\n<tr class=\"border-bottom\">\n<th scope=\"row\">Error<\/th>\n<td>?<\/td>\n<td>84.400<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Total<\/th>\n<td>14<\/td>\n<td>?<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>The data on monthly rents, in dollars, for independent random samples of newly completed apartments in the four U.S. regions are presented in the following table. (See the spreadsheet <strong>M12_Rent_ANOVA_Q5_FourColumnS.xlsx<\/strong>)<br \/>\n<table class=\"aligncenter\">\n<colgroup>\n<col style=\"width: 30%;\" \/>\n<col style=\"width: 26%;\" \/>\n<col style=\"width: 21%;\" \/>\n<col style=\"width: 21%;\" \/> <\/colgroup>\n<thead>\n<tr class=\"shaded\">\n<th><strong>Northeast<\/strong><\/th>\n<th><strong>Midwest<\/strong><\/th>\n<th><strong>South<\/strong><\/th>\n<th><strong>West<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"odd\">\n<td>1005<\/td>\n<td>870<\/td>\n<td>891<\/td>\n<td>1025<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>898<\/td>\n<td>748<\/td>\n<td>630<\/td>\n<td>1012<\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>948<\/td>\n<td>699<\/td>\n<td>861<\/td>\n<td>1090<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>1181<\/td>\n<td>814<\/td>\n<td>1036<\/td>\n<td>926<\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>1244<\/td>\n<td>721<\/td>\n<td><\/td>\n<td>1269<\/td>\n<\/tr>\n<tr class=\"even\">\n<td><\/td>\n<td>606<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<blockquote><p>Given the ANOVA table, test at a 5% significance level whether a difference exists in the mean rent of newly completed apartments in the four U.S. regions. (8 marks)<\/p><\/blockquote>\n<table class=\"aligncenter first-col-border\" style=\"width: 100%;\">\n<colgroup>\n<col style=\"width: 19%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 20%;\" \/>\n<col style=\"width: 20%;\" \/>\n<col style=\"width: 14%;\" \/> <\/colgroup>\n<thead>\n<tr class=\"header border-bottom\">\n<th scope=\"col\">Source<\/th>\n<th scope=\"col\"><em>df<\/em><\/th>\n<th scope=\"col\"><em>SS<\/em><\/th>\n<th scope=\"col\"><em>MS<\/em> = [latex]\\frac{SS}{df}[\/latex]<\/th>\n<th scope=\"col\">F-statistic<\/th>\n<th scope=\"col\">P-value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th scope=\"row\">Region<\/th>\n<td>3<\/td>\n<td>400513<\/td>\n<td>133504<\/td>\n<td>[latex]F_{o} = 7.541[\/latex]<\/td>\n<td>0.0023<\/td>\n<\/tr>\n<tr class=\"border-bottom\">\n<th scope=\"row\">Error<\/th>\n<td>16<\/td>\n<td>283265<\/td>\n<td>17704<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Total<\/th>\n<td>19<\/td>\n<td>683778<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>The following table gives the salaries (in thousand dollars) for computer science (CS) majors obtaining a bachelor&#8217;s degree, a master&#8217;s degree, or a Ph.D. (See the spreadsheet <strong>M12_Salary_ANOVA_Q7.xlsx<\/strong>)<br \/>\n<table class=\"aligncenter\">\n<colgroup>\n<col style=\"width: 14%;\" \/>\n<col style=\"width: 23%;\" \/>\n<col style=\"width: 18%;\" \/>\n<col style=\"width: 14%;\" \/>\n<col style=\"width: 14%;\" \/>\n<col style=\"width: 14%;\" \/> <\/colgroup>\n<thead>\n<tr class=\"shaded\">\n<th><strong>Salary<\/strong><\/th>\n<th><strong>Degree<\/strong><\/th>\n<th><strong>Salary<\/strong><\/th>\n<th><strong>Degree<\/strong><\/th>\n<th><strong>Salary<\/strong><\/th>\n<th><strong>Degree<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"odd\">\n<td>50.8<\/td>\n<td>Bachelor\u2019s<\/td>\n<td>65.8<\/td>\n<td>Master\u2019s<\/td>\n<td>73.3<\/td>\n<td>Ph.D<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>59.4<\/td>\n<td>Bachelor\u2019s<\/td>\n<td>57.5<\/td>\n<td>Master\u2019s<\/td>\n<td>65.7<\/td>\n<td>Ph.D<\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>55.9<\/td>\n<td>Bachelor\u2019s<\/td>\n<td>66.9<\/td>\n<td>Master\u2019s<\/td>\n<td>71.7<\/td>\n<td>Ph.D<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>45.1<\/td>\n<td>Bachelor\u2019s<\/td>\n<td>62.8<\/td>\n<td>Master\u2019s<\/td>\n<td>72.5<\/td>\n<td>Ph.D<\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>54.1<\/td>\n<td>Bachelor\u2019s<\/td>\n<td>68.5<\/td>\n<td>Master\u2019s<\/td>\n<td>73.0<\/td>\n<td>Ph.D<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>50.7<\/td>\n<td>Bachelor\u2019s<\/td>\n<td>69.3<\/td>\n<td>Master\u2019s<\/td>\n<td>67.2<\/td>\n<td>Ph.D<\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>46.8<\/td>\n<td>Bachelor\u2019s<\/td>\n<td>61.5<\/td>\n<td>Master\u2019s<\/td>\n<td>67.5<\/td>\n<td>Ph.D<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol type=\"a\">\n<li>Fill in missing entries of the following ANOVA table. (4 marks)<br \/>\n<table class=\"aligncenter first-col-border\" style=\"width: 100%; height: 60px;\">\n<colgroup>\n<col style=\"width: 18%;\" \/>\n<col style=\"width: 9%;\" \/>\n<col style=\"width: 14%;\" \/>\n<col style=\"width: 20%;\" \/>\n<col style=\"width: 18%;\" \/>\n<col style=\"width: 18%;\" \/> <\/colgroup>\n<thead>\n<tr class=\"header border-bottom\" style=\"height: 15px;\">\n<th style=\"height: 15px;\" scope=\"col\">Source<\/th>\n<th style=\"height: 15px;\" scope=\"col\"><em>df<\/em><\/th>\n<th style=\"height: 15px;\" scope=\"col\"><em>SS<\/em><\/th>\n<th style=\"height: 15px;\" scope=\"col\"><em>MS<\/em> = [latex]\\frac{SS}{df}[\/latex]<\/th>\n<th style=\"height: 15px;\" scope=\"col\">F-statistic<\/th>\n<th style=\"height: 15px;\" scope=\"col\">P-value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 15px;\">\n<th style=\"height: 15px;\" scope=\"row\">Degree<\/th>\n<td style=\"height: 15px;\">?<\/td>\n<td style=\"height: 15px;\">?<\/td>\n<td style=\"height: 15px;\">616.9<\/td>\n<td style=\"height: 15px;\">[latex]F_{o} = 34.62[\/latex]<\/td>\n<td style=\"height: 15px;\">&lt; 0.0001<\/td>\n<\/tr>\n<tr class=\"border-bottom\" style=\"height: 15px;\">\n<th style=\"height: 15px;\" scope=\"row\">Error<\/th>\n<td style=\"height: 15px;\">?<\/td>\n<td style=\"height: 15px;\">?<\/td>\n<td style=\"height: 15px;\">17.8<\/td>\n<td style=\"height: 15px;\"><\/td>\n<td style=\"height: 15px;\"><\/td>\n<\/tr>\n<tr style=\"height: 15px;\">\n<th style=\"height: 15px;\" scope=\"row\">Total<\/th>\n<td style=\"height: 15px;\">20<\/td>\n<td style=\"height: 15px;\">1554.5<\/td>\n<td style=\"height: 15px;\"><\/td>\n<td style=\"height: 15px;\"><\/td>\n<td style=\"height: 15px;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>Test at the 1% significance level whether a difference exists in mean salary for computer science (CS) majors obtaining a bachelor&#8217;s degree, a master&#8217;s degree or a Ph.D. (8 marks)<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h3><strong>Part B<\/strong><\/h3>\n<p><strong>Finish the following questions using R and R commander<\/strong>.<\/p>\n<ol type=\"1\">\n<li>Refer to Question 6 in Part A. The data are provided in the file <strong>M12_Rent_ANOVA_Q6.xlsx<\/strong>. Import the data into R commander. Regenerate the ANOVA table in Question 6 in Part A. Make sure you copy and paste the computer output.\u00a0(3 marks)<\/li>\n<li>Refer to Question 7 in Part A. The data are provided in the file <strong>M12_Salary_ANOVA_Q7.xlsx<\/strong>. Import the data into R commander. Obtain the ANOVA table and compare it with Question 7 in Part A. Make sure you copy and paste the computer output. (4 marks)<\/li>\n<\/ol>\n","protected":false},"author":19,"menu_order":7,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-3210","chapter","type-chapter","status-publish","hentry"],"part":1189,"_links":{"self":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/3210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/users\/19"}],"version-history":[{"count":18,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/3210\/revisions"}],"predecessor-version":[{"id":5528,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/3210\/revisions\/5528"}],"part":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/parts\/1189"}],"metadata":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/3210\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/media?parent=3210"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapter-type?post=3210"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/contributor?post=3210"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/license?post=3210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}