{"id":105,"date":"2021-01-12T22:19:50","date_gmt":"2021-01-12T22:19:50","guid":{"rendered":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/scatter-plots\/"},"modified":"2023-04-19T20:29:56","modified_gmt":"2023-04-19T20:29:56","slug":"scatter-plots","status":"publish","type":"chapter","link":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/scatter-plots\/","title":{"rendered":"Scatter Plots"},"content":{"raw":"<span style=\"display: none;\">\r\n[latexpage]\r\n<\/span>\r\n<div id=\"44891352-21cf-454b-b803-1cd2ffc828a4\" class=\"chapter-content-module\" data-type=\"page\" data-cnxml-to-html-ver=\"2.1.0\">\r\n<p id=\"delete_me\">Before we take up the discussion of linear regression and correlation, we need to examine a way to display the relation between two variables <em data-effect=\"italics\">x<\/em> and <em data-effect=\"italics\">y<\/em>. The most common and easiest way is a <strong>scatter plot<\/strong>. The following example illustrates a scatter plot.<\/p>\r\n\r\n<div id=\"element-777\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">12.5<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<p id=\"element-622\">In Europe and Asia, m-commerce is popular. M-commerce users have special mobile phones that work like electronic wallets as well as provide phone and Internet services. Users can do everything from paying for parking to buying a TV set or soda from a machine to banking to checking sports scores on the Internet. For the years 2000 through 2004, was\r\nthere a relationship between the year and the number of m-commerce users? Construct a scatter plot. Let <em data-effect=\"italics\">x<\/em> = the year and let <em data-effect=\"italics\">y<\/em> = the number of m-commerce users, in millions.<\/p>\r\n\r\n<div id=\"linrgs_scater1\" class=\"os-table \">\r\n<table summary=\"Table 12.1 \" data-id=\"linrgs_scater1\"><caption>Table showing the number of m-commerce users (in millions) by year.<\/caption>\r\n<thead>\r\n<tr>\r\n<th scope=\"col\">$x$ (year)<\/th>\r\n<th scope=\"col\">$y$ (# of users)<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>2000<\/td>\r\n<td>0.5<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2002<\/td>\r\n<td>20.0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2003<\/td>\r\n<td>33.0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2004<\/td>\r\n<td>47.0<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">12.1<\/span><\/div>\r\n<\/div>\r\n<div id=\"linrgs_scater12\" class=\"os-figure\">\r\n<figure data-id=\"linrgs_scater12\"><span id=\"id1171452159644\" data-type=\"media\" data-alt=\"This is a scatter plot for the data provided. The x-axis represents the year and the y-axis represents the number of m-commerce users in millions. There are four points plotted, at (2000, 0.5), (2002, 20.0), (2003, 33.0), (2004, 47.0).\"><img class=\"alignnone size-full wp-image-584\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/d663df2918f84749b9d6e2700a905415c10a8a20.jpg\" alt=\"This is a scatter plot for the data provided. The x-axis represents the year and the y-axis represents the number of m-commerce users in millions. There are four points plotted, at (2000, 0.5), (2002, 20.0), (2003, 33.0), (2004, 47.0).\" width=\"487\" height=\"323\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.5<\/span> <span class=\"os-caption\">Scatter plot showing the number of m-commerce users (in millions) by year.<\/span><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idm16826784\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">12.5<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-339\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-740\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-489\">Amelia plays basketball for her high school. She wants to improve to play at the college level. She notices that the number of points she scores in a game goes up in response to the number of hours she practices her jump shot each week. She records the following data:<\/p>\r\n\r\n<div id=\"eip-idp1116432\" class=\"os-table \">\r\n<table summary=\"Table 12.2 \" data-id=\"eip-idp1116432\">\r\n<thead>\r\n<tr>\r\n<th scope=\"col\"><em data-effect=\"italics\">X<\/em> (hours practicing jump shot)<\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">Y<\/em> (points scored in a game)<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>5<\/td>\r\n<td>15<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>7<\/td>\r\n<td>22<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>9<\/td>\r\n<td>28<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>10<\/td>\r\n<td>31<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>11<\/td>\r\n<td>33<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>12<\/td>\r\n<td>36<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">12.2<\/span><\/div>\r\n<\/div>\r\n<p id=\"eip-idm36661536\">Construct a scatter plot and state if what Amelia thinks appears to be true.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<p id=\"element-83\">A scatter plot shows the <strong>direction<\/strong> of a relationship between the variables. A clear direction happens when there is either:<\/p>\r\n\r\n<ul id=\"list1\">\r\n \t<li>High values of one variable occurring with high values of the other variable or low values of one variable occurring with low values of the other variable.<\/li>\r\n \t<li>High values of one variable occurring with low values of the other variable.<\/li>\r\n<\/ul>\r\n<p id=\"element-674\">You can determine the <strong data-effect=\"bold\">strength<\/strong> of the relationship by looking at the scatter plot and seeing how close the points are to a line, a power function, an exponential function,\r\nor to some other type of function. For a linear relationship there is an exception. Consider a scatter plot where all the points fall on a horizontal line providing a \"perfect fit.\" The horizontal line would in fact show no relationship.<\/p>\r\n<p id=\"element-708\">When you look at a scatterplot, you want to notice the <strong>overall pattern<\/strong> and any <strong>deviations<\/strong> from the pattern. The following scatterplot examples illustrate these concepts.<\/p>\r\n\r\n<div id=\"lingrgs10\" class=\"os-figure\">\r\n<figure data-id=\"lingrgs10\"><span id=\"id1171450550347\" data-type=\"media\" data-alt=\"The first graph is a scatter plot with 6 points plotted. The points form a pattern that moves upward to the right, almost in a straight line. The second graph is a scatter plot with the same 6 points as the first graph. A 7th point is plotted in the top left corner of the quadrant. It falls outside the general pattern set by the other 6 points.\"><img class=\"alignnone size-full wp-image-586\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/8a9a215df5f5bba8343f5fb4062e86014afb98ba.jpg\" alt=\"The first graph is a scatter plot with 6 points plotted. The points form a pattern that moves upward to the right, almost in a straight line. The second graph is a scatter plot with the same 6 points as the first graph. A 7th point is plotted in the top left corner of the quadrant. It falls outside the general pattern set by the other 6 points.\" width=\"731\" height=\"250\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.6<\/span><\/div>\r\n<\/div>\r\n<div id=\"lingrgs20\" class=\"os-figure\">\r\n<figure data-id=\"lingrgs20\"><span id=\"id1171453496318\" data-type=\"media\" data-alt=\"The first graph is a scatter plot with 6 points plotted. The points form a pattern that moves downward to the right, almost in a straight line. The second graph is a scatter plot of 8 points. These points form a general downward pattern, but the point do not align in a tight pattern.\"><img class=\"alignnone size-full wp-image-587\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4103f33f9b0281d0681324f3f731639f7b88f9cf.jpg\" alt=\"The first graph is a scatter plot with 6 points plotted. The points form a pattern that moves downward to the right, almost in a straight line. The second graph is a scatter plot of 8 points. These points form a general downward pattern, but the point do not align in a tight pattern.\" width=\"731\" height=\"250\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.7<\/span><\/div>\r\n<\/div>\r\n<div id=\"lingrgs30\" class=\"os-figure\">\r\n<figure data-id=\"lingrgs30\"><span id=\"id1171454842074\" data-type=\"media\" data-alt=\"The first graph is a scatter plot of 7 points in an exponential pattern. The pattern of the points begins along the x-axis and curves steeply upward to the right side of the quadrant. The second graph shows a scatter plot with many points scattered everywhere, exhibiting no pattern.\">\r\n<img class=\"alignnone size-full wp-image-588\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4f16ab3a180645fe110f56e827a61ce73bcc8404.jpg\" alt=\"The first graph is a scatter plot of 7 points in an exponential pattern. The pattern of the points begins along the x-axis and curves steeply upward to the right side of the quadrant. The second graph shows a scatter plot with many points scattered everywhere, exhibiting no pattern.\" width=\"731\" height=\"250\" \/>\r\n<\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.8<\/span><\/div>\r\n<\/div>\r\n<p id=\"element-243\">In this chapter, we are interested in scatter plots that show a linear pattern. Linear patterns are quite common. The linear relationship is strong if the points are close to a straight line, except in the case of a horizontal line where there is no relationship. If we think that the points show a linear relationship, we would like to draw a line on the scatter plot. This line can be calculated through a process called <span id=\"term216\" data-type=\"term\">linear regression<\/span>. However, we only calculate a regression line if one of the variables helps to explain or predict the other variable. If <em data-effect=\"italics\">x<\/em> is the independent variable and <em data-effect=\"italics\">y<\/em> the dependent variable,\r\nthen we can use a regression line to predict <em data-effect=\"italics\">y<\/em> for a given value of <em data-effect=\"italics\">x<\/em><\/p>\r\n\r\n<\/div>","rendered":"<p><span style=\"display: none;\"><br \/>\n[latexpage]<br \/>\n<\/span><\/p>\n<div id=\"44891352-21cf-454b-b803-1cd2ffc828a4\" class=\"chapter-content-module\" data-type=\"page\" data-cnxml-to-html-ver=\"2.1.0\">\n<p id=\"delete_me\">Before we take up the discussion of linear regression and correlation, we need to examine a way to display the relation between two variables <em data-effect=\"italics\">x<\/em> and <em data-effect=\"italics\">y<\/em>. The most common and easiest way is a <strong>scatter plot<\/strong>. The following example illustrates a scatter plot.<\/p>\n<div id=\"element-777\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">12.5<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p id=\"element-622\">In Europe and Asia, m-commerce is popular. M-commerce users have special mobile phones that work like electronic wallets as well as provide phone and Internet services. Users can do everything from paying for parking to buying a TV set or soda from a machine to banking to checking sports scores on the Internet. For the years 2000 through 2004, was<br \/>\nthere a relationship between the year and the number of m-commerce users? Construct a scatter plot. Let <em data-effect=\"italics\">x<\/em> = the year and let <em data-effect=\"italics\">y<\/em> = the number of m-commerce users, in millions.<\/p>\n<div id=\"linrgs_scater1\" class=\"os-table\">\n<table summary=\"Table 12.1\" data-id=\"linrgs_scater1\">\n<caption>Table showing the number of m-commerce users (in millions) by year.<\/caption>\n<thead>\n<tr>\n<th scope=\"col\">$x$ (year)<\/th>\n<th scope=\"col\">$y$ (# of users)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>2000<\/td>\n<td>0.5<\/td>\n<\/tr>\n<tr>\n<td>2002<\/td>\n<td>20.0<\/td>\n<\/tr>\n<tr>\n<td>2003<\/td>\n<td>33.0<\/td>\n<\/tr>\n<tr>\n<td>2004<\/td>\n<td>47.0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">12.1<\/span><\/div>\n<\/div>\n<div id=\"linrgs_scater12\" class=\"os-figure\">\n<figure data-id=\"linrgs_scater12\"><span id=\"id1171452159644\" data-type=\"media\" data-alt=\"This is a scatter plot for the data provided. The x-axis represents the year and the y-axis represents the number of m-commerce users in millions. There are four points plotted, at (2000, 0.5), (2002, 20.0), (2003, 33.0), (2004, 47.0).\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-584\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/d663df2918f84749b9d6e2700a905415c10a8a20.jpg\" alt=\"This is a scatter plot for the data provided. The x-axis represents the year and the y-axis represents the number of m-commerce users in millions. There are four points plotted, at (2000, 0.5), (2002, 20.0), (2003, 33.0), (2004, 47.0).\" width=\"487\" height=\"323\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/d663df2918f84749b9d6e2700a905415c10a8a20.jpg 487w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/d663df2918f84749b9d6e2700a905415c10a8a20-300x199.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/d663df2918f84749b9d6e2700a905415c10a8a20-65x43.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/d663df2918f84749b9d6e2700a905415c10a8a20-225x149.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/d663df2918f84749b9d6e2700a905415c10a8a20-350x232.jpg 350w\" sizes=\"auto, (max-width: 487px) 100vw, 487px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.5<\/span> <span class=\"os-caption\">Scatter plot showing the number of m-commerce users (in millions) by year.<\/span><\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idm16826784\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">12.5<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-339\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-740\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-489\">Amelia plays basketball for her high school. She wants to improve to play at the college level. She notices that the number of points she scores in a game goes up in response to the number of hours she practices her jump shot each week. She records the following data:<\/p>\n<div id=\"eip-idp1116432\" class=\"os-table\">\n<table summary=\"Table 12.2\" data-id=\"eip-idp1116432\">\n<thead>\n<tr>\n<th scope=\"col\"><em data-effect=\"italics\">X<\/em> (hours practicing jump shot)<\/th>\n<th scope=\"col\"><em data-effect=\"italics\">Y<\/em> (points scored in a game)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>5<\/td>\n<td>15<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>22<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>28<\/td>\n<\/tr>\n<tr>\n<td>10<\/td>\n<td>31<\/td>\n<\/tr>\n<tr>\n<td>11<\/td>\n<td>33<\/td>\n<\/tr>\n<tr>\n<td>12<\/td>\n<td>36<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">12.2<\/span><\/div>\n<\/div>\n<p id=\"eip-idm36661536\">Construct a scatter plot and state if what Amelia thinks appears to be true.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"element-83\">A scatter plot shows the <strong>direction<\/strong> of a relationship between the variables. A clear direction happens when there is either:<\/p>\n<ul id=\"list1\">\n<li>High values of one variable occurring with high values of the other variable or low values of one variable occurring with low values of the other variable.<\/li>\n<li>High values of one variable occurring with low values of the other variable.<\/li>\n<\/ul>\n<p id=\"element-674\">You can determine the <strong data-effect=\"bold\">strength<\/strong> of the relationship by looking at the scatter plot and seeing how close the points are to a line, a power function, an exponential function,<br \/>\nor to some other type of function. For a linear relationship there is an exception. Consider a scatter plot where all the points fall on a horizontal line providing a &#8220;perfect fit.&#8221; The horizontal line would in fact show no relationship.<\/p>\n<p id=\"element-708\">When you look at a scatterplot, you want to notice the <strong>overall pattern<\/strong> and any <strong>deviations<\/strong> from the pattern. The following scatterplot examples illustrate these concepts.<\/p>\n<div id=\"lingrgs10\" class=\"os-figure\">\n<figure data-id=\"lingrgs10\"><span id=\"id1171450550347\" data-type=\"media\" data-alt=\"The first graph is a scatter plot with 6 points plotted. The points form a pattern that moves upward to the right, almost in a straight line. The second graph is a scatter plot with the same 6 points as the first graph. A 7th point is plotted in the top left corner of the quadrant. It falls outside the general pattern set by the other 6 points.\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-586\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/8a9a215df5f5bba8343f5fb4062e86014afb98ba.jpg\" alt=\"The first graph is a scatter plot with 6 points plotted. The points form a pattern that moves upward to the right, almost in a straight line. The second graph is a scatter plot with the same 6 points as the first graph. A 7th point is plotted in the top left corner of the quadrant. It falls outside the general pattern set by the other 6 points.\" width=\"731\" height=\"250\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/8a9a215df5f5bba8343f5fb4062e86014afb98ba.jpg 731w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/8a9a215df5f5bba8343f5fb4062e86014afb98ba-300x103.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/8a9a215df5f5bba8343f5fb4062e86014afb98ba-65x22.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/8a9a215df5f5bba8343f5fb4062e86014afb98ba-225x77.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/8a9a215df5f5bba8343f5fb4062e86014afb98ba-350x120.jpg 350w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.6<\/span><\/div>\n<\/div>\n<div id=\"lingrgs20\" class=\"os-figure\">\n<figure data-id=\"lingrgs20\"><span id=\"id1171453496318\" data-type=\"media\" data-alt=\"The first graph is a scatter plot with 6 points plotted. The points form a pattern that moves downward to the right, almost in a straight line. The second graph is a scatter plot of 8 points. These points form a general downward pattern, but the point do not align in a tight pattern.\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-587\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4103f33f9b0281d0681324f3f731639f7b88f9cf.jpg\" alt=\"The first graph is a scatter plot with 6 points plotted. The points form a pattern that moves downward to the right, almost in a straight line. The second graph is a scatter plot of 8 points. These points form a general downward pattern, but the point do not align in a tight pattern.\" width=\"731\" height=\"250\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4103f33f9b0281d0681324f3f731639f7b88f9cf.jpg 731w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4103f33f9b0281d0681324f3f731639f7b88f9cf-300x103.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4103f33f9b0281d0681324f3f731639f7b88f9cf-65x22.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4103f33f9b0281d0681324f3f731639f7b88f9cf-225x77.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4103f33f9b0281d0681324f3f731639f7b88f9cf-350x120.jpg 350w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.7<\/span><\/div>\n<\/div>\n<div id=\"lingrgs30\" class=\"os-figure\">\n<figure data-id=\"lingrgs30\"><span id=\"id1171454842074\" data-type=\"media\" data-alt=\"The first graph is a scatter plot of 7 points in an exponential pattern. The pattern of the points begins along the x-axis and curves steeply upward to the right side of the quadrant. The second graph shows a scatter plot with many points scattered everywhere, exhibiting no pattern.\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-588\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4f16ab3a180645fe110f56e827a61ce73bcc8404.jpg\" alt=\"The first graph is a scatter plot of 7 points in an exponential pattern. The pattern of the points begins along the x-axis and curves steeply upward to the right side of the quadrant. The second graph shows a scatter plot with many points scattered everywhere, exhibiting no pattern.\" width=\"731\" height=\"250\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4f16ab3a180645fe110f56e827a61ce73bcc8404.jpg 731w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4f16ab3a180645fe110f56e827a61ce73bcc8404-300x103.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4f16ab3a180645fe110f56e827a61ce73bcc8404-65x22.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4f16ab3a180645fe110f56e827a61ce73bcc8404-225x77.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4f16ab3a180645fe110f56e827a61ce73bcc8404-350x120.jpg 350w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><br \/>\n<\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.8<\/span><\/div>\n<\/div>\n<p id=\"element-243\">In this chapter, we are interested in scatter plots that show a linear pattern. Linear patterns are quite common. The linear relationship is strong if the points are close to a straight line, except in the case of a horizontal line where there is no relationship. If we think that the points show a linear relationship, we would like to draw a line on the scatter plot. This line can be calculated through a process called <span id=\"term216\" data-type=\"term\">linear regression<\/span>. However, we only calculate a regression line if one of the variables helps to explain or predict the other variable. If <em data-effect=\"italics\">x<\/em> is the independent variable and <em data-effect=\"italics\">y<\/em> the dependent variable,<br \/>\nthen we can use a regression line to predict <em data-effect=\"italics\">y<\/em> for a given value of <em data-effect=\"italics\">x<\/em><\/p>\n<\/div>\n","protected":false},"author":1,"menu_order":2,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-105","chapter","type-chapter","status-publish","hentry"],"part":103,"_links":{"self":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":4,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/105\/revisions"}],"predecessor-version":[{"id":589,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/105\/revisions\/589"}],"part":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/parts\/103"}],"metadata":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/105\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapter-type?post=105"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/contributor?post=105"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/license?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}