Good Day!
I am currently trying to reshape the Bruegel Dataset. Currently it is comprised of a year variable and several country variables as columns (see below):
Period Australia Austria ....... Vietnam
1996 XXX XXX XXX
1997 XXX XXX XXX
1998 XXX XXX XXX
1999 XXX XXX XXX
2000 XXX XXX XXX
*Note that XXX are actual values.
I am trying to reshape the data wherein countries would be a new variable (see below):
Period Country Exchange Rate
1996 Australia XXX
1996 Austria XXX
1996 Vietnam XXX
1997 Australia XXX
1997 Austria XXX
1997 Vietnam XXX
Since there would be two new variable, what would be the best command to perform this? Thank you!
Related Posts with Reshaping the Bruegel Dataset
Plotting multiple bar graphs with CII want to plot crude and age-adjusted rates with CI on a single graph. I'm using the following code …
how to deal with '' xthenreg'' for dynamic threshold modelsDear all Finally we get the stata' command to deal with the endogeneity issue for threshold model, …
How to create individual panel data through merging two cross sectionsHello All I am in need of desperate help regarding my model. I have cross-section data done for two …
Event study versus difference-in-difference.Dear All, I am trying to evaluate the impact of a treatment using difference-in-difference and even…
Export matrix to excel. How to asign rows on a loopHello, I'm estimating a model where I have 74,000 equations, and I want to export the estimators to…
Subscribe to:
Post Comments (Atom)
0 Response to Reshaping the Bruegel Dataset
Post a Comment