Implemented statsmodels locally