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.
Margins and retaining only a subset of pairwise comparisonsLet's imagine I fit the following model, using a stock Stata dataset. Code: use http://www.stata-…
Panel Data Graphs with xtline - Restricting ID variableDear All, I have a data set with panel data, which covers 27 countries and 100 years. I want to sho…
Questions about Hausman commandHello. I am trying to test which model to use between fixed and random effect by computing Hausman c…
Latex-tabulate a combined matrix of coefficients and of t-statisticsI have many regressions (one per year, over 15 years) for 4 outcome variables. I have created 2 [15x…
Predicted probabilities after biprobitHi everyone, I am using a biprobit model with two dichotomized outcome variables (health and mortali…
Subscribe to:
Post Comments (Atom)
0 Response to Merging with dates, ignoring missing values.
Post a Comment