NEW YORK - The Dow Jones industrial average has logged its first winning week in a month.
The Dow rose nearly 39 points Friday and ended the week with a gain of 2.8 percent, its best weekly advance since mid-February. The market slid in morning trading on disappointing retail sales numbers but started to pare its losses after a report found consumers were gaining confidence in the economy. The market climbed in the last hour of trading to end near the highs of the day.
Treasury prices rose, pushing down interest rates, after spiking Thursday.
The Reuters/University of Michigan consumer-sentiment index showed consumer confidence rose to its highest level since January 2008 and came in well ahead of forecasts. The jump in confidence was encouraging but still does not signal the all-clear for the economy, said Michael Sheldon, chief market strategist at RDM Financial Group in Westport, Conn.
"We recovered some lost ground, but there is still some ways to go," Sheldon said. That was evident in the disappointing retail sales report, which initially sent stocks lower.
The government reported that retail sales fell 1.2 percent in May. It was the first drop in eight months. It was a surprise to economists who had predicted the pace of growth would slow between April and May, but still rise.
Companies dependent on consumer spending fell after the report. Procter & Gamble Co., which makes Tide detergent and Gillette razors, lost 1.5 percent. J.C.Penney Co. fell 1.1 percent, while Macy's Inc. shares also slipped.
Technology shares got a boost after handset-maker Motorola Inc. settled a patent dispute with Research in Motion Ltd. Motorola rose 4 percent, while Research in Motion added less than 1 percent.
The mixed reports came a day after stocks surged on upbeat global economic figures. The day's swings extended the volatility that has been seen in recent weeks. The Dow climbed 279 points Thursday on reports from China, Japan, and Australia that indicated the global economy continues to improve.
Despite the gains Friday, analysts said traders aren't on edge. "The market is nervous," said Joe Heider, principal at Rehmann Financial in Cleveland. "It's reacting on a day-to-day basis."
Heider said the economy is not growing fast enough to overcome the concerns about Europe's debt crisis and other issues such as the oil spill in the Gulf of Mexico. That has led to fluctuations in the market, often within the same day. As it has done for most of the week, the market shifted direction in the final hour of trading Friday.
The Dow rose 38.54, or 0.4 percent, to 10,211.07. It had fallen nearly 90 points in morning trading. The Dow's climb of 279 points, or 2.8 percent, during the week was its best since the week that ended Feb. 19. The Standard & Poor's 500 index rose 4.76, or 0.4 percent, to 1,091.60, while the tech-heavy Nasdaq composite index rose 24.89, or 1.1 percent, to 2,243.60.
For the week, the S&P 500 index rose 2.5 percent and the Nasdaq rose 1.1 percent.