model_compare
Compare fitted models by AIC, BIC, log-likelihood, and delta AIC, plus LRT or F tests for nested models. Pass saved model names to identify the best-fitting model.
Instructions
Compare two or more fitted models on AIC, BIC, log-likelihood and delta AIC, plus a likelihood-ratio or F test when the models are nested. Fit the models first with regression or test_anova, giving each a save_as name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | Test for the nested comparison: auto, LRT, Chisq or F. | auto |
| digits | No | Decimal places. | |
| models | Yes | Names of fitted models in the session, simplest first. |