logLikelihoodRatioBinomial: Binomial Log-Likelihood Ratio Test

View source: R/logLikelihoodRatioBinomial.R

logLikelihoodRatioBinomialR Documentation

Binomial Log-Likelihood Ratio Test

Description

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

Usage

logLikelihoodRatioBinomial(a, b, c, d)

Arguments

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

Value

The log-likelihood ratio

References

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


bips-hb/pvm documentation built on Feb. 13, 2025, 3:32 a.m.