Bootstrapped Confidence Intervals for (Negative) Likelihood Ratio Tests

Computes appropriate confidence intervals for the likelihood ratio tests commonly used in medicine/epidemiology, using the method of Marill et al. (2015) . It is particularly useful when the sensitivity or specificity in the sample is 100%. Note that this does not perform the test on nested models--for that, see 'epicalc::lrtest'.


bootLR v1.0.2 (Release date: 2018-06-17)


  • Updated package to remain compatible with latest R changes
  • confusionStatistics() is now an exported function
  • diagCI() now returns the various common 2x2 table diagnostic summary statistics and their confidence intervals

bootLR v1.0 (Release date: 2015-07-10)


  • Many minor fixes
  • Replaced a grid search with a direct application of the binomial distribution, yielding marked speed improvements
  • Reduced the number of bootstrap replicates to 10,000 (from 50k), but added an outer loop to average 50 bootstrap estimations, yielding speed reductions but more stable estimates.
  • This is the initial full release, and coincides with the release of the corresponding methodological paper in SMMR:

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.2 by Ari B. Friedman, 2 years ago

Browse source code at

Authors: Keith A. Marill and Ari B. Friedman

Documentation:   PDF Manual  

LGPL-2.1 license

Imports boot, stats, binom

Suggests testthat

See at CRAN