Dear Stata community,
I am currently working on Stata 18 version, and I can't find the way to calculate the 95% conf. interval of the LR+ and LR -
Does someone knows how to perform the 95% conf. interval of the LR+ and LR - on Stata?
Thanks in advance
I am currently working on Stata 18 version, and I can't find the way to calculate the 95% conf. interval of the LR+ and LR -
Code:
diagtest Test Outcome
(8,050 observations deleted)
| Outcome
Test | 0 1 | Total
-----------+----------------------+----------
0 | 385 42 | 427
1 | 86 35 | 121
-----------+----------------------+----------
Total | 471 77 | 548
True D defined as mort ~= 0 [95% Conf. Inter.]
-------------------------------------------------------------------------
Sensitivity Pr( +| D) 45.45% 41.29% 49.62%
Specificity Pr( -|~D) 81.74% 78.51% 84.98%
Positive predictive value Pr( D| +) 28.93% 25.13% 32.72%
Negative predictive value Pr(~D| -) 90.16% 87.67% 92.66%
-------------------------------------------------------------------------
Prevalence Pr(D) 14.05% 11.14% 16.96%
-------------------------------------------------------------------------
. roctab Outcome Test
Detailed report of sensitivity and specificity
------------------------------------------------------------------------------
Correctly
Cutpoint Sensitivity Specificity classified LR+ LR-
------------------------------------------------------------------------------
( >= 0 ) 100.00% 0.00% 14.05% 1.0000
( >= 1 ) 45.45% 81.74% 76.64% 2.4894 0.6673
( > 1 ) 0.00% 100.00% 85.95% 1.0000
------------------------------------------------------------------------------
ROC Asymptotic normal
Obs area Std. err. [95% conf. interval]
------------------------------------------------------------
548 0.6360 0.0299 0.57734 0.69461
Does someone knows how to perform the 95% conf. interval of the LR+ and LR - on Stata?
Thanks in advance

Comment