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 ...
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 ...