Summarize an openEBGM object
Summarize an openEBGM object
## S3 method for class 'openEBGM' summary(object, plot.out = TRUE, log.trans = FALSE, ...)
object |
An openEBGM object constructed by |
plot.out |
A logical value indicating whether or not a histogram of the EBGM scores should be displayed |
log.trans |
A logical value indicating whether or not the data should be log-transformed. |
... |
Additional arguments affecting the summary produced |
This function provides a brief summary of the results of the
calculations performed in the ebScores
function. In
particular, it provides the numerical summary of the EBGM and
QUANT_* vectors.
Additionally, calling summary
on an openEBGM
object will produce a histogram of the EBGM scores. By setting the
log.trans parameter to TRUE, one can convert the EBGM score to
EBlog2, which is a Bayesian version of the information criterion
(DuMouchel).
DuMouchel W (1999). "Bayesian Data Mining in Large Frequency Tables, With an Application to the FDA Spontaneous Reporting System." The American Statistician, 53(3), 177-190.
theta_init <- data.frame(alpha1 = c(0.2, 0.1), beta1 = c(0.1, 0.1), alpha2 = c(2, 10), beta2 = c(4, 10), p = c(1/3, 0.2) ) data(caers) proc <- processRaw(caers) squashed <- squashData(proc, bin_size = 100, keep_pts = 100) squashed <- squashData(squashed, count = 2, bin_size = 10, keep_pts = 20) suppressWarnings( hypers <- autoHyper(data = squashed, theta_init = theta_init) ) ebout <- ebScores(processed = proc, hyper_estimate = hypers) summary(ebout) summary(ebout, plot.out = FALSE) summary(ebout, log.trans = TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.