Learn R Programming

openEBGM (version 0.9.1)

EBGM Disproportionality Scores for Adverse Event Data Mining

Description

An implementation of DuMouchel's (1999) Bayesian data mining method for the market basket problem. Calculates Empirical Bayes Geometric Mean (EBGM) and posterior quantile scores using the Gamma-Poisson Shrinker (GPS) model to find unusually large cell counts in large, sparse contingency tables. Can be used to find unusually high reporting rates of adverse events associated with products. In general, can be used to mine any database where the co-occurrence of two variables or items is of interest. Also calculates relative and proportional reporting ratios. Builds on the work of the 'PhViD' package, from which much of the code is derived. Some of the added features include stratification to adjust for confounding variables and data squashing to improve computational efficiency. Includes an implementation of the EM algorithm for hyperparameter estimation loosely derived from the 'mederrRank' package.

Copy Link

Version

Install

install.packages('openEBGM')

Monthly Downloads

334

Version

0.9.1

License

GPL-2 | GPL-3

Maintainer

John Ihrie

Last Published

September 14th, 2023

Functions in openEBGM (0.9.1)

plot.openEBGM

Plot an openEBGM object
openEBGM-package

openEBGM: EBGM Disproportionality Scores for Adverse Event Data Mining
print.openEBGM

Print an openEBGM object
quantBisect

Find quantiles of the posterior distribution
processRaw

Process raw data
negLLzeroSquash

Likelihood with data squashing & zero counts
negLLsquash

Likelihood with data squashing and no zero counts
squashData

Squash data for hyperparameter estimation
negLLzero

Likelihood with zero counts
summary.openEBGM

Summarize an openEBGM object
autoHyper

Semi-automated hyperparameter estimation
autoSquash

Automated data squashing
ebgm

Calculate EBGM scores
ebScores

Construct an openEBGM object
caers_raw

Raw CAERS data
negLL

Likelihood without zero counts
hyperEM

Estimate hyperparameters using an EM algorithm
exploreHypers

Explore various hyperparameter estimates
Qn

Calculate Qn
caers

Dietary supplement reports and products