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
Why Use Stata?I've found this brief article interesting (https://www.theanalysisfactor.com/why-use-stata/). …
Problem with xtpdynI am trying to estimate a probit model with xtpdyn. However, when I run Code: xtpdyn hnpl gdp lir …
qreg2 'invalid cluster' errorHi, I have a question about the qreg2 command and would appreciate your feedback. I am using data …
R(504) Matrix has missing values using DEA in STATAHI Everyone, I am using data with 28 DMUS for 16 years, therefore, 473 observations. I have 4 output…
Sum of the three last years first osbervation within groupsDear all, I am facing some issues and I don't find any topic on my subject (sorry in advance if it …
Subscribe to:
Post Comments (Atom)
0 Response to help with t tests and summary statistics
Post a Comment