Bootstrapped Confidence Intervals for (Negative) Likelihood Ratio Tests
Compute the (positive/negative) likelihood ratio with appropriate, boo...
Internal function to analyze LR bootstrap finding median, and standard...
Compute sensitivity, specificity, positive likelihood ratio, negative ...
Compute values and confidence intervals for sensitivity, specificity, ...
Internal function to draw a set of sensitivities or specificities This...
Find the lowest population probability whose median is consistently on...
Prints results from diagCI As is typical for R, this is run automatica...
Prints results from the BayesianLR.test As is typical for R, this is r...
The actual function that runs the test. BayesianLR.test is a wrapper t...
Optimize a function returning a single numeric value subject to a bool...
Computes appropriate confidence intervals for the likelihood ratio tests commonly used in medicine/epidemiology, using the method of Marill et al. (2015) <doi:10.1177/0962280215592907>. 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'.