Closed bnord closed 3 months ago
definition of rank statistic histogram: Rank histograms are a tool for evaluating ensemble forecasts. They are useful for determining the reliability of ensemble forecasts and for diagnosing errors in its mean and spread. Rank histograms are generated by repeatedly tallying the rank of the verification (usually an observation) relative to values from an ensemble sorted from lowest to highest
sbc code in macke lab sbi
https://github.com/sbi-dev/sbi/blob/main/sbi/diagnostics/sbc.py
i think Becky also has some calls in her code for this already.
Should have looked at this issue closer - yes this is already there: https://github.com/deepskies/DeepDiagnostics/blob/main/src/plots/ranks.py
can be found in SBI or in STAN code