Empirical Bayes Methods for Pharmacovigilance
Obtain Akaike Information Criterion (AIC) for a pvEBayes object
Obtain Bayesian Information Criterion (BIC) for a pvEBayes object
Estimate expected null baseline count based on reference row and colum...
Fit an Efron model for a contingency table.
Fit a Koenker-Mizera (KM) model for a contingency table.
Fit gamma mixture based empirical Bayes models using ECM algorithm.
Estimate expected null baseline count based on reference row and colum...
Extract all fitted models from a tuned pvEBayes Object
Generate an eyeplot showing the distribution of posterior draws for se...
Generate random contingency tables based on a reference table embedded...
Generate a heatmap plot visualizing posterior probabilities for select...
Extract log marginal likelihood for a pvEBayes object
Pipe operator
Plotting method for a pvEBayes object
Generate posterior draws for each AE-drug combination
Print method for a pvEBayes object
Select hyperparameter and obtain the optimal general-gamma or efron mo...
A suite of empirical Bayes methods to use in pharmacovigilance.
Fit a general-gamma, GPS, K-gamma, KM or efron model for a contingency...
Summary method for a pvEBayes object
Select hyperparameter (p, c0) and obtain the optimal efron model based...
Select hyperparameter alpha and obtain the optimal general-gamma model...
A suite of empirical Bayes methods to use in pharmacovigilance. Contains various model fitting and post-processing functions. For more details see Tan et al. (2025) <doi:10.48550/arXiv.2502.09816>, <doi:10.48550/arXiv.2512.01057>; Koenker and Mizera (2014) <doi:10.1080/01621459.2013.869224>; Efron (2016) <doi:10.1093/biomet/asv068>.
Useful links