The S&P 500 and the Nasdaq rose for a fourth straight day on Wednesday as tech shares gained and offset some weak economic data. Equities have rallied in recent weeks, with both the Dow and S&P 500 hitting all-time highs as investors expect central bank stimulus measures will keep supporting market gains. Such policies have helped spur advances of about 15 percent in major indexes this year despite data showing signs of slowing growth. Activity in New York state's manufacturing sector unexpectedly contracted in May, falling to minus 1.43 from 3.05, below expectations for an increase to 4. Another report showed that U.S. industrial production fell 0.5 percent in April, more than expected. "It's disconcerting that the data was so much lower than what we were looking for, but there's no reason for investors to sell," said Michael Binger, senior portfolio manager at Gradient Investments in Minneapolis. "The main things driving the market - the Fed