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.
Select cases with single observation from multiple variablesHi, I have some data in the following format: Array And what I need to do for my analysis is to se…
Back-transform inverse hyperbolic sine variable after survey regressionHi Stata listers, I am running an inverse hyperbolic sine regression with the survey command and ha…
Rolling Bayesian EstimationDear all, I am trying to obtain rolling "Bayesian" coefficients using a panel dataset with 50-quart…
Graph mirrored on x axis.Dear Statalist, I want to graph my two variables Eff...DOWN and Eff...UP across time (variable Flex…
How to aggregate variables into a single variableHi all, I am looking at sickness absence in various occupations in LFS data. The dataset contains t…
Subscribe to:
Post Comments (Atom)
0 Response to Merging with dates, ignoring missing values.
Post a Comment