pROC icon indicating copy to clipboard operation
pROC copied to clipboard

likelihood ratios (and associated CIs) from pROC

Open yhpua opened this issue 3 years ago • 4 comments

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!

yhpua avatar Jan 03 '22 02:01 yhpua

Thanks for the request, it should be feasible. Do you have a reference for the exact formulas to calculate these 2 ratios?

xrobin avatar Jan 03 '22 08:01 xrobin

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.

yhpua avatar Jan 04 '22 01:01 yhpua