Y-Hat Calculator

The Y-Hat calculator is designed to determine the predicted values (ŷ) of a simple linear regression model.

ŷ = b0 + b1x

Y-Hat (ŷ):

How to Use the Y-Hat Calculator?

  1. First, input the intercept (b0) and slope (b1) of the regression line.
  2. Enter the independent variable (x).
  3. Now press the 'Calculate' button to get the Y-Hat (ŷ) result for a given regression model.

How to Calculate Y-Hat?

For a simple linear regression, the formula is:

ŷ = b0 + b1x

Where,
ŷ = Predicted value,
b0 = Intercept (average of observed (y) variable when the predictor (x) = 0),
b1 = Slope (how much observed (y) variable changes for a unit change in the predictor (x)),
x = Independent (predictor) value.

For multiple linear regression, the formula expands to:

ŷ = b0 + b1x1 + b2x2 + ... + bnxn