Function to estimate and perform tests on the slope and intercept of a simple linear model.
Useful links