Hi,

I am trying to reshape long the following dataset:
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input double(r_EPS r_DGRO r_MGK sd_EPS sd_DGRO sd_MGK SR_EPS SR_DGRO SR_MGK)
.0020684573341622657 .002197724135520811 .0033902101308780743 .025480517579479105 .024766451760310653 .025364229984079965 .08117799521576873 .088737949093005 .1336610704526005
end
I would like to r_ , sd_ and SR_ as variables and 1 additional variable called "ETF". I have tried this but it is not the right syntax:
Code:
reshape long r_ sd_ SR_
Please help. Thanks.