Model confidence sets
Maintainers usually reply within 1 day
@sbfnk is already working on this.
Since Jan 19, 2026.
Assessment
This issue has not been assessed yet.
Description
Summary
Add functionality to compute Model Confidence Sets (MCS) - identifying the set of models that cannot be statistically distinguished from the best model at a given confidence level.
Motivation
When comparing multiple forecasting models, users often want to know not just which model performs best, but which models are "in the running" - i.e., cannot be ruled out as being the best given the available data. The MCS provides a principled answer to this question.
A larger MCS indicates more uncertainty about which model is truly best, often due to limited data, similar performance, or high score variability.
Related discussion: https://community.epinowcast.org/t/model-confidence-set/221 https://community.epinowcast.org/t/do-your-evaluations-have-enough-power
Proposed solution
A get_model_confidence_set() function that:
- Takes output from
get_pairwise_comparisons() - Identifies the best model (lowest relative skill)
- Tests whether each other model is significantly worse
- Returns models where the null hypothesis of equal performance cannot be rejected
This would support:
- Conditional MCS: Separate confidence sets for subgroups (via
byargument inget_pairwise_comparisons()) - Sequential MCS: Track how MCS evolves over time (by filtering scores cumulatively)
Example usage
scores |>
get_pairwise_comparisons() |>
get_model_confidence_set()
# Conditional MCS by location
scores |>
get_pairwise_comparisons(by = "location") |>
get_model_confidence_set()
References
- Hansen, P. R., Lunde, A., & Nason, J. M. (2011). The model confidence set. Econometrica, 79(2), 453-497. https://doi.org/10.3982/ECTA5771
- Arnold, S., Henzi, A., & Ziegel, J. F. (2024). Sequential model confidence sets. https://arxiv.org/abs/2404.18678
- Borusyak, K., & Jaravel, X. (2025). Conditional method confidence set. https://arxiv.org/abs/2505.21278
- Dominant language
- R
- Stars
- 67
- Forks
- 24
- Avg merge
- 1h 24m
- Merged PRs (30d)
- 2
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from epiforecasts/scoringutils
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
epiforecasts/scoringutils#1264 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
epiforecasts/scoringutils#1265 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
epiforecasts/scoringutils#1260 ·
Maintainers usually reply within 1 day
-
Incorrect guidance in `NEWS.md` re `add_relative_skill()`?Possibly taken @nikosbosse claimed this 15 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
epiforecasts/scoringutils#1226 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day
-
get_pit_histogram(): unsorted breaks produce negative densities; num_bins = 1 returns an empty tablePossibly taken @nikosbosse claimed this 15 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
epiforecasts/scoringutils#1219 ·
Maintainers usually reply within 1 day
All issues in epiforecasts/scoringutils
Similar issues
-
data_bio2rarify - doc - dimensions wrongPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
leppott/BioMonTools#162 ·
-
publications
Difficulty 1/5 Under an hour Newbie friendliness 85/100
epiforecasts/epiforecasts.github.io#161 ·
Maintainers usually reply within 1 day
-
Label `{sas}` chunk source as `sas` instead of `txt`, so it gets syntax highlightingPossibly taken @michaelmayer2 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
microbiome/OMA#1031 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ThinkR-open/golem#1265 ·