Blink and you missed it, but the yield on the 2-year Treasury note traded briefly above the yield on the 10-year note Tuesday afternoon, temporarily inverting the yield curve and triggering recession warning bells.

So how worried should stock-market investors be?

Data shows that it hasn’t paid in the past to abandon stocks the moment the…