Dear Members,
I hope you could help me with the following problem, I have an dataset which contains ETF and index prices. I would like to Transform the dataset from time series to panel data. I can't find an example with the exact same format as my data. My data looks as following:
Date ETF1 ETF2 ETF3 ETF4
01/01/2005 ReturnETF1 RetrurnETF2 Return ETF3 ReturnETF4 .... ETF Return52
02/01/2005 ReturnETF1 RetrurnETF2 Return ETF3 ReturnETF4 .... ETF Return52
03/01/2005 ReturnETF1 RetrurnETF2 Return ETF3 ReturnETF4 .... ETF Return52
..... ReturnETF1 RetrurnETF2 Return ETF3 ReturnETF4 .... ETF Return52
01/01/2020 ReturnETF1 RetrurnETF2 Return ETF3 ReturnETF4 .... ETF Return52
I can't figure out to use the reshape command in this setting. I hope my question is clear and that you could help me. Thank you in advance.
With kind regards,
Jorrit Reijmers
Related Posts with Help converting time series data to panel data
average annual growth rates in panel dataDear all, I am currently working with a panel dataset, where I have country and year as indicators,…
Heckman two step modelDear Stata Users, I am attempting to apply the two step Heckman model, with a Tobit regression as f…
Fighting spaghetti: some small devices using linkplotA common kind of question on Statalist concerns plotting multiple time series. Spaghetti -- tangled …
creating change variables in panel-structureDear Statalists, I am currently working on my master thesis with Paneldata from the German Socioeco…
Reshape - variable names currently as valuesI have problems with data structure and would like to reshape into wide. Currently I have the name o…
Subscribe to:
Post Comments (Atom)
0 Response to Help converting time series data to panel data
Post a Comment