News

8.3. Regression diagnostics¶. Like R, Statsmodels exposes the residuals. That is, keeps an array containing the difference between the observed values Y and the values predicted by the linear model. A ...
I use Python 3 and Jupyter Notebooks to generate plots and equations with linear regression on Kaggle data. I checked the correlations and built a basic machine learning model with this dataset.
One of the most versatile regression diagnostic methods is to plot the residuals r i against the predictors (x i, r i) and the predicted values (ŷ i, r i) ().When noise assumptions are met, these ...