post.rep {mederrRank} | R Documentation |
Posterior Predictive Data Replications
Description
This function creates a list of replicated data for posterior predictive checking as described in Myers et al. (2011).
Usage
post.rep(model, dat)
Arguments
model |
|
dat |
an object of class "mederrData". |
Details
For further details see Myers et al. (2011).
Value
post.rep
returns a list of replicated data.
Author(s)
Sergio Venturini sergio.venturini@unicatt.it,
Jessica A. Myers jmyers6@partners.org
References
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.
See Also
bhm.constr.resamp
,
bhm.mcmc
,
bhm.resample
,
p.value
.
[Package mederrRank version 0.1.0 Index]