EBGM Scores for Mining Large Contingency Tables

An implementation of DuMouchel's (1999) Bayesian data mining method for the market basket problem. Calculates Empirical Bayes Geometric Mean (EBGM) and quantile scores from the posterior distribution 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.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("openEBGM")

0.2.0 by John Ihrie, 2 months ago


Browse source code at https://github.com/cran/openEBGM


Authors: John Ihrie [cre, aut], Travis Canida [aut], Ismaïl Ahmed [ctb] (author of 'PhViD' package (derived code)), Antoine Poncet [ctb] (author of 'PhViD' package (derived code))


Documentation:   PDF Manual  


GPL-2 | GPL-3 license


Imports data.table, ggplot2, stats

Suggests dplyr, knitr, rmarkdown, testthat, tidyr


See at CRAN