Hello STATAlist friends!
I'm working with STATA 15 on a project validating a several tests to gold standard. For this I use the "diagt" command, "ref" is gold standard
diagt ref1 test1
diagt ref2 test2
diagt ref3 test3
diagt ref4 test4
diagt ref5 test5
Each line produce a nice table:
[95% Confidence Interval]
---------------------------------------------------------------------------
Prevalence Pr(A) 33% 33% 33.5%
---------------------------------------------------------------------------
Sensitivity Pr(+|A) 44.3% 43.4% 45.2%
Specificity Pr(-|N) 78.8% 78.3% 79.3%
ROC area (Sens. + Spec.)/2 .615 .61 .621
---------------------------------------------------------------------------
Likelihood ratio (+) Pr(+|A)/Pr(+|N) 2.09 2.02 2.16
Likelihood ratio (-) Pr(-|A)/Pr(-|N) .707 .695 .719
Odds ratio LR(+)/LR(-) 2.95 2.82 3.1
Positive predictive value Pr(A|+) 50.7% 49.8% 51.7%
Negative predictive value Pr(N|-) 74.2% 73.6% 74.7%
---------------------------------------------------------------------------
How do I add all tests into one single table (each test with columns reporting estimate and ci) and export it as .csv? I´ve tried esttab but it doesn't work.
Thank you for your help!
Yours sincerely,
Mats
Related Posts with How do I export multiple diagnostic tests to one .csv table?
How to create an index variable and analyze i vs. i - 1 (long data)How could I create a variable called test_index to enumerate (from 1 to ...) the tests for each reco…
xtabond2 GMM: No Observation ErrorHi, I have an unbalanced panel comprising of data from the years 2005 and 2011. I am trying to run …
Different Number of Observations when using 2SLS and IVprobitHi. I am examining the impact of the migration of one member on children in the migrant's household.…
Graphs for Difference-in-Difference estimationI have a pooled cross-section dataset of 788 firms for the period of 2006-2017. There was an exogeno…
Partial F Test or Chow TestStata users I've been searching for a long time. How I can I perform an partial f test in stata? …
Subscribe to:
Post Comments (Atom)
0 Response to How do I export multiple diagnostic tests to one .csv table?
Post a Comment