The Standard & Poor’s 500 index rose 9.51 points to 1,335.02 and the Nasdaq composite index climbed 33.33 points to 2,892.42. The gains turned the Nasdaq positive for the week.
Information technology stocks had the strongest gains of the 10 industry groups tracked by the S&P 500 index, followed by health care stocks and banks. The gains were small but widespread. All 10 sectors rose. Of the 30 stocks in the Dow, just two fell.
The Dow and S&P 500 finished the week lower, their first week of losses since June 1. The biggest drop of the week came Thursday, when a trio of weak manufacturing reports stirred fears about the global economy. The Dow lost 251 points, its second-steepest fall this year. The worst was June 1, after a dismal U.S. jobs report rattled markets.
Even with two days of deep losses, the S&P 500 is still up 1.9 percent this month. To Gendreau, it looks like investors have been overreacting to recent economic reports. ‘‘The market is getting jerked around,’’ he said. ‘‘The economic data point to a softening economy, but we've had a softening economy for three years now.’’
Among other stocks making big moves:
— Facebook surged 3.8 percent, rising $1.21 to $33.05. A Nomura analyst started covering the social-networking company with a price target of $40 and a ‘‘buy’’ recommendation. Brian Nowak said Facebook could make more money through charging companies for pages. He also thinks the stock looks cheap in comparison to what investors paid for Google at the same age.
— Truck leasing company Ryder System plunged 13 percent, the worst decline in the S&P 500 index. The Miami-based company cut its earnings forecast for the second quarter and full year, blaming weak demand for commercial truck rentals and unusually high costs for medical benefits. The stock lost $5.31 to $35.44.