Hi,
I have a bunch of variables, say: a,b,c,d,e. I want to do ttest by different classification. The classification variable is: aa, bb, cc, dd, ee
I understand that I can use ttable to generate a beautiful table of t test between two groups of many variables. Is there any way to generate a table with only one variable but by different classification standard, like: ttable a, by(aa, bb, cc, dd, ee)
(Stata does not allow more than one variable in by statement)
I appreciate it very much if someone can tell me some new functions or any other way to get what I want.
Thanks!
Related Posts with ttest by different classification standard
Subgroup analysis using Metan commandDear group, Stata novice here trying to create meta-analysis forest plots using Stata. I am really …
Confidence intervals for percent changeDear all, This question might sound stupid but I can't find the way to calculate 95%CI for percent …
Keep only first part of string up until any number, comma, or before the state nameHi All, I am trying to separate an area name in a dataset so I just have the particular city and no…
regress help requestedI have a dataset in which all the dependent variables are for the years 2020 & 2021. I have 4 de…
Interaction variable (using dummy and date variables)Hello everyone, I am trying to create an interaction variable by multiplying a dummy variable (0,1)…
Subscribe to:
Post Comments (Atom)
0 Response to ttest by different classification standard
Post a Comment