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?
difference to difference-introduction of minimum wage in a specific yearhi, As part of my coursework i am analysing the effect of introduction of minimum wage on employmen…
Multiple hypothesis testingHello Users, I am a new user of the stata software. I am analysing the usage of maternal care serv…
Drop command to remove rows "0 observations deleted"I have been trying to drop a number of rows in my dataset, but for some reason, they still remain ev…
replacing observations within groupsHello everyone, I have a dataset where I have several text_rules belonging to text types inside dif…
Height for age and Height percentilesDear all, I will please like to find out how to calculate height for age as well as height percenti…
Subscribe to:
Post Comments (Atom)
0 Response to How do I export multiple diagnostic tests to one .csv table?
Post a Comment