{"id":1164,"date":"2015-11-12T18:35:31","date_gmt":"2015-11-12T18:35:31","guid":{"rendered":"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/?post_type=chapter&#038;p=1164"},"modified":"2017-03-31T22:16:45","modified_gmt":"2017-03-31T22:16:45","slug":"use-a-linear-model-to-make-predictions","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/chapter\/use-a-linear-model-to-make-predictions\/","title":{"raw":"Use a linear model to make predictions","rendered":"Use a linear model to make predictions"},"content":{"raw":"<p id=\"fs-id1165137436049\">Once we determine that a set of data is linear using the correlation coefficient, we can use the regression line to make predictions. As we learned previously, a regression line is a line that is closest to the data in the scatter plot, which means that only one such line is a best fit for the data.<\/p>\r\n\r\n<div id=\"Example_02_04_06\" class=\"example\" data-type=\"example\">\r\n<div id=\"fs-id1165137571292\" class=\"exercise\" data-type=\"exercise\">\r\n<div id=\"fs-id1165135546014\" class=\"problem textbox shaded\" data-type=\"problem\">\r\n<h3 data-type=\"title\">Example 6: Using a Regression Line to Make Predictions<\/h3>\r\n<p id=\"fs-id1165135191292\">Gasoline consumption in the United States has been steadily increasing. Consumption data from 1994 to 2004 is shown in the table below.[footnote]<a href=\"http:\/\/www.bts.gov\/publications\/national_transportation_statistics\/2005\/html\/table_04_10.html\" target=\"_blank\">http:\/\/www.bts.gov\/publications\/national_transportation_statistics\/2005\/html\/table_04_10.html<\/a>[\/footnote] Determine whether the trend is linear, and if so, find a model for the data. Use the model to predict the consumption in 2008.<\/p>\r\n\r\n<table id=\"Table_02_04_03\" summary=\"Two rows and twelve columns. The first row is labeled, 'Year'. The second row is labeled is labeled, 'Consumption (billions of gallons)'. Reading the remaining rows as ordered pairs (i.e., (Year, Consumption), we have the following values: ('94, 113), ('95, 116), ('96, 118), ('97, 119), ('98, 123), ('99, 125), ('00, 126), ('01, 128), ('02, 131), ('03, 133), and ('04, 136).\"><tbody><tr><td><strong>Year<\/strong><\/td>\r\n<td>'94<\/td>\r\n<td>'95<\/td>\r\n<td>'96<\/td>\r\n<td>'97<\/td>\r\n<td>'98<\/td>\r\n<td>'99<\/td>\r\n<td>'00<\/td>\r\n<td>'01<\/td>\r\n<td>'02<\/td>\r\n<td>'03<\/td>\r\n<td>'04<\/td>\r\n<\/tr><tr><td><strong>Consumption (billions of gallons)<\/strong><\/td>\r\n<td>113<\/td>\r\n<td>116<\/td>\r\n<td>118<\/td>\r\n<td>119<\/td>\r\n<td>123<\/td>\r\n<td>125<\/td>\r\n<td>126<\/td>\r\n<td>128<\/td>\r\n<td>131<\/td>\r\n<td>133<\/td>\r\n<td>136<\/td>\r\n<\/tr><\/tbody><\/table>\r\nThe scatter plot of the data, including the least squares regression line, is shown in Figure 8.\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201207\/CNX_Precalc_Figure_02_04_0082.jpg\" alt=\"Scatter plot, showing the line of best fit. It is titled 'Gas Consumption VS Year'. The x-axis is  'Year After 1994', and the y-axis is 'Gas Consumption (billions of gallons)'.\" width=\"487\" height=\"384\" data-media-type=\"image\/jpg\"\/><b>Figure 8<\/b>[\/caption]\r\n\r\n<\/div>\r\n<div id=\"fs-id1165137605608\" class=\"solution textbox shaded\" data-type=\"solution\">\r\n<h3>Solution<\/h3>\r\n<p id=\"fs-id1165137767360\">We can introduce new input variable, <em>t<\/em>, representing years since 1994.<\/p>\r\n<p id=\"fs-id1165137552875\">The least squares regression equation is:<\/p>\r\n\r\n<div id=\"fs-id1165137694214\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]C\\left(t\\right)=113.318+2.209t[\/latex]<\/div>\r\n<p id=\"fs-id1165137767812\">Using technology, the correlation coefficient was calculated to be 0.9965, suggesting a very strong increasing linear trend.<\/p>\r\n<p id=\"fs-id1165137444077\">Using this to predict consumption in 2008 [latex]\\left(t=14\\right)[\/latex],<\/p>\r\n\r\n<div id=\"fs-id1165135435699\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}C\\left(14\\right)=113.318+2.209\\left(14\\right)\\hfill \\\\ \\text{ }=144.244\\hfill \\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165135207471\">The model predicts 144.244 billion gallons of gasoline consumption in 2008.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It 2<\/h3>\r\n<p id=\"fs-id1165137600643\">Use the model we created using technology in Example 6\u00a0to predict the gas consumption in 2011. Is this an interpolation or an extrapolation?<\/p>\r\n<a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-28\/\" target=\"_blank\">Solution<\/a>\r\n\r\n<\/div>","rendered":"<p id=\"fs-id1165137436049\">Once we determine that a set of data is linear using the correlation coefficient, we can use the regression line to make predictions. As we learned previously, a regression line is a line that is closest to the data in the scatter plot, which means that only one such line is a best fit for the data.<\/p>\n<div id=\"Example_02_04_06\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137571292\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165135546014\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 6: Using a Regression Line to Make Predictions<\/h3>\n<p id=\"fs-id1165135191292\">Gasoline consumption in the United States has been steadily increasing. Consumption data from 1994 to 2004 is shown in the table below.<a class=\"footnote\" title=\"http:\/\/www.bts.gov\/publications\/national_transportation_statistics\/2005\/html\/table_04_10.html\" id=\"return-footnote-1164-1\" href=\"#footnote-1164-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a> Determine whether the trend is linear, and if so, find a model for the data. Use the model to predict the consumption in 2008.<\/p>\n<table id=\"Table_02_04_03\" summary=\"Two rows and twelve columns. The first row is labeled, 'Year'. The second row is labeled is labeled, 'Consumption (billions of gallons)'. Reading the remaining rows as ordered pairs (i.e., (Year, Consumption), we have the following values: ('94, 113), ('95, 116), ('96, 118), ('97, 119), ('98, 123), ('99, 125), ('00, 126), ('01, 128), ('02, 131), ('03, 133), and ('04, 136).\">\n<tbody>\n<tr>\n<td><strong>Year<\/strong><\/td>\n<td>&#8217;94<\/td>\n<td>&#8217;95<\/td>\n<td>&#8217;96<\/td>\n<td>&#8217;97<\/td>\n<td>&#8217;98<\/td>\n<td>&#8217;99<\/td>\n<td>&#8217;00<\/td>\n<td>&#8217;01<\/td>\n<td>&#8217;02<\/td>\n<td>&#8217;03<\/td>\n<td>&#8217;04<\/td>\n<\/tr>\n<tr>\n<td><strong>Consumption (billions of gallons)<\/strong><\/td>\n<td>113<\/td>\n<td>116<\/td>\n<td>118<\/td>\n<td>119<\/td>\n<td>123<\/td>\n<td>125<\/td>\n<td>126<\/td>\n<td>128<\/td>\n<td>131<\/td>\n<td>133<\/td>\n<td>136<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The scatter plot of the data, including the least squares regression line, is shown in Figure 8.<\/p>\n<div style=\"width: 497px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201207\/CNX_Precalc_Figure_02_04_0082.jpg\" alt=\"Scatter plot, showing the line of best fit. It is titled 'Gas Consumption VS Year'. The x-axis is  'Year After 1994', and the y-axis is 'Gas Consumption (billions of gallons)'.\" width=\"487\" height=\"384\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 8<\/b><\/p>\n<\/div>\n<\/div>\n<div id=\"fs-id1165137605608\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165137767360\">We can introduce new input variable, <em>t<\/em>, representing years since 1994.<\/p>\n<p id=\"fs-id1165137552875\">The least squares regression equation is:<\/p>\n<div id=\"fs-id1165137694214\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]C\\left(t\\right)=113.318+2.209t[\/latex]<\/div>\n<p id=\"fs-id1165137767812\">Using technology, the correlation coefficient was calculated to be 0.9965, suggesting a very strong increasing linear trend.<\/p>\n<p id=\"fs-id1165137444077\">Using this to predict consumption in 2008 [latex]\\left(t=14\\right)[\/latex],<\/p>\n<div id=\"fs-id1165135435699\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}C\\left(14\\right)=113.318+2.209\\left(14\\right)\\hfill \\\\ \\text{ }=144.244\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165135207471\">The model predicts 144.244 billion gallons of gasoline consumption in 2008.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 2<\/h3>\n<p id=\"fs-id1165137600643\">Use the model we created using technology in Example 6\u00a0to predict the gas consumption in 2011. Is this an interpolation or an extrapolation?<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-28\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\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-1164\">\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>Precalculus. <strong>Authored by<\/strong>: Jay Abramson, et al.. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\">http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Download For Free at : http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.<\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section><hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-1164-1\"><a href=\"http:\/\/www.bts.gov\/publications\/national_transportation_statistics\/2005\/html\/table_04_10.html\" target=\"_blank\">http:\/\/www.bts.gov\/publications\/national_transportation_statistics\/2005\/html\/table_04_10.html<\/a> <a href=\"#return-footnote-1164-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":276,"menu_order":5,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Precalculus\",\"author\":\"Jay Abramson, et al.\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download For Free at : http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1164","chapter","type-chapter","status-publish","hentry"],"part":1151,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/users\/276"}],"version-history":[{"count":3,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1164\/revisions"}],"predecessor-version":[{"id":2875,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1164\/revisions\/2875"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/parts\/1151"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1164\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/media?parent=1164"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=1164"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/contributor?post=1164"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/license?post=1164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}