A function that returns the coefficient from regressing an outcome vector on a dose vector.
Useful links