Hi there!
I would first like to preface this post with the fact that I am very new to Stata; so, I apologize is this is a simple issue, but I am at a complete loss. I created a .do file to pre-process the ACS 5-year PUMS (Public Use Microdata Sample) files available as part of the census. Specifically, I am trying to only keep those observations specific to my project (those observations over the St. Louis Metro area where there are zero-car households or no hazard insurance). If I manually perform this process using the Data Editor, it successfully drops the irrelevant observations. However, the code I have written returns an excel file only with the heading labels and no subsequent observations.
I have attached my .do file for review. Any help would be greatly appreciated!
Thanks so much!
Amy
I would first like to preface this post with the fact that I am very new to Stata; so, I apologize is this is a simple issue, but I am at a complete loss. I created a .do file to pre-process the ACS 5-year PUMS (Public Use Microdata Sample) files available as part of the census. Specifically, I am trying to only keep those observations specific to my project (those observations over the St. Louis Metro area where there are zero-car households or no hazard insurance). If I manually perform this process using the Data Editor, it successfully drops the irrelevant observations. However, the code I have written returns an excel file only with the heading labels and no subsequent observations.
I have attached my .do file for review. Any help would be greatly appreciated!
Thanks so much!
Amy
Comment