Hi,
I would like some help on reshaping time series data in panel format, where the time series data relates to the return index on bank's stocks, obtained from Datastream. I have studied the help guide on the reshape command but still cannot figure out how to do this. I am assuming I have to use ''reshape long'', but I am not sure if the way my data is organized now allows me to use this command to obtain the desired result. In the attached file you can find a screenshot from the browse window in stata which gives a good idea of how my dataset looks like. The return index is obtained for 71 banks on a daily basis for the period 2008-2014. Any help on how I can reshape this data into panel format would be much appreciated.
Thanks in advance,
Ali
I would like some help on reshaping time series data in panel format, where the time series data relates to the return index on bank's stocks, obtained from Datastream. I have studied the help guide on the reshape command but still cannot figure out how to do this. I am assuming I have to use ''reshape long'', but I am not sure if the way my data is organized now allows me to use this command to obtain the desired result. In the attached file you can find a screenshot from the browse window in stata which gives a good idea of how my dataset looks like. The return index is obtained for 71 banks on a daily basis for the period 2008-2014. Any help on how I can reshape this data into panel format would be much appreciated.
Thanks in advance,
Ali
Comment