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
Operations with egen variables and export to Excel formatVariables: numeric: credit_value insurance_value payment date: credit_date (daily date) I generated…
Guidance on Multilevel ModelingHello everyone, I am working towards building a statistical model that predicts basic income prefer…
Storing values of a multivariate regressionHi Statalist! I have a panel data set with multiple variables (X1, X2, ...). I am trying to run a m…
Problem with margins in multilevel random slope and stataI run a multilevel model xtmelogit vd vi if eurozone==1 || countryid:, ml var and the results come o…
ivreg2Hi Statalist, My problem is to evaluate two treatments for bladdercancer. Data is from an observati…
Subscribe to:
Post Comments (Atom)
0 Response to Reshaping the Bruegel Dataset
Post a Comment