View source: R/052-irt-validation-0-7.R
| posterior_sbc_contract | R Documentation |
Posterior SBC is deliberately callback-driven: conditioning/augmentation differs by model, and eyeprocess does not pretend that re-running ordinary prior SBC on an observed-data neighbourhood is posterior SBC.
posterior_sbc_contract(replication)
replication |
Function '(replicate, observed_data)' returning 'list(truth=named_numeric, draws=matrix_or_data_frame)'. The callback is responsible for the conditional posterior-SBC construction appropriate to the model, including fitting to the observed data and the required self-consistency experiment. |
An object of class "eye_posterior_sbc_contract", stored as a named list, with components "replication", "requirement". It contains define a posterior-SBC replication contract and associated metadata or diagnostics needed to interpret the result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.