multChernoff is an R package for computing finite-sample tail bounds of the likelihood ratio test (LRT) of multinomial sampling. The tail bounds can be used to obtain conservative p-values and critical values, which provides valid inference even when standard Chi-squared asymptotics do not hold.

Installation

# install.packages("devtools")
devtools::install_github("richardkwo/multChernoff")