The Hat Matrix in Regression and ANOVA | Synapse