Hi all,
I have daily stock returns in my dataset. One of the variables is the stock identifier (so for this variable the stocks are repeated for each date). I have one variable that is equal to 5523 if the stock did stocksplit on one day. I would like to keep only the stocks that did split. The problem is that when I try to do this, I only manage to keep the observations for the day of the stock split and I loose all the other daily observations for the stocks that did return. How I can proceed to keep only the stocks that did split and with all the observations of each stock?
Thank you
Related Posts with dropping variables
Group identifier for individual panels: repeated time values within panelHi all, I'm hoping to be able to get some guidance on a work-around for the repeated time values wi…
oprobit marginal effects - urgent pleaseI used the following estimation command to understand the interaction effect of ownership and knowle…
Creating own table in StataHi, Slightly strange request but I am doing some analysis and tabulations for one of my colleagues …
Mixed models repeated measuresHi, I'm trying to find the best model for answering a repeated measures problem. The research quest…
changing working directoryHi everyone, I recently updated to Stata 15. In the main window, I used to be able to change the wo…
Subscribe to:
Post Comments (Atom)
0 Response to dropping variables
Post a Comment