Hey everyone,
I need mean & standard error for 16 variables and would like to use the collapse command.
I understand I can create a variable list and use the collapse command on the variable list, but only if just one statistic is required, however I do need two.
Is there a way to avoid typing out all variables?
Here is what I used when it was only one variable:
Thanks!
I need mean & standard error for 16 variables and would like to use the collapse command.
I understand I can create a variable list and use the collapse command on the variable list, but only if just one statistic is required, however I do need two.
Is there a way to avoid typing out all variables?
Here is what I used when it was only one variable:
Code:
collapse (mean) y = agecat (semean) se_y = agecat, by(treatment region)
Comment