This package can be used as a base to create an OLS model and test its assumptions, it uses the Python package statsmodels for the statistical analyses. The function linear_model initializes an Ordinary Least Squares Linear Regression model and fits it to data. The linear regression has 5 assumptions (linearity, no (or little) multicollinearity, normality, no autocorrelation, homoscedasticity). Each assumptions has an eponymous function to test the assumption. In addition, a simple function to remove outliers is added as a seperate function.
The package can be installed using Pip, with the command: pip install git+https://github.com/jarnos97/Simple_Linear_Regression.git