Home / Statistics Topics

Module 6 · Regression & Correlation · Topic 4

Simple Linear Regression

Regression Line. Simple linear regression fits a straight line ŷ = a + bx that best describes the linear relationship between an explanatory variable x and a response variable y.

Interpretation. The slope b is the average change in y for a one-unit increase in x. The intercept a is the predicted y when x = 0 (which may or may not be meaningful in context).

Open the interactive lessonAll topics

Key formulas

Regression Equation

ŷ = a + bx, where b = r × (sᵧ / sₓ) and a = ȳ − b × x̄

From the Regression & Correlation formula sheet

  • Least-Squares Regression Line: yhat = a + bx — Line that minimizes the sum of squared residuals.
  • Pearson Correlation: r = sum((x_i-xbar)(y_i-ybar)) / sqrt(sum((x_i-xbar)^2)sum((y_i-ybar)^2)) — Measures direction and strength of a linear association.

See the full formula reference

Worked example

Worked Example

Study hours (x) predicting exam score (y). If b = 5.2 and a = 40, then ŷ = 40 + 5.2x. Each additional hour of study is associated with a 5.2-point increase in predicted score.

Related glossary terms

  • Residual: The observed value minus the predicted value. Example: If y = 12 and yhat = 9, the residual is 3.

Browse the full glossary

Go interactive

Work this topic in StatRise

Start with the free descriptive-statistics module and daily practice; this module's tracked lesson unlocks with Premium.

Regression & Correlation lesson (Premium)Regression calculatorsRegression Lab simulationPractice questions

Free statistics guides

Related in-depth guides

  • How to Choose the Right Statistical Test8 min read
  • Hypothesis Testing Explained: The Five Steps, Worked Through8 min read

Keep reading

More topics

Previous: Pearson's rNext: Least Squares MethodAll statistics topics
CalculatorsLessonsPracticeGuidesTopicsPremiumRestore purchasePrivacyTerms

© 2026 StatRise. Statistics calculators, lessons, practice, and simulations — progress stays in your browser, no account required.

More study tools: CalcRef · Discretica · ScoreMint · PhysRef