Question: what is the difference between y and y hat?
Answer: Y hat (written ŷ ) is the predicted value of y (the dependent variable) in a regression equation. It can also be considered to be the average value of the response variable. The regression equation is just the equation which models the data set.