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

- First, input the intercept (b
_{0}) and slope (b_{1}) of the regression line. - Enter the independent variable (x).
- Now press the 'Calculate' button to get the Y-Hat (ŷ) result for a given regression model.

For a simple linear regression, the formula is:

ŷ = b_{0} + b_{1}x

Where,

ŷ = Predicted value,

b_{0} = Intercept (average of observed (y) variable when the predictor (x) = 0),

b_{1} = 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:

ŷ = b_{0} + b_{1}x_{1} + b_{2}x_{2} + ... + b_{n}x_{n}