Hello everyone!
I'm struggling to make stata to add and subtract dates from certain other dates. For example: using CRSP data on Apple stock prices I would like to be able to find stock price for certain date (t=0) and the stock price 5 days before (t=-5) and 5 days after (t=+5) that date. I need the absolute and relative differences between those values. What is the best command to use?
Thank you in advance,
Frank
I'm struggling to make stata to add and subtract dates from certain other dates. For example: using CRSP data on Apple stock prices I would like to be able to find stock price for certain date (t=0) and the stock price 5 days before (t=-5) and 5 days after (t=+5) that date. I need the absolute and relative differences between those values. What is the best command to use?
Thank you in advance,
Frank
Comment