I suspect I am asking something quite simple, however after reviewing the ttest help file I am still quite stuck
I have a hospital dataset with episode level records for 19 procedures before and after an intervention: Int1 (a binary variable before and after intervention)
I am attempting to undertake a ttest to compare mean age, gender, IMD, charlson, by Int1, and produce a summary table showing confidence intervals and p values.
I currently do not know any other way of doing this apart from running: ttest age if procedure=="procedure1", by(Int1) 76 times for different combinations of procedure, and patient characteristics
I would be very grateful for any advice regarding a quick way to do this, including exporting results using eststo/etstab, which I have so far found unsatisfactory for this purpose
Thank you in advance, I find the advice on this forum extremely useful.
Related Posts with help with t tests and summary statistics
Problem merging two panel datasetsI have the following panel dataset of number of workers on online websites ( such as freelancer, Upw…
clustering error in gravity modelHi stata users, Currently, I'm researching for my thesis about the impact of non-tariff measures on…
S-GMM interpretationHello everyone! I'm confused by my Stata-output. I'm doing a system-GMM estimation with bank risk a…
Diff-in-diff with dynamic treatment timeHi, I am trying to investigate the effect of an in-hospital intervention on: 1) Time to emergency …
System GMM with xtabond2 and xtdpdgmmHi Statalisters, I would like some input on my choices between xtabond2 and xtdpdgmm, as they diffe…
Subscribe to:
Post Comments (Atom)
0 Response to help with t tests and summary statistics
Post a Comment