Multiple Linear Regression in SQL with Only SUM() and AVG()

from blog r y x, r, | ↗ original
This post is inspired by someone dropping this in my mentions today: The technique the authors use is cute, but it’s not a true arbitrary multivariate regression. They cheat a little bit using dummy variables for the majority of their coefficients. I respect it, but it’s not an arbitrary regression. Fortunately, it is possible to … Continue...