View source: R/logLikelihoodRatioBinomial.R
logLikelihoodRatioBinomial | R Documentation |
Performs the log-likelihood ratio test for a collection of 2 x 2 tables of the form
event | not event | |
drug | a | c |
not drug | b | d
|
logLikelihoodRatioBinomial(a, b, c, d)
a |
A vector with the counts of the upper left corner of the tables |
b |
A vector with the counts of the lower left corner of the tables |
c |
A vector with the counts of the upper right corner of the tables |
d |
A vector with the counts of the lower right corner of the tables |
The log-likelihood ratio
Lian Duan, Khoshneshin, M., Street, W. N., & Mei Liu. (2013). Adverse drug effect detection. IEEE Journal of Biomedical and Health Informatics, 17(2), 305–11. https://doi.org/10.1109/TITB.2012.2227272
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.