Skip to content

Add order statistic check for compare() #234

@jordandeklerk

Description

@jordandeklerk

We should implement an order statistics-based diagnostic check in compare() like this https://github.com/stan-dev/loo/blob/d6fe380161fcd3ba07065ce0a525146abdb2c1d7/R/loo_compare.R#L300 to warn users when model differences may be due to chance rather than genuine predictive performance differences.

From this paper https://arxiv.org/pdf/2309.03742, when comparing many models using cross-validation, the "best" model can appear better simply due to random variation in ELPD estimates. The more models compared, the higher the probability that one will randomly score highest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions