model_diagnostics
Assess a fitted model's validity: tests residual normality, heteroscedasticity, autocorrelation, multicollinearity, and identifies influential cases with diagnostic plots.
Instructions
Full diagnostic report for a fitted model: residual normality, Breusch-Pagan test for heteroscedasticity, Durbin-Watson test for independence, VIF for multicollinearity, the most influential cases by Cook's distance and leverage, and the four standard diagnostic plots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Name of a fitted model in the session. | |
| plots | No | Include diagnostic plots. | |
| digits | No | Decimal places. | |
| influence_n | No | How many influential cases to list. |