This doesn't answer your question directly but might be helpful:
you won't have much data given the frequency of release of GDP
composition of GDP has changed significantly over time (e.g. less VA
from manufacturing, more from services)
GDP is revised substantially and a long time after initial release (e.g.
corporate profit component of US GDP was ...
Normally, your question is formulated by asking if gdp is linked to stock performance, since gdp is output, it is very clearly linked to revenue growth. In which case, the question is: does gdp growth lead to higher excess returns? Just food for thought. Either way, here’s a paper I came across myself when I was looking into the same question. They site a ...