Python, Data Analysis, Data Science, R, Machine Learning.
below the line, which means the homoscedasticity is not fulfilled. (same conclusion using R) # normality test of the residuals name = ['Jarque-Bera', 'ChiSquared twotail', 'Skew', 'Kurtosis'] test = sm.stats.jarque_bera(slr2.resid) print(name, test) # normality test of the residuals using OB name =