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?
Temporarily use subset of dataHello, Is there a convenient way to temporarily use a subset of the data (i.e. just selecting or de…
duplicatesHi all, I am using duplicates tag to check the unique fyear and cusip_m combination and the dup is t…
xtabond2Good afternoon. I am applying xtabond2 to a dynamic panel data with 362 companies and dailly data si…
Using factor scores in analysisHello, I am running some analysis involving latent variables. I have generated factor scores in Sta…
Mediation analysis with panel data and individual fixed effects: direct and indirect effectsDear all, I have unbalanced panel data for a maximum of four waves per individual. Based on this da…
Subscribe to:
Post Comments (Atom)
0 Response to How do I export multiple diagnostic tests to one .csv table?
Post a Comment