Package: openEBGM 0.11.0

openEBGM: EBGM Disproportionality Scores for Adverse Event Data Mining

An implementation of DuMouchel's (1999) <doi:10.1080/00031305.1999.10474456> 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.

Authors:John Ihrie [cre, aut], Travis Canida [aut], Ismaïl Ahmed [ctb], Antoine Poncet [ctb], Sergio Venturini [ctb], Jessica Myers [ctb]

openEBGM_0.11.0.tar.gz
openEBGM_0.11.0.zip(r-4.7-any)openEBGM_0.11.0.zip(r-4.6-any)openEBGM_0.11.0.zip(r-4.5-any)
openEBGM_0.11.0.tgz(r-4.6-any)openEBGM_0.11.0.tgz(r-4.5-any)
openEBGM_0.11.0.tar.gz(r-4.7-any)openEBGM_0.11.0.tar.gz(r-4.6-any)
openEBGM_0.11.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
openEBGM/json (API)

# Install 'openEBGM' in R:
install.packages('openEBGM', repos = c('https://johnihrie.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • caers - Dietary supplement reports
  • caers_raw - Raw Human Foods Complaint System

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

4.05 score 2 stars 1 packages 1.9k downloads 14 exports 19 dependencies

Last updated from:d731cb3ee8. Checks:8 OK, 1 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK151
source / vignettesERROR235
linux-releaseOK196
macos-releaseOK143
macos-oldrelOK163
windows-develOK140
windows-releaseOK175
windows-oldrelOK160
wasm-releaseOK101

Exports:autoHyperautoSquashebgmebScoresexploreHypershyperEMnegLLnegLLsquashnegLLzeronegLLzeroSquashprocessRawQnquantBisectsquashData

Dependencies:clicpp11data.tablefarverggplot2gluegtableisobandlabelinglifecyclenumDerivR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

Hyperparameter Estimation with openEBGM
Background | Optimization | References | Data Squashing | Likelihood Functions | Special Wrapper Functions | autoHyper() | exploreHypers() | Expectation-Maximization Approach with hyperEM() | Specialized Optimization Packages

Last update: 2026-10-22
Started: 2023-09-15

Empirical Bayes Metrics with openEBGM
Background | Calculating the EB-Scores | Qn() | ebgm() | quantBisect() | Analysis of EB-Scores

Last update: 2026-09-03
Started: 2023-09-15

Introduction to openEBGM
Background | Purpose | References | Preparing Your Data | Data form | Column names | HFCS example (formerly CAERS)

Last update: 2026-09-03
Started: 2023-09-15

openEBGM Objects and Class Functions
Creating the Object | Custom hyperparameters | Using the Generic Functions | Conclusion

Last update: 2026-09-03
Started: 2023-09-15

Processing Raw Data with openEBGM
Using processRaw() | Using Stratification

Last update: 2026-09-03
Started: 2023-09-15