statsmodels.graphics.regressionplots.partial_resids#
- statsmodels.graphics.regressionplots.partial_resids(results, focus_exog)[source]#
Return partial residuals for a fitted model with respect to a ‘focus predictor’
- Parameters:
- Returns:
ndarrayThe partial residuals.
References
[1]RD Cook and R Croos-Dabrera (1998). Partial residual plots in generalized linear models. Journal of the American Statistical Association, 93:442.