compare
compare(*fits, labels=None, by='fit', cv_max=0.3)Fits side by side: one row per fit (and indicator), or by=“area” their estimates.
Information criteria are given only when the likelihoods are comparable: the same data on the same scale, the same method and, under REML, the same fixed effects. CVs are in absolute value.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| *fits | SAEResults | Results of fh, eblup or ebp. |
() |
| labels | list[str] | None | One unique label per fit. None labels each by its model, numbering repeats. | None |
| by | Literal['fit', 'area'] | “fit” gives one row per fit; “area” gives each fit’s prediction, MSE and CV side by side for every area any fit predicts. | 'fit' |
| cv_max | float | CV threshold of n_cv_above and of the findings counted. | 0.3 |