View source: R/inverse_forward_sampling.R
gamma_discrepancy | R Documentation |
[1] Modrák, Martin, Angie H. Moon, Shinyoung Kim, Paul Bürkner, Niko Huurre, Kateřina Faltejsková, Andrew Gelman, and Aki Vehtari. “Simulation-Based Calibration Checking for Bayesian Computation: The Choice of Test Quantities Shapes Sensitivity.” arXiv, June 15, 2023. https://doi.org/10.48550/arXiv.2211.02383.
gamma_discrepancy(ranks, post_warmup_draws, log = FALSE)
ranks |
Rank distribution |
post_warmup_draws |
Number of posterior draws that were used to calculate the rank distribution. |
log |
True of the result should be on the log scale. |
Measure quantifying deviation from uniformity. This value can be compared to the distribution of gamma expected under uniformity calculated by validation.gamma_null_distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.