Using bysort doesn't record all the groups (well maybe it does but I don't understand how to retrieve them), so it seems I have to use an if-condition for each level. This should be repeated/looped through a number of years, where each year has its own sheet. I'm trying to get the Stata command putexcel to give me summary statistics for a continuous variable, grouped by a categorical variable, one after another, in the same worksheet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |