Skip to main content
Mathematics LibreTexts

6.2.4: The Slope of a Fitted Line

  • Page ID
    36716
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    Lesson

    Let's look at how changing one variable changes another.

    Exercise \(\PageIndex{1}\): Estimating Slope

    Estimate the slope of the line.

    clipboard_eb0c168ccaa21c1b0c84d5eec87ed215a.png
    Figure \(\PageIndex{1}\)

    Exercise \(\PageIndex{2}\): Describing Linear Associations

    For each scatter plot, decide if there is an association between the two variables, and describe the situation using one of these sentences:

    • For these data, as ________________ increases, ________________ tends to increase.
    • For these data, as ________________ increases, ________________ tends to decrease.
    • For these data, ________________ and ________________ do not appear to be related.
    clipboard_eb225e5e87afd9ac65b27eb8861e71311.png
    Figure \(\PageIndex{2}\)
    clipboard_e796415e17810294bc176b0d69a17b1cb.png
    Figure \(\PageIndex{3}\)
    clipboard_e8d8d5597145215e9098f39c3b00d9c22.png
    Figure \(\PageIndex{4}\)

    Exercise \(\PageIndex{3}\): Interpreting Slopes

    For each of the situations, a linear model for some data is shown.

    1. What is the slope of the line in the scatter plot for each situation?
    2. What is the meaning of the slope in that situation?

    \(y=5,520.619x - 1,091.393\)

    clipboard_e45e867e026462502c54c7ab114f174ca.png
    Figure \(\PageIndex{5}\)

    \(y=-.011x + 40.604\)

    clipboard_e8935cfd5de6bbc04425b49f5d4d122cc.png
    Figure \(\PageIndex{6}\)

    \(y=0.59x - 21.912\)

    clipboard_ec0b7fb2a35c5239795442b04a34a4270.png
    Figure \(\PageIndex{7}\)

    Are you ready for more?

    The scatter plot shows the weight and fuel efficiency data used in an earlier lesson along with a linear model represented by the equation \(y = -0.0114x + 41.3021\)

    clipboard_e5eaf140114d2e993f45916663e00f2b4.png
    Figure \(\PageIndex{8}\)
    1. What is the value of the slope and what does it mean in this context?
    2. What does the other number in the equation represent on the graph? What does it mean in context?
    3. Use the equation to predict the fuel efficiency of a car that weighs 100 kilograms.
    4. Use the equation to predict the weight of a car that has a fuel efficiency of 22 mpg.
    5. Which of these two predictions probably fits reality better? Explain.

    Exercise \(\PageIndex{4}\): Positive or Negative?

    1. For each of the scatter plots, decide whether it makes sense to fit a linear model to the data. If it does, would the graph of the model have a positive slope, a negative slope, or a slope of zero?

    clipboard_e4bea2d4e25e1aef03bf42562e8325205.png
    Figure \(\PageIndex{9}\)

    2. Which of these scatter plots show evidence of a positive association between the variables? Of a negative association? Which do not appear to show an association?

    Summary

    Here is a scatter plot that we have seen before. As noted earlier, we can see from the scatter plot that taller dogs tend to weigh more than shorter dogs. Another way to say it is that weight tends to increase as height increases. When we have a positive association between two variables, an increase in one means there tends to be an increase in the other.

    clipboard_e574c97ccdc9fae3def9755be0b83e973.png
    Figure \(\PageIndex{10}\)

    We can quantify this tendency by fitting a line to the data and finding its slope. For example, the equation of the fitted line is \(w=4.27h-37\) where \(h\) is the height of the dog and \(w\) is the predicted weight of the dog.

    clipboard_ea25510fbb36062aa013f20d263d98c02.png
    Figure \(\PageIndex{11}\)

    The slope is 4.27, which tells us that for every 1-inch increase in dog height, the weight is predicted to increase by 4.27 pounds.

    In our example of the fuel efficiency and weight of a car, the slope of the fitted line shown is -0.01.

    clipboard_e5d841ea15b84be5b5715b6562e719f16.png
    Figure \(\PageIndex{12}\)

    This tells us that for every 1-kilogram increase in the weight of the car, the fuel efficiency is predicted to decrease by 0.01 miles per gallon. When we have a negative association between two variables, an increase in one means there tends to be a decrease in the other.

    Glossary Entries

    Definition: Negative Association

    A negative association is a relationship between two quantities where one tends to decrease as the other increases. In a scatter plot, the data points tend to cluster around a line with negative slope.

    Different stores across the country sell a book for different prices.

    The scatter plot shows that there is a negative association between the the price of the book in dollars and the number of books sold at that price.

    clipboard_eab65766890cf1492613cd690560b3992.png
    Figure \(\PageIndex{13}\)

    Definition: Outlier

    An outlier is a data value that is far from the other values in the data set.

    Here is a scatter plot that shows lengths and widths of 20 different left feet. The foot whose length is 24.5 cm and width is 7.8 cm is an outlier.

    clipboard_e8c41b607f7acd2fad49b581c0621199d.png
    Figure \(\PageIndex{14}\)

    Definition: Positive Association

    A positive association is a relationship between two quantities where one tends to increase as the other increases. In a scatter plot, the data points tend to cluster around a line with positive slope.

    The relationship between height and weight for 25 dogs is shown in the scatter plot. There is a positive association between dog height and dog weight.

    clipboard_ee59595d412dd9cac9e902713a4d8844c.png
    Figure \(\PageIndex{15}\)

    Practice

    Exercise \(\PageIndex{5}\)

    Which of these statements is true about the data in the scatter plot?

    clipboard_e7c41b1e2ad82ca452366299d9cf5cea9.png
    Figure \(\PageIndex{16}\)
    1. As \(x\) increases, \(y\) tends to increase.
    2. As \(x\) increases, \(y\) tends to decrease.
    3. As\(x\) increases, \(y\) tends to stay unchanged.
    4. \(x\) and \(y\) are unrelated.

    Exercise \(\PageIndex{6}\)

    Here is a scatter plot that compares hits to at bats for players on a baseball team.

    clipboard_eec30b7b3472bd651fd4a4820a5cd3bee.png
    Figure \(\PageIndex{17}\)

    Describe the relationship between the number of at bats and the number of hits using the data in the scatter plot.

    Exercise \(\PageIndex{7}\)

    The linear model for some butterfly data is given by the equation \(y=0.238x+4.642\). Which of the following best describes the slope of the model?

    clipboard_e99face1da9a34260324bac02a2d264b8.png
    Figure \(\PageIndex{18}\): Attribution: By Couleur. Public Domain. Pixabay. Source.
    clipboard_e600a114987d3fcc28ce28cd40d77a854.png
    Figure \(\PageIndex{19}\)
    1. For every 1 mm the wingspan increases, the length of the butterfly increases 0.238 mm.
    2. For every 1 mm the wingspan increases, the length of the butterfly increases 4.642 mm.
    3. For every 1 mm the length of the butterfly increases, the wingspan increases 0.238 mm.
    4. For every 1 mm the length of the butterfly increases, the wingspan increases 4.642 mm.

    Exercise \(\PageIndex{8}\)

    Nonstop, one-way flight times from O’Hare Airport in Chicago and prices of a one-way ticket are shown in the scatter plot.

    clipboard_ed5ae04b00e9bb1aa9d978a2b710d0e02.png
    Figure \(\PageIndex{20}\)
    1. Circle any data that appear to be outliers.
    2. Use the graph to estimate the difference between any outliers and their predicted values.

    (From Unit 6.2.2)

    Exercise \(\PageIndex{9}\)

    Solve:

    \[\left\{\begin{array}{l}{y=-3x+13}\\{y=-2x+1}\end{array}\right.\nonumber\]

    (From Unit 4.3.5)


    This page titled 6.2.4: The Slope of a Fitted Line is shared under a CC BY license and was authored, remixed, and/or curated by Illustrative Mathematics.

    • Was this article helpful?