Skip to content
LoveToCalc

Definition — what does that mean?

Prediction from the regression line

What the fitted line says at a chosen x.

In Swedish: Prediktion med regressionslinjen

Prediction from the regression line

The relation

ŷ=b₀+b₁x

What the fitted line says at a chosen x: the intercept plus the slope times x.

Solve for

ŷ=13

ŷ equals 3 plus (2 times 5), equals 3 plus 10, equals 13

Working3 steps

Practice questions

You are given

  • ŷ=8
  • b₁=1.5
  • x=8

The formula

ŷ = b₀ + b₁ · x

b₀ is the intercept, b₁ the slope and x the value to predict at. The hat on ŷ marks a fitted value, not a measured one.

Height and mass of 15 women (Wikipedia’s example on simple linear regression): b₀ = −39.06 kg and b₁ = 61.27 kg/m. At x = 1.65 m, ŷ = −39.06 + 61.27 · 1.65 ≈ 62.04 kg.

Inside and outside the data

The 15 women are between 1.47 m and 1.83 m tall. A prediction at 1.65 m lies inside that range (interpolation). At 2.10 m the line gives −39.06 + 61.27 · 2.10 ≈ 89.6 kg, but no measurement backs it: the relation may bend outside the data. The arithmetic is identical in both cases and cannot warn you.

At x = 0 the line returns the intercept, −39.06 kg, which is not a mass at all. The model describes the measured range only.

Prediction and residual

The difference between a measured y and ŷ is the residual. The spread of the residuals is the residual variance, and the coefficient of determination says how much of the variation the line explains.

Common mistakes

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
ŷb₀+b₁x3+2·513
b₀ŷ−b₁x13−2·53
b₁ŷ−b₀x13−352
xŷ−b₀b₁13−325

Last reviewed October 11, 2026 ·How pages are reviewed

Statistics and probabilityAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.