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.
Interaction variable (using dummy and date variables)Hello everyone, I am trying to create an interaction variable by multiplying a dummy variable (0,1)…
Keep only first part of string up until any number, comma, or before the state nameHi All, I am trying to separate an area name in a dataset so I just have the particular city and no…
regress help requestedI have a dataset in which all the dependent variables are for the years 2020 & 2021. I have 4 de…
Need help with i.year output in aregHello, Thanks for all the help I've received through this forum. I wanted to understand why I got 2 …
Subgroup analysis using Metan commandDear group, Stata novice here trying to create meta-analysis forest plots using Stata. I am really …
Subscribe to:
Post Comments (Atom)
0 Response to Merging with dates, ignoring missing values.
Post a Comment