Hello,
I am trying to merge two datasets, one with stock price, so per company an observation per business day. The other dataset has the same amount of rows, but per company only a couple observations per year (the date is a dividend announcement).
When merging, the dates should align, while sticking to the correct company, but I cannot seem to figure this out. I want to do an event study on these announcements, but in order to work the dates should be on the same row.
Is there anything I might be missing, since I do not believe this should be so difficult.
Kind regards,
Victor
Related Posts with Merging with dates, ignoring missing values.
Creating a new variablehello! i would like to make two variables into one variable. The variables contain at which universi…
Joint model analysis using command stjmHello, I am using Stata 16 and want to run a joint model analysis to simultaneously model a longitu…
Standardising variables across waves in panel data analysis - how?Good morning all from a very gloomy Ireland where we have just reported our highest daily number of …
Urgent: How to change the relationship according to HH serial numberDear All, How can I select and create a new data set with all household heads and those household w…
Fixed effects with dummy instrumental variablesHi Statalist fellows. Please, could anyone help me? I am trying to run a FE model with iv. My IVs ar…
Subscribe to:
Post Comments (Atom)
0 Response to Merging with dates, ignoring missing values.
Post a Comment