I am trying to create excel files to provide to a school’s principal detailing information pertinent to each group of staff within their school on each tab. Currently
I am using the code shown below. When I use this code, I am able to get a file to output values on a tab for “Speech-Language Pathology,” although the school has observations for each category in ‘y’. However, at the same time the code is ran, I receive an error code of “too many or no observations specified.” Please help and let me know what I can do to create one file per school, with each category in ‘y’ as it’s on tab. The screenshot doesn't show it, but to confirm there is a semicolon at the end of export command, just after the word replace.
Stata Version: SE 12.1
Comment