WASHINGTON — The U.S. economy generated jobs last month at the fastest pace since February, a sign it is resilient enough to pull out of a midyear slump and grow modestly as the rest of the world slows down.
The 163,000 jobs employers added in July ended three months of weak hiring. But the surprising gains weren't enough to drive down the unemployment rate, which ticked up to 8.3 percent last month from 8.2 percent in June — the 42nd straight month the jobless rate has exceeded 8 percent. The United States remains stuck with the weakest economic recovery since World War II.
The latest job numbers, released Friday by the Labor Department, provided fodder both for President Barack Obama, who highlighted improved hiring in the private sector, and Republican challenger Mitt Romney, who pointed toward higher unemployment.
"It's not especially weak, but it's not especially strong," said Scott Brown, chief economist at the investment firm Raymond James.
Investors focused on the positive. The Dow Jones industrials surged 217 points.
Three more monthly jobs reports will come out before Election Day, including the one on October employment on Friday, Nov. 2, four days before Americans vote.
No modern president has faced re-election when unemployment was so high. President Jimmy Carter was bounced from office in November 1980 when unemployment was 7.5 percent.
In remarks at the White House, Obama said the private sector has added 4.5 million jobs in the past 29 months. But he acknowledged there still are too many people out of work. "We've got more work to do on their behalf," he said.
Former Massachusetts Gov. Romney focused on the increase in the unemployment rate, as did other Republicans. "Middle-class Americans deserve better, and I believe America can do better," Romney said in a statement.
The economy is still struggling more than three years after the Great Recession officially ended in June 2009. The collapse of the housing market and the financial crisis that followed froze credit, destroyed trillions of dollars in household wealth and brought home construction to a halt. Consumer spending, which accounts for 70 percent of economic output, remains weak as American families pay down debts and save more.
From April through June this year, the economy expanded at a listless 1.5 percent annual pace, a slowdown from the January-March pace of 2 percent.
The job market got off to a strong start in 2012. Employers added an average 226,000 a month from January through March.
But the hiring spree was caused partly by a surprisingly warm winter that allowed construction companies and other firms to hire earlier in the year than usual, effectively stealing jobs from the spring. The payback showed up as weak hiring — an average 73,000 a month — from April through June.
Then came the 163,000 new jobs in July, beating the 100,000 economists had expected.
Now that the warm weather effects have worn off, economists expect job growth to settle into range of 100,000 to 150,000 a month.
Which would be consistent: The economy has added an average of 151,000 jobs a month this year. But that hasn't been enough to bring unemployment down. At 8.3 percent, unemployment was as high in July as it had been in January.
The unemployment rate can rise even when hiring picks up because the government derives the figures from two different surveys.
One is called the payroll survey. It asks mostly large companies and government agencies how many people they employed during the month. This survey produces the number of jobs gained or lost.