{"id":2875,"date":"2022-05-09T15:29:02","date_gmt":"2022-05-09T19:29:02","guid":{"rendered":"https:\/\/openbooks.macewan.ca\/rcommander\/?post_type=chapter&#038;p=2875"},"modified":"2024-01-29T12:29:36","modified_gmt":"2024-01-29T17:29:36","slug":"13-11-review-questions","status":"publish","type":"chapter","link":"https:\/\/openbooks.macewan.ca\/introstats\/chapter\/13-11-review-questions\/","title":{"raw":"13.11 Review Questions","rendered":"13.11 Review Questions"},"content":{"raw":"Researchers examined the controversial issue of the human vomeronasal organ regarding its structure, function, and identity. The following table shows the age of fetuses ([latex]x[\/latex]) in weeks and the length of crown-rump ([latex]y[\/latex]) in millimeters.\r\n<div class=\"center\">\r\n<table class=\"aligncenter first-col-border\">\r\n<tbody>\r\n<tr class=\"border-bottom\">\r\n<th class=\"border-right\" style=\"text-align: center;\" scope=\"row\">Age ([latex]x[\/latex])<\/th>\r\n<td style=\"text-align: center;\">10<\/td>\r\n<td style=\"text-align: center;\">10<\/td>\r\n<td style=\"text-align: center;\">13<\/td>\r\n<td style=\"text-align: center;\">13<\/td>\r\n<td style=\"text-align: center;\">18<\/td>\r\n<td style=\"text-align: center;\">19<\/td>\r\n<td style=\"text-align: center;\">19<\/td>\r\n<td style=\"text-align: center;\">23<\/td>\r\n<td style=\"text-align: center;\">25<\/td>\r\n<td style=\"text-align: center;\">28<\/td>\r\n<\/tr>\r\n<tr>\r\n<th class=\"border-right\" style=\"text-align: center;\" scope=\"row\">Length ([latex]y[\/latex])<\/th>\r\n<td style=\"text-align: center;\">66<\/td>\r\n<td style=\"text-align: center;\">66<\/td>\r\n<td style=\"text-align: center;\">108<\/td>\r\n<td style=\"text-align: center;\">106<\/td>\r\n<td style=\"text-align: center;\">161<\/td>\r\n<td style=\"text-align: center;\">166<\/td>\r\n<td style=\"text-align: center;\">177<\/td>\r\n<td style=\"text-align: center;\">228<\/td>\r\n<td style=\"text-align: center;\">235<\/td>\r\n<td style=\"text-align: center;\">280<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\nThe summaries of the data are given by [latex] n = 10, \\sum x_i = 178, \\sum x_i^2 = 3522, \\sum y_i = 1593, \\sum y_i^2 = 302027, \\sum x_iy_i = 32476. [\/latex]\r\n<ol type=\"a\">\r\n \t<li>Given the summaries of the data, find the least-squares regression equation.<\/li>\r\n \t<li>Graph the regression equation and the data points.<\/li>\r\n \t<li>Interpret the slope of the regression equation obtained in part (a) in the context of the study.<\/li>\r\n \t<li>Calculate [latex]r[\/latex], the correlation coefficient between [latex]y[\/latex] and [latex]x[\/latex]. Interpret the number.<\/li>\r\n \t<li>Calculate the coefficient of determination [latex]r^2[\/latex]. Interpret the number.<\/li>\r\n \t<li>Test at the 1% significant level whether the age of fetuses is a useful predictor for the length of the crown-rump. You could use [latex]s_e = 5.518.[\/latex]<\/li>\r\n \t<li>Predict the crown-rump length of a 19-week-old fetus.<\/li>\r\n \t<li>What is the residual for the last observation with response [latex]y = 280[\/latex] and [latex]x = 28[\/latex]?<\/li>\r\n<\/ol>\r\n<details><summary>Show\/Hide Answer<\/summary>\r\n<ol type=\"a\">\r\n \t<li>[latex]\\begin{align*} S_{xx}&amp;=\\sum x_i^2-\\frac{(\\sum x_i)^2}{n} = 3522-\\frac{(178)^2}{10} =353.6; \\\\\r\nS_{xy}&amp;=\\sum x_iy_i-\\frac{(\\sum x_i)(\\sum y_i)}{n} =32476- \\frac{(178)(1593)}{10}=4120.6; \\\\\r\nS_{yy}&amp;=\\sum y_i^2-\\frac{(\\sum y_i)^2}{n} = 302027- \\frac{(1593)^2}{10} = 48262.1; \\\\\r\nb_1&amp;=\\frac{S_{xy}}{S_{xx}}=\\frac{4120.6}{353.6}=11.65328;\\\\ b_0&amp;=\\frac{\\sum y_i}{n}-b_1\\times \\frac{\\sum x_i}{n}=\\frac{1593}{10}-11.65328\\times \\frac{178}{10}=-48.12838. \\end{align*}[\/latex]\r\nTherefore, the least-squares regression equation [latex]\\hat y=b_0+b_1 x=-48.12838+11.65328x[\/latex] or [latex]\\widehat {length}=-48.12838+11.65328age[\/latex].<\/li>\r\n \t<li>Left as an exercise for the reader.<\/li>\r\n \t<li>The slope is [latex]b_1=11.65328[\/latex].\r\nInterpretation: The average length of the crown rump increases by 11.65328 millimeters when the age of the fetus increases by 1 week. In other words, for each week the fetus ages, the expected increase in crown-rump length is 11.65328 mm.<\/li>\r\n \t<li>The correlation coefficient [latex]r[\/latex] is given by [latex]r=\\frac{S_{xy}}{\\sqrt{S_{xx}S_{yy}}}=\\frac{4120.6}{\\sqrt{(353.6)(48262.1)}}=0.9974732.[\/latex]\r\nInterpretation: there is a very strong, positive, linear association between the length of crown-rump [latex](y)[\/latex] and the age [latex](x)[\/latex] of the fetus.<\/li>\r\n \t<li>The coefficient of determination is [latex]r^2=0.9974732^2=0.9949528.[\/latex]\r\nInterpretation: 99.50% of the variation in the length of the crown rump is due to the age of the fetus. Or 99.50% of the variation in the length of crown-rump can be explained by the age of the fetus through the fitted regression line [latex]\\hat y=b_0+b_1 x=-48.12838+11.65328x.[\/latex]<\/li>\r\n \t<li>We assume all assumptions for inference on simple linear regression are satisfied.\r\nStep 1: Hypotheses. [latex]H_0: \\beta_1=0[\/latex] versus [latex]H_a: \\beta_1\\ne 0.[\/latex]\r\nStep 2: Significance level [latex]\\alpha=0.01.[\/latex]\r\nStep 3: Test statistic [latex]t_o=\\frac{b_1}{(\\frac{s_e}{\\sqrt{S_{xx}}})}=\\frac{11.65328}{(\\frac{5.518}{\\sqrt{353.6}})}=39.71208[\/latex] with [latex]df=n-2=10-2=8.[\/latex]\r\nStep 4: P-value. It is a two-tailed test, [latex]\\text{p-value}= 2P(t\\ge |t_o|)=2P(t\\ge 39.71208)&lt;2\\times 0.0005=0.001.[\/latex]\r\nStep 5: Decision. We reject [latex]H_0[\/latex] since [latex]\\text{p-value}&lt;0.001&lt;0.01(\\alpha).[\/latex]\r\nStep 6: Conclusion. At the 1% significant level, we have sufficient evidence that the age of fetuses is a useful predictor for the crown-rump length.<\/li>\r\n \t<li>[latex]\\hat y=b_0+b_1 x=-48.12838+11.65328x=-48.12838+11.65328\\times 19=173.2839[\/latex]\r\nThe predicted crown-rump length of a 19-week-old fetus is 173.2839 mm.<\/li>\r\n \t<li>Residual [latex]e=y-\\hat y=y-(b_0+b_1x)=280-(-48.12838+11.65328\\times 28)=280-278.1635=1.8365.[\/latex]<\/li>\r\n<\/ol>\r\n&nbsp;\r\n\r\n<\/details>","rendered":"<p>Researchers examined the controversial issue of the human vomeronasal organ regarding its structure, function, and identity. The following table shows the age of fetuses ([latex]x[\/latex]) in weeks and the length of crown-rump ([latex]y[\/latex]) in millimeters.<\/p>\n<div class=\"center\">\n<table class=\"aligncenter first-col-border\">\n<tbody>\n<tr class=\"border-bottom\">\n<th class=\"border-right\" style=\"text-align: center;\" scope=\"row\">Age ([latex]x[\/latex])<\/th>\n<td style=\"text-align: center;\">10<\/td>\n<td style=\"text-align: center;\">10<\/td>\n<td style=\"text-align: center;\">13<\/td>\n<td style=\"text-align: center;\">13<\/td>\n<td style=\"text-align: center;\">18<\/td>\n<td style=\"text-align: center;\">19<\/td>\n<td style=\"text-align: center;\">19<\/td>\n<td style=\"text-align: center;\">23<\/td>\n<td style=\"text-align: center;\">25<\/td>\n<td style=\"text-align: center;\">28<\/td>\n<\/tr>\n<tr>\n<th class=\"border-right\" style=\"text-align: center;\" scope=\"row\">Length ([latex]y[\/latex])<\/th>\n<td style=\"text-align: center;\">66<\/td>\n<td style=\"text-align: center;\">66<\/td>\n<td style=\"text-align: center;\">108<\/td>\n<td style=\"text-align: center;\">106<\/td>\n<td style=\"text-align: center;\">161<\/td>\n<td style=\"text-align: center;\">166<\/td>\n<td style=\"text-align: center;\">177<\/td>\n<td style=\"text-align: center;\">228<\/td>\n<td style=\"text-align: center;\">235<\/td>\n<td style=\"text-align: center;\">280<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>The summaries of the data are given by [latex]n = 10, \\sum x_i = 178, \\sum x_i^2 = 3522, \\sum y_i = 1593, \\sum y_i^2 = 302027, \\sum x_iy_i = 32476.[\/latex]<\/p>\n<ol type=\"a\">\n<li>Given the summaries of the data, find the least-squares regression equation.<\/li>\n<li>Graph the regression equation and the data points.<\/li>\n<li>Interpret the slope of the regression equation obtained in part (a) in the context of the study.<\/li>\n<li>Calculate [latex]r[\/latex], the correlation coefficient between [latex]y[\/latex] and [latex]x[\/latex]. Interpret the number.<\/li>\n<li>Calculate the coefficient of determination [latex]r^2[\/latex]. Interpret the number.<\/li>\n<li>Test at the 1% significant level whether the age of fetuses is a useful predictor for the length of the crown-rump. You could use [latex]s_e = 5.518.[\/latex]<\/li>\n<li>Predict the crown-rump length of a 19-week-old fetus.<\/li>\n<li>What is the residual for the last observation with response [latex]y = 280[\/latex] and [latex]x = 28[\/latex]?<\/li>\n<\/ol>\n<details>\n<summary>Show\/Hide Answer<\/summary>\n<ol type=\"a\">\n<li>[latex]\\begin{align*} S_{xx}&=\\sum x_i^2-\\frac{(\\sum x_i)^2}{n} = 3522-\\frac{(178)^2}{10} =353.6; \\\\  S_{xy}&=\\sum x_iy_i-\\frac{(\\sum x_i)(\\sum y_i)}{n} =32476- \\frac{(178)(1593)}{10}=4120.6; \\\\  S_{yy}&=\\sum y_i^2-\\frac{(\\sum y_i)^2}{n} = 302027- \\frac{(1593)^2}{10} = 48262.1; \\\\  b_1&=\\frac{S_{xy}}{S_{xx}}=\\frac{4120.6}{353.6}=11.65328;\\\\ b_0&=\\frac{\\sum y_i}{n}-b_1\\times \\frac{\\sum x_i}{n}=\\frac{1593}{10}-11.65328\\times \\frac{178}{10}=-48.12838. \\end{align*}[\/latex]<br \/>\nTherefore, the least-squares regression equation [latex]\\hat y=b_0+b_1 x=-48.12838+11.65328x[\/latex] or [latex]\\widehat {length}=-48.12838+11.65328age[\/latex].<\/li>\n<li>Left as an exercise for the reader.<\/li>\n<li>The slope is [latex]b_1=11.65328[\/latex].<br \/>\nInterpretation: The average length of the crown rump increases by 11.65328 millimeters when the age of the fetus increases by 1 week. In other words, for each week the fetus ages, the expected increase in crown-rump length is 11.65328 mm.<\/li>\n<li>The correlation coefficient [latex]r[\/latex] is given by [latex]r=\\frac{S_{xy}}{\\sqrt{S_{xx}S_{yy}}}=\\frac{4120.6}{\\sqrt{(353.6)(48262.1)}}=0.9974732.[\/latex]<br \/>\nInterpretation: there is a very strong, positive, linear association between the length of crown-rump [latex](y)[\/latex] and the age [latex](x)[\/latex] of the fetus.<\/li>\n<li>The coefficient of determination is [latex]r^2=0.9974732^2=0.9949528.[\/latex]<br \/>\nInterpretation: 99.50% of the variation in the length of the crown rump is due to the age of the fetus. Or 99.50% of the variation in the length of crown-rump can be explained by the age of the fetus through the fitted regression line [latex]\\hat y=b_0+b_1 x=-48.12838+11.65328x.[\/latex]<\/li>\n<li>We assume all assumptions for inference on simple linear regression are satisfied.<br \/>\nStep 1: Hypotheses. [latex]H_0: \\beta_1=0[\/latex] versus [latex]H_a: \\beta_1\\ne 0.[\/latex]<br \/>\nStep 2: Significance level [latex]\\alpha=0.01.[\/latex]<br \/>\nStep 3: Test statistic [latex]t_o=\\frac{b_1}{(\\frac{s_e}{\\sqrt{S_{xx}}})}=\\frac{11.65328}{(\\frac{5.518}{\\sqrt{353.6}})}=39.71208[\/latex] with [latex]df=n-2=10-2=8.[\/latex]<br \/>\nStep 4: P-value. It is a two-tailed test, [latex]\\text{p-value}= 2P(t\\ge |t_o|)=2P(t\\ge 39.71208)<2\\times 0.0005=0.001.[\/latex]\nStep 5: Decision. We reject [latex]H_0[\/latex] since [latex]\\text{p-value}<0.001<0.01(\\alpha).[\/latex]\nStep 6: Conclusion. At the 1% significant level, we have sufficient evidence that the age of fetuses is a useful predictor for the crown-rump length.<\/li>\n<li>[latex]\\hat y=b_0+b_1 x=-48.12838+11.65328x=-48.12838+11.65328\\times 19=173.2839[\/latex]<br \/>\nThe predicted crown-rump length of a 19-week-old fetus is 173.2839 mm.<\/li>\n<li>Residual [latex]e=y-\\hat y=y-(b_0+b_1x)=280-(-48.12838+11.65328\\times 28)=280-278.1635=1.8365.[\/latex]<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<\/details>\n","protected":false},"author":19,"menu_order":11,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-2875","chapter","type-chapter","status-publish","hentry"],"part":1246,"_links":{"self":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2875","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":63,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2875\/revisions"}],"predecessor-version":[{"id":5184,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2875\/revisions\/5184"}],"part":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/parts\/1246"}],"metadata":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2875\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/media?parent=2875"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapter-type?post=2875"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/contributor?post=2875"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/license?post=2875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}