Statistics · Linear Regression and Correlation
Regression (Fuel Efficiency) (Optional)
CC BY 4.0 · OpenStax · approximately 2 min read
Regression (Fuel Efficiency)
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 whether that relationship is significant.
Collect the Data Find a reputable source that provides information on total fuel efficiency (in miles per gallon) and weight (in pounds) of new cars with an automatic transmission. You will use these data to determine the relationship, if any, between the fuel efficiency of a car and its weight.
Using your random-number generator, select 20 cars randomly from the list and record their weight and fuel efficiency into id7895697570 .
Which variable is the dependent variable and which is the independent
variable? Why?
By hand, draw a scatter plot of weight vs. fuel efficiency . Plot the points on graph paper.
Label both axes with words. Scale both axes accurately.
View original figure (external; image not reproduced in this text edition)
Original figure description: Blank graph with vertical and horizontal axes.
Analyze the Data
Enter your data into a calculator or computer. Write the linear equation, rounding to four decimal places.
Calculate the following:
a = ______
b = ______
correlation = ______
n = ______
equation: ŷ = ______
Obtain a graph of the regression line on a calculator. Sketch the regression line on the
same axes as your scatter plot.
Discussion Questions Is the correlation significant? Explain how you determined this in complete sentences.
Is the relationship a positive one or a negative one? Explain how you can tell and what
this means in terms of weight and fuel efficiency.
In one or two complete sentences, what is the practical interpretation of the slope of the least-squares line in terms of fuel efficiency and weight?
For a car that weighs 4,000 pounds, predict its fuel efficiency. Include units.
Can we predict the fuel efficiency of a car that weighs 10,000 pounds using the least-squares line? Explain why or why not.
Answer each question in complete sentences.
Does the line seem to fit the data? Why or why not?
What does the correlation imply about the relationship between fuel efficiency and
weight of a car? Is this what you expected?
Are there any outliers? If so, which point is an outlier?
Attribution. Statistics, OpenStax, Rice University, and the contributing authors credited in the book. Licensed under Creative Commons Attribution 4.0 International. Source revision 7dea80ae28 of openstax/osbooks-statistics (2026-04-23). CC BY 4.0 . Original source ↗ . Text edition of a pinned CC BY 4.0 source revision of the OpenStax book, converted from CNXML by the EvidenceHelix importer. Original prose, learning objectives, tables, exercises, glossary and captions are preserved; images are not copied (figures link to the original source and keep their credits). No new content was added. Later revisions of this book can carry different licence terms and are not used.