Hello Statalists,
This is an air quality panel data and it looks like this:
Array
The variable names in Chinese indicate different locations. However, I need type as variables on top, and locations listed as a column. I read the examples of reshape command and did not find a similar case. How should I do this? Thanks!
Best,
Sony Tian
Related Posts with How do I reshape my dataset with three identifiers (time, location, and index) when it's already wide?
Problem with implementing forward and backward linkages on stataHello, I am currently doing a research on FDI spillovers, at this point i need some help with imple…
Identify neighboring counties for treatment year and subsequent 2 yearsDear Stata users, I am working on a dataset of firms located in US counties for the years 2000-2018 …
asdoc + xtdidregress not workingHi Statalists! I wonder if someone else have a problem using asdoc together with the new xtdidregre…
How to draw 1:2 matched dataset then double the cases?Hello Statalists, Part of my data is as follows: Code: * Example generated by -dataex-. For more i…
Count unique observations by grouping vars if conditions is metHi I want to count the number of unique ID's per year and group. I have managed that with the follo…
Subscribe to:
Post Comments (Atom)
0 Response to How do I reshape my dataset with three identifiers (time, location, and index) when it's already wide?
Post a Comment