Hello @RDellaVilla ,
This is exactly the same question as in the "statistical procedures" board if I am right.
Over there you have accepted my solution, so I paste it once again.
I do not have the 'power' to merge both questions into one.
data have;
input permno date jumps_pa;
informat date ddmmyy10.;
format date exc_retadj retidio ddmmyy10.;
exc_retadj = INTNX('DAY',date,-30,'SAME');
retidio = INTNX('DAY',date,+30,'SAME');
cards;
10000 21/01/2021 1
;
run;
/* end of program */
Cheers,
Koen
... View more