pROC
pROC copied to clipboard
likelihood ratios (and associated CIs) from pROC
I'm writing to ask if it is possible to add "positive and negative likelihood ratios" to the ret
arg of ci.coords()?
Thank you for pROC and for considering my request!
Thanks for the request, it should be feasible. Do you have a reference for the exact formulas to calculate these 2 ratios?
Thank you for your kind consideration.
To compute the CIs, the 2 oft-cited references are as follows:
Simel DL, Samsa GP, Matchar DB. Likelihood ratios with confidence: sample size estimation for diagnostic test studies. J Clin Epidemiol. 1991;44:763–770. doi: 10.1016/0895-4356(91)90128-V.
Martín-Andrés A, Álvarez-Hernández M. Two-tailed approximate confidence intervals for the ratio of proportions. Stat Comput. 2014;24:65–75. doi: 10.1007/s11222-012-9353-5.