Learn R Programming

mederrRank

Bayesian Methods for Identifying the Most Harmful Medication Errors Using R

Copy Link

Version

Install

install.packages('mederrRank')

Monthly Downloads

141

Version

0.1.0

License

GPL (>= 2) | file LICENSE

Maintainer

Sergio Venturini

Last Published

September 5th, 2023

Functions in mederrRank (0.1.0)

llDiffT

Log-Likelihood Difference for the \(\theta_i\) Parameters
mederrRank-package

tools:::Rd_package_title("mederrRank")
logp

Negative Log-Posterior Function of the Bayesian Hierarchical Model for Identifying the Most Harmful Medication Errors
mixnegbinom.em

Expectation-Maximization Algorithm for the Mixture of Negative Binomial Distributions
logunpost

Unnormalized Marginal Posterior Distributions for \(k\) and \(\eta\)
mixnegbinom.score

Log-Likelihood Score Function for the Mixture of Negative Binomial Distributions
mederrData-class

Class "mederrData". Data Specification for Identifying the Most Harmful MEdication Errors using a Bayesian Hierarchical Model.
mederrResample-class

Class "mederrResample". Simulated Monte Carlo Chains (Step 2) for the Bayesian Hierarchical Model Used to Identify the Most Harmful Medication Errors.
mederrFit-class

Class "mederrFit". Simulated Monte Carlo Chains (Step 1) for the Bayesian Hierarchical Model Used to Identify the Most Harmful Medication Errors.
mixnegbinom.loglik

Log-Likelihood Function for the Mixture of Negative Binomial Distributions
negbinom.em

Expectation-Maximization Algorithm for the Negative Binomial Distribution
p.value

Posterior Predictive Test statistics
simdata

Simulated Data
plot-methods

Plot of Medication Error Data and Analysis
summary-methods

Summary of Medication Error Data and Analysis
negbinom.loglik

Log-Likelihood Function for the Mixture of Negative Binomial Distributions
post.rep

Posterior Predictive Data Replications
negbinom.score

Log-Likelihood Score Function for the Negative Binomial Distribution
rmixnegbinom

The Negative Binomial Mixture Distribution
dmixnegbinom

The Negative Binomial Mixture Distribution
EBGM

Geometric Mean of the Relative Risk Empirical Bayes Posterior Distribution
dnegbinom

The Negative Binomial Distribution
bayes.rank

Optimal Bayesian Ranking
MEDMARX

Subset of the MEDMARX Data
dst

The Skewed Student t Distribution
bhm.constr.resamp

Markov Chain Monte Carlo Estimation (Step 2) of the Bayesian Hierarchical Model for Identifying the Most Harmful Medication Errors
llDiffD

Log-Likelihood Difference for the \(\delta_j\) Parameters
bhm.mcmc

Markov Chain Monte Carlo Estimation (Step 1) of the Bayesian Hierarchical Model for Identifying the Most Harmful Medication Errors
bhm.resample

Resampling Transformation for the Markov Chain Monte Carlo Estimation Simulation of the Bayesian Hierarchical Model for Identifying the Most Harmful Medication Errors