mederrResample-class: Class "mederrResample". Simulated Monte Carlo Chains (Step 2)...

Description Objects from the Class Slots Methods Author(s) References See Also

Description

This class encapsulates the information needed to resample the Monte Carlo chains for the Bayesian Hierarchical Model as described in Myers et al. (2011) using user defined values for k and eta.

Objects from the Class

Objects can be created by calls of the form new("mederrResample", log.ir, samp, A, t.new, t.old, grd), but most often as the result of a call to bhm.resample.

Slots

log.ir:

Object of class "array"; logarithm of the importance ratio for each pair of (k,η) values.

samp:

Object of class "array"; resampled MCMC simulation indexes.

A:

Object of class "array"; transformation ratio for each pair of (k,η) values.

t.new:

Object of class "array"; θ_i posterior modes using (k = ∞, η = 1).

t.old:

Object of class "numeric"; θ_i posterior modes using user defined (k, η) values.

grd:

Object of class "list"; grid of required (k, η) values.

Methods

plot

signature(x = "mederrResample", y = "missing"): : Provides a graphical representation of a mederrResample object.

Author(s)

Sergio Venturini [email protected],

Jessica A. Myers [email protected]

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

bayes.rank. bhm.constr.resamp, bhm.mcmc.


mederrRank documentation built on May 30, 2017, 2:55 a.m.