Why has the stock market been holding up so well so far this year despite lots of pessimism about an impending recession? One possible explanation is that industry analysts are turning more optimistic on the earnings prospects of the companies they follow. We have been tracking the percent of S&P 500 companies with positive three-month percent changes in analysts' consensus forward earnings (chart). (FYI: “Forward” earnings is the time-weighted average of analysts’ consensus estimates for the current and following years.)