hi, i have a set of events with cusip date.
i also have a dataset with CRSP data. cusip and date and stock px.
the issue with my events data is that it does not always fall on a trading day.
how do i flag the next date in the CRSP dataset (IF i do not have the same date match)?
thank you in advance for all the kin dhelp.
It would be better if you post some data and output.
I think you could start with the following code.
data want;
set date cusid;
by date;
run;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!