Hello everyone, I want to know how to go from panel data to time series. I have this dataset:
ID year cons
1 2008 19600
1 2010 24400
1 2012 29000
1 2014 24200
1 2016 16200
2 2008 9600
2 2010 15000
2 2012 13680
2 2014 15480
2 2016 18425
3 2008 17900
3 2010 18700
I would like to have it as:
year 1 2 3
2010 19600 9600 17900
2012 24400 15000 18700
2014 29000 .................
2016 ........................
Thank you a lot
Related Posts with from panel data to time series
Subgroup analysis in stcoxDear Statalisters, In this first post on Statlist I apologize in advance if the format or details a…
Test of difference between meansHi, I have data where I have compared the means and from visualising it I can see that one group ha…
Decile groups based on MPCEHello, I'm trying to re-create a table given in one of the technical reports on housing. The data se…
Loop to create new variablesHello, I have data with a date variable and some other variables. For each date, there are multiple…
Making predictions on spatial panel dataHello! I am trying to make a model for estimating the demand for city-bikes. For this, I have creat…
Subscribe to:
Post Comments (Atom)
0 Response to from panel data to time series
Post a Comment