Package: openEBGM
Title: EBGM Disproportionality Scores for Adverse Event Data Mining
Version: 0.10.0
Authors@R: c(
	person("John", "Ihrie", email = "John.Ihrie@fda.hhs.gov",
	       role = c("cre", "aut")),
	person("Travis", "Canida", email = "Travis.Canida@fda.hhs.gov", role = "aut"),
	person("Ismaïl", "Ahmed", role = "ctb",
	       comment = "author of 'PhViD' package (derived code)"),
	person("Antoine", "Poncet", role = "ctb",
	       comment = "author of 'PhViD'"),
	person("Sergio", "Venturini", role = "ctb",
	       comment = "author of 'mederrRank' package (derived code)"),
	person("Jessica", "Myers", role = "ctb",
	       comment = "author of 'mederrRank'"))
Maintainer: John Ihrie <John.Ihrie@fda.hhs.gov>
Description: 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.
Depends: R (>= 3.5.0)
License: GPL-2 | GPL-3
URL: https://journal.r-project.org/articles/RJ-2017-063/index.html
LazyData: true
Imports: data.table (>= 1.10.0), ggplot2 (>= 3.5.0), numDeriv, stats
        (>= 3.5.0)
Suggests: DEoptim (>= 2.2), dplyr (>= 0.5.0), knitr (>= 1.15.1),
        rmarkdown (>= 1.2), testthat (>= 3.3.0), tidyr (>= 1.0.0)
VignetteBuilder: knitr
Encoding: UTF-8
NeedsCompilation: no
Config/roxygen2/version: 8.1.0
Config/testthat/edition: 3
Packaged: 2026-09-03 20:00:39 UTC; John.Ihrie
Author: John Ihrie [cre, aut],
  Travis Canida [aut],
  Ismaïl Ahmed [ctb] (author of 'PhViD' package (derived code)),
  Antoine Poncet [ctb] (author of 'PhViD'),
  Sergio Venturini [ctb] (author of 'mederrRank' package (derived code)),
  Jessica Myers [ctb] (author of 'mederrRank')
Repository: CRAN
Date/Publication: 2026-09-03 21:00:02 UTC
Built: R 4.5.2; ; 2026-09-03 21:50:18 UTC; unix
