Linear Regression Intercept Calculator — Formule
## How to Calculate the Regression Intercept
### Formula
**b0 = y_mean - b1 * x_mean**
The y-intercept is the predicted value of Y when X = 0. The regression line always passes through the point (x_mean, y_mean). Once you have the slope b1, computing b0 is straightforward. The full regression equation is: Y = b0 + b1*X.
### Formula
**b0 = y_mean - b1 * x_mean**
The y-intercept is the predicted value of Y when X = 0. The regression line always passes through the point (x_mean, y_mean). Once you have the slope b1, computing b0 is straightforward. The full regression equation is: Y = b0 + b1*X.
Exemple Résolu
Mean of y = 30, mean of x = 15, slope = 2.
- b0 = y_mean - b1 * x_mean
- b0 = 30 - 2 * 15
- b0 = 30 - 30 = 0
- Regression equation: Y = 0 + 2*X = 2X