# create Q-Q plot to ensure normality statsmodels.qqplot(residuals, stats.norm, fit=True, line='45')