Teacher Guide: Introduction to Regression
Learn how to find the best-fitting line through data points and make predictions using linear regression.
Use this lesson with your class
Free, no student accounts needed.
Share with students
Students open the lesson and practise with instant feedback.
Class quiz
10 questions on Regression. Students join with a name, you see everyone's score.
For Teachers
- Define linear regression and explain its purpose
- Calculate the slope of a line from two points
- Write the equation of a regression line in the form
- Use a regression equation to make predictions
- Interpret the meaning of slope and y-intercept in real-world contexts
- • Understanding of coordinate planes and plotting points
- • Ability to calculate slope using rise over run
- • Familiarity with linear equations in slope-intercept form
- • Basic understanding of scatter plots
- 1. Why might predicting very far into the future using a regression line be unreliable?
- 2. Can you think of two variables in your life that might have a linear relationship?
- 3. What is the difference between correlation and causation? Give an example.
- 4. How might businesses use regression to make decisions?
The regression line must pass through every data point
A higher slope always means a better relationship
For Struggling Students:
- • Start with data that perfectly fits a line before introducing scatter
- • Use only positive slopes initially
- • Provide slope formula reference cards
- • Use concrete, relatable examples (height vs. shoe size)
For On-Level Students:
- • Work with realistic scattered data
- • Include negative slopes (inverse relationships)
- • Practice both finding equations and making predictions
- • Analyze the meaning of slope in context
For Advanced Students:
- • Introduce the concept of residuals
- • Discuss interpolation vs. extrapolation
- • Connect to correlation coefficient ()
- • Work with technology to fit regression lines to larger datasets
- HSS.ID.B.6 (CCSS.MATH.CONTENT.HSS.ID.B.6)
Represent data on two quantitative variables on a scatter plot, and describe how the variables are related
- HSS.ID.B.6.C (CCSS.MATH.CONTENT.HSS.ID.B.6.C)
Fit a linear function for a scatter plot that suggests a linear association
- HSS.ID.C.7 (CCSS.MATH.CONTENT.HSS.ID.C.7)
Interpret the slope and the intercept of a linear model in the context of the data
- visualInteractive Regression Plotter
Students plot points and see the line of best fit adjust automatically
- activityReal Data Analysis
Analyze real datasets and make predictions using regression
- worksheetRegression Practice Problems
Calculate slopes, find equations, and make predictions
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Definition
- is the slope (how steep the line is)
- is the y-intercept (where the line crosses the y-axis)
- is the input variable (independent variable)
- is the predicted output (dependent variable)
Worked Examples
A study shows that for every additional hour of studying, test scores increase by 5 points. If a student who studies 0 hours scores 50 points, what is the regression equation?
Identify the slope
Score increases by 5 points per hour of studying →
Identify the y-intercept
When hours, the score is 50 points →
Write the equation
Substitute and into →
Answer: The regression equation is , where is hours studied and is the predicted test score.
Common Mistakes
Confusing the order of subtraction in the slope formula
Why it's wrong: Using instead of gives the reciprocal of the correct slope.
Correct: Remember: slope is 'rise over run' - the change in (vertical) divided by the change in (horizontal).
Extrapolating too far beyond the data
Why it's wrong: The regression line is only reliable within the range of your data. Predicting far outside this range can lead to unrealistic results.
Correct: Be cautious about predictions for values much larger or smaller than your original data points.
Assuming correlation means causation
Why it's wrong: Just because two variables are related (correlated) does not mean one causes the other.
Correct: Regression shows relationships, but additional analysis is needed to establish causation.
Why It Matters
- Business: Predicting sales based on advertising spending
- Medicine: Estimating drug dosage based on patient weight
- Economics: Forecasting GDP growth from various indicators
- Sports: Projecting athlete performance from training metrics
- Science: Modeling relationships between variables in experiments
Real World Applications
Predicting House Prices
Real estate analysts use regression to estimate home values based on factors like square footage, number of bedrooms, and location.
Example:
If homes sell for approximately 150 dollars per square foot with a base price of 50000 dollars, the equation might be , where is square footage.
A real estate model shows: , where is square feet and is price in dollars.
What is the predicted price for a 1500 square foot home?
Step 1: Write the mathematical expression
Substitute into the equation:
Fuel Efficiency Analysis
Automotive engineers use regression to understand how car weight affects fuel consumption.
Example:
Data might show that fuel efficiency decreases by 0.005 km/L for every kilogram of additional weight.
A car model shows: , where is weight in kg and is fuel efficiency in km/L.
What efficiency is predicted for a car weighing 1200 kg?
Step 1: Write the mathematical expression
Calculate:
Key Takeaways
- 1Linear regression finds the straight line that best fits a set of data points
- 2The regression equation is , where is the slope and is the y-intercept
- 3Slope is calculated as (rise over run)
- 4Once you have the equation, you can make predictions by substituting values for
- 5Regression shows correlation, but correlation does not imply causation
Frequently Asked Questions
What if my data points do not fall exactly on a line?
How do I know if my regression line is a good fit?
Can regression be used for non-linear relationships?
Glossary
- Linear regression
- A statistical method for finding the best-fitting straight line through data points
- Line of best fit
- The straight line that minimizes the distance between itself and all data points
- Slope
- The steepness of the line, representing the rate of change ( in )
- Y-intercept
- The point where the line crosses the y-axis ( in )
- Prediction
- Using the regression equation to estimate for a given value of
- Independent variable
- The input variable () that we use to make predictions
- Dependent variable
- The output variable () that we are trying to predict