(Bloomberg News) U.S. stocks rallied this week, erasing the 2011 decline for the Standard & Poor's 500 Index, as better-than-estimated economic data boosted confidence in the world's largest economy.

Bank of America Corp., General Electric Co. and Walt Disney Co. climbed more than 6.7 percent to lead advances in the Dow Jones Industrial Average. Energy producers and financial companies led a surge by all 10 groups in the S&P 500, adding at least 4.8 percent. Akamai Technologies Inc. soared 20 percent after agreeing to buy startup competitor Cotendo Inc. Oracle Corp. tumbled 11 percent after reporting quarterly earnings that missed analysts' estimates.

The S&P 500 climbed 3.7 percent for the week to 1,265.33, including a 3 percent surge on Dec. 20, the biggest one-day rally of the month. The Dow rose 427.61 points, or 3.6 percent, to 12,294, extending its 2011 gain to 6.2 percent. The Dow is at the highest level since July 27, when a political battle about the U.S. debt ceiling led stocks on a seven-day decline.

"The fundamentals here in the U.S. have been improving and I think investors were poised to want to see the equity prices move up," Mark Luschini, chief investment strategist at Philadelphia-based Janney Montgomery Scott LLC, which manages $54 billion, said in a telephone interview. The U.S. economic data "puts us on a path to avert the recession going into 2012."

Erasing Losses

The S&P 500 erased its decline for 2011, rising 0.6 percent for the year, after better-than-forecast economic reports sparked a four-day rally. Gauges on employment, consumer confidence and housing starts added to expectations that the U.S. economy can weather Europe's debt woes. The S&P 500 slumped 1.2 percent on Dec. 19 amid concern leaders weren't making enough progress in taming the euro-zone crisis.

Wall Street strategists forecast the S&P 500 will end the year at 1,278, or 1 percent higher than its current level. With four trading days left in 2011, the benchmark index for U.S. equities would need to climb about 0.2 percent each day to reach their projection. On average, the S&P 500 gains 1 percent in the last four days of the year, according to data dating back to 1928 compiled by Bloomberg.

The S&P 500 gained 3 percent on Dec. 20 on a report showing builders broke ground in November on more houses in the U.S. than at any time in the past 19 months. Meanwhile, concern about Europe's debt crisis eased as German business confidence unexpectedly grew and Spain sold more bills in an auction than the maximum target.

Jobless Claims

Stocks rose further during the week as the number of applications for unemployment benefits unexpectedly dropped last week to the lowest since April 2008. Confidence among U.S. consumers rose more than forecast in December, to a six-month high, as Americans began wrapping up their holiday spending.

"I'm going to call this a sign of relief over Europe combined with incrementally positive economic news," Frederic Dickson, who helps oversee $28 billion as chief market strategist at D.A. Davidson & Co. in Lake Oswego, Oregon, said in a telephone interview. "The positive news carried investors past the fact that there were a number of negative earnings surprises this week."