Hello,
I am trying to change the orientation of my data, but do not know an efficient way of going about it. I have data for the prices for a basket of different goods across 10 years and multiple states. The data is currently formatted as pictured below. I want to change it so there is a month variable and each of the price series is its own variable.
In other words, I would like my data to look like this
Year Month Price_Series1 Price_Series2 ........
What is the best way to go about this?
Thank you!
Christy
Related Posts with Reshaping data
Controlling for year when appending two datasetsHello, One newbie question but I'm stuck on this basic task. I'm pooling two datasets from two diff…
probleme to perform ado functionDears, i am a new one on this forum and on stata, thank you for your help my question is : I want t…
Can i pick the Model with lower AIC but higher BIC?Good day Everyone, I was comparing two models Model2 has a lower AIC but a higher BIC. can i pick m…
probleme to perform ado functionDears, i am a new one on this forum and on stata, thank you for your help my question is : I want t…
Quantile regression (QR) for panel dataDear all, i hope you are doing good i'm trying to work on a non linear relationship. does quantile…
Subscribe to:
Post Comments (Atom)
0 Response to Reshaping data
Post a Comment