The Y-Hat calculator is designed to determine the predicted values (ŷ) of a simple linear regression model.
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