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
Propensity Score Matching (PSM) + difference-in-difference (DID)Dear all, I am working on a study about estimate the effect of policy implementation. Now I have dat…
Compare differences in WTPHello all, I am using STATA 15.1 and estimating mixed logit models using Hole's command. I have est…
Clearing outreg2 resultsHi everyone, I am having some issues clearing results out of outreg2. I have the following code: …
reproducing the predicted probabilities after mlogit modelHi there, For the below mlogit output, I am trying to calculate the predicted probabilities for my s…
teffects non-converegenceHi there, I seem to be having problems using the teffects ipwra command resulting in models leading…
Subscribe to:
Post Comments (Atom)
0 Response to Help converting time series data to panel data
Post a Comment