Learn R Programming

mederrRank (version 0.1.0)

logunpost: Unnormalized Marginal Posterior Distributions for \(k\) and \(\eta\)

Description

This functions computes the unnormalized marginal posterior distributions for the \(k\) and \(\eta\) parameters as described in Myers et al (2011).

Usage

logunpost(resample)

Value

logunpost returns an array with the posterior distribution values.

Arguments

resample

an object of class "mederrResample".

Author

Sergio Venturini sergio.venturini@unicatt.it,

Jessica A. Myers jmyers6@partners.org

Details

logunpost is used in the plot method for a mederrResample object.

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, mederrResample.