https://blogaroo.org/r2-calculation-using-devsq-and-prediction/