functions for basic stats such as OLS and robust regression
add basic glm function