logLikelihoodRatioBinomial: Binomial Log-Likelihood Ratio Test

Description Usage Arguments Value References

View source: R/logLikelihoodRatioBinomial.R

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

1

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 Dec. 14, 2020, 9:31 a.m.