What statistical test should be used to compare predicted variable and actual value? Why do the degrees of freedom you use to calculate variance and other values differ when you are using it in a statistical test and when you are not?