According to research provided by J.P. Morgan Asset Management, annual calendar year returns for the S&P 500 Stock Index from 1980 to 2019, averaged 8.9%. However, take a close look at how this average was obtained and you will see a volatile (normal) pathway to long-term investing. Great research provided by J.P. Morgan. See it here.
Brian Wesbury, Chief Economist at First Trust, looks at what is currently known about the Coronavirus and how past outbreaks have affected the US stock market. From an investment perspective, this is one of the clearest commentaries that I have read regarding the Coronavirus. Read it here.
While no conclusions can be drawn about the effects of infectious outbreaks and stock market performance, but the attached report by Marketwatch provides an historic perspective. You can see market returns after previous epidemics here.