Queries about the SBC procedure #1363
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @paarth-dudani and thanks for your question! Answer: yes, it is normal to see such a histogram. The grey area shows the 95% confidence region for a uniform distribution of ranks, so depending on the number of histogram bins one would expect (accept) a couple of them to lie outside. Similarly, the KS test is a hypothesis test with the null-hypothesis being that the ranks are uniform. Thus, if we get a p-value <0.05, then we might tend to reject this hypothesis in the light of the data (ranks) we have seen. In general, I would judge the results you are showing here is normal, i.e., the estimator seems to be well-calibrated and the deviations are just random. In a real-world example you would likely see more extreme deviations from uniformity. If you have not already, please take a look at our diagnostics tutorial here: https://sbi-dev.github.io/sbi/dev/tutorials/11_diagnostics_simulation_based_calibration/ Does this help? Cheers, |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! Yes, this helps. I am assuming that the same answer holds for the empirical cdf going beyond the grey zones? |
Beta Was this translation helpful? Give feedback.
Hi @paarth-dudani and thanks for your question!
Answer: yes, it is normal to see such a histogram. The grey area shows the 95% confidence region for a uniform distribution of ranks, so depending on the number of histogram bins one would expect (accept) a couple of them to lie outside. Similarly, the KS test is a hypothesis test with the null-hypothesis being that the ranks are uniform. Thus, if we get a p-value <0.05, then we might tend to reject this hypothesis in the light of the data (ranks) we have seen.
In general, I would judge the results you are showing here is normal, i.e., the estimator seems to be well-calibrated and the deviations are just random. In a real-world example you w…