stats.RdUsed as compare_stat parameter in xspline method.
Each function has attribute "higher-better".
If "higher-better" is TRUE then model with higher statistic value is treated as better one.
aic(glm_model) hoslem(glm_model)
| glm_model | Linear model - |
|---|