![]() ![]() I agree with that a reproducible example would help mightily. This isn't an answer but it wouldn't display well as a comment. Can anyone help me identify what the problem might be? Might it be a problem with the way the loop is written or with the dataset itself? Thanks so much. The odd part is that the program is able to loop through and create matrices for year1 through year4. Putexcel `mycol'7 = matrix(vars_`myname') Mat vars_`myname' = variable1_`myname', variable2_`myname' Local name year1 year2 year3 year4 year5 year6Įstpost tabstat variable1 if level = 1 & year = `myyear', stat(sum)Įstpost tabstat variable2 if level = 4 & year = `myyear', stat(count) I am writing a program to export data by year using putexcel code, and am unsure where the error is in the following: * Create paired locals for years
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |