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?
Estimating the Effect of a given variable on mortality ratesHi everyone, Below is an example from my dataset. datediag dead dateexit id perdiag agegrp 4429 1 …
Unbiased 95% CI of an x variable in y units after gsem ln(y)Charles Huber discusses the interpretation of models with log-transformed outcomes in Stata News 34-…
Change in probablity of being downgraded as the explanatory variable change from the bottom (30%) to the top (30%) of the sampleDear all, I am sorry to bother you. I was wondering how one could calculate the change in probablit…
Training sample for lasso and them making out of sample predictionsDear All I have created a loop to generate forecasts using a lasso regressions that (I hope) are co…
Interpretation of clogithet regression (discrete choice experiment)Hi all, For my masterhtesis I've performed a discrete choice experiment. Currently I'm running diff…
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