Intercept of the regression line
b₀
Where the fitted line crosses the y axis, found from the two means and the slope: the mean of y minus the slope times the mean of x.
b₀=3
b₀ equals 11 minus (2 times 4), equals 11 minus 8, equals 3
Den här sidan finns på svenska. Byt till svenska
Theorem — what does that mean?
Where the fitted line crosses the y axis, worked out from the two means and the slope.
In Swedish: Regressionslinjens konstantterm
b₀
Where the fitted line crosses the y axis, found from the two means and the slope: the mean of y minus the slope times the mean of x.
b₀=3
b₀ equals 11 minus (2 times 4), equals 11 minus 8, equals 3
You are given
b₀ = ȳ − b₁ · x̄
Holds for the least-squares line fitted with an intercept, which passes through the point of means (x̄, ȳ). Substitute that point into ŷ = b₀ + b₁x and solve for b₀.
ȳ and x̄ are the means of the two variables and b₁ is the slope of the regression line. Some books write the intercept as a and the slope as b; the formula is the same.
Heights and masses of 15 women (the example on Wikipedia’s page on simple linear regression): x̄ = 1.6507 m, ȳ = 62.078 kg and b₁ = 61.272 kg/m, so b₀ = 62.078 − 61.272 · 1.6507 ≈ −39.06 kg.
x̄ = 10, ȳ = 50 and b₁ = −2:
| Working | b₀ | |
|---|---|---|
| Wrong | 50 + (−2) · 10 | 30 |
| Right | 50 − (−2) · 10 | 70 |
The minus belongs to the formula, and with a negative slope the product b₁x̄ is negative as well, so the two minus signs make a plus.
b₀ is the predicted y at x = 0. When x = 0 lies far outside the measured data, as with a height of 0 m above, the intercept is only the number that makes the line pass through the means. It then carries no physical meaning.
The next step is a prediction from the line. The two sums of squares behind b₁ come from the least-squares line.
| Solve for | Rearranged | With the numbers | Comes to |
|---|---|---|---|
| b₀ | ȳ | 11 | 3 |
| ȳ | b₀ | 3 | 11 |
| b₁ | ȳ | 11 | 2 |
| x̄ | ȳ | 11 | 4 |
Last reviewed October 11, 2026 ·How pages are reviewed
Statistics and probabilityAll formulas
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.