I am completing a paper on the stock market and covid-19. I am trying to create a dummy variable so that all dates before an announcement = 0, all dates after=1.
Anyone know how I would go about this?
The purpose is to analyse how a stock price has changed due to a government announcement.