post.rep | R Documentation |
This function creates a list of replicated data for posterior predictive checking as described in Myers et al. (2011).
post.rep(model, dat)
model |
an object of class "mederrFit". |
dat |
an object of class "mederrData". |
For further details see Myers et al. (2011).
post.rep
returns a list of replicated data.
Sergio Venturini sergio.venturini@unicatt.it,
Jessica A. Myers jmyers6@partners.org
Myers, J. A., Venturini, S., Dominici, F. and Morlock, L. (2011), "Random Effects Models for Identifying the Most Harmful Medication Errors in a Large, Voluntary Reporting Database". Technical Report.
bhm.constr.resamp
,
bhm.mcmc
,
bhm.resample
,
p.value
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.