perform_regression_test function

Perform a test on the slope coefficient of a univariate linear regression