statsmodels for calculating regression scores