Hi,
Hope all is well. I am quite new to STATA and was using this forum a lot while I was studying a course in Empirical Finance. Now I am working on an event study but I'm having trouble with my data and I can't figure it out. It is very basic but it is driving me nuts.
My data set is all stocks listed on Nasdaq Copenhagen. Currently, each firm is a separate variable. My problem is that I'd like all firms to be in one single variable, but I don't know if there is a way I can mass reshape all of the variables.
Please the picture below for my current data set(parts of it).
And this is the way I'd like the data set to look(please ignore the price vs return difference).

Sorry for the trouble.
Best regards,
Nima
Hope all is well. I am quite new to STATA and was using this forum a lot while I was studying a course in Empirical Finance. Now I am working on an event study but I'm having trouble with my data and I can't figure it out. It is very basic but it is driving me nuts.
My data set is all stocks listed on Nasdaq Copenhagen. Currently, each firm is a separate variable. My problem is that I'd like all firms to be in one single variable, but I don't know if there is a way I can mass reshape all of the variables.
Please the picture below for my current data set(parts of it).
And this is the way I'd like the data set to look(please ignore the price vs return difference).
Sorry for the trouble.
Best regards,
Nima
Comment