Here's which stocks outperform the market after housing starts beat expectations

The silhouette of a contractor is seen hammering wood framing for a house under construction in the Norton Commons subdivision of Louisville, Kentucky.
Luke Sharrett | Bloomberg | Getty Images

Housing starts soared to a more than nine-year high in October, blowing past even the most optimistic estimates by economists.

History shows investors should buy shares in makers of construction materials and home products after this number beats big. Retailers seem to also benefit as consumers feel wealthier.

October housing starts surged almost 26 percent to 1.32 million, topping the average economist estimate of 1.16 million, according to Thomson Reuters.

Using hedge fund analytics tool Kensho, CNBC PRO found out what happened to stocks in the five days after monthly housing starts beat economists' consensus by at least 1 standard deviation. This has occurred 26 times in the last 15 years.