Hello Statalisters,
I have downloaded some information from NZ.Stat (New Zealand Quarterly Work Statistics) and am having trouble reshaping due to the format of the data. I've posted an example so you can see what I mean. The data is downloadable (the easy part), but the format is layered in a way where I can't retain the region-specific information with the industry sector. Is there some way I can connect the region (in row 2) and add it to industry type (from row 3) and then reshape from wide to long so I can then collapse to get the annual figures for each year in the data? I know each of these commands so I don't need help with anything past the first (and most challenging step). See the thumbnail for the format of the data as it show in STATA and the csv file for the raw data that was imported to STATA. I have put in a request for NZ Stats to create this for me, but it accrues a cost for custom files, and since I have the data it doesn't make sense for me to pay for something that just needs a bit of manipulation to be useful for my project.
Best,
Davia Downey
Related Posts with Reshape Problem
Weight fire counts by its confidenceHi all, Please, could someone help me? I have satellite data with fires' location and for each fire …
logit vs probit in level/change specificationsDear all, I have to investigate the determinants of a certain ordinal dependent variable which can …
Reshaping to longDear all, thank you for the valuable advice you provide on this forum to all STATA newbies like me. …
"already preserved" errorHi, I have been running a piece of code through various universe of assets and I am getting the "al…
Sample 1: I have all data plus instrumental variables; Sample 2: I have all data but NOT the instrumental variables; What to do?Good morning, I am soliciting ideas of what you would do in the following situation: I have two wa…
Subscribe to:
Post Comments (Atom)
0 Response to Reshape Problem
Post a Comment