Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Introductory Statistics

12.7 Regression (Distance from School)

Introductory Statistics12.7 Regression (Distance from School)

Stats Lab

Regression (Distance from School)

Class Time:

Names:

Student Learning Outcomes
  • The student will calculate and construct the line of best fit between two variables.
  • The student will evaluate the relationship between two variables to determine if that relationship is significant.

Collect the DataUse eight members of your class for the sample. Collect bivariate data (distance an individual lives from school, the cost of supplies for the current term).

  1. Complete the table.
    Distance from school Cost of supplies this term
    Table 12.9
  2. Which variable should be the dependent variable and which should be the independent variable? Why?
  3. Graph “distance” vs. “cost.” Plot the points on the graph. Label both axes with words. Scale both axes.
    Blank graph with vertical and horizontal axes.
    Figure 12.21

Analyze the DataEnter your data into your calculator or computer. Write the linear equation, rounding to four decimal places.

  1. Calculate the following:
    1. a = ______
    2. b = ______
    3. correlation = ______
    4. n = ______
    5. equation: ŷ = ______
    6. Is the correlation significant? Why or why not? (Answer in one to three complete sentences.)
  2. Supply an answer for the following senarios:
    1. For a person who lives eight miles from campus, predict the total cost of supplies this term:
    2. For a person who lives eighty miles from campus, predict the total cost of supplies this term:
  3. Obtain the graph on your calculator or computer. Sketch the regression line.
    Blank graph with vertical and horizontal axes.
    Figure 12.22
Discussion Questions
  1. Answer each question in complete sentences.
    1. Does the line seem to fit the data? Why?
    2. What does the correlation imply about the relationship between the distance and the cost?
  2. Are there any outliers? If so, which point is an outlier?
  3. Should the outlier, if it exists, be removed? Why or why not?
Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/introductory-statistics/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/introductory-statistics/pages/1-introduction
Citation information

© Jun 23, 2022 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.