CHRISTOPHER S. RUGABERWASHINGTON (AP) â¿¿ The United States added a solid 171,000 jobs in October, and more than a half-million Americans joined the work force, the latest signs that the uneven economic recovery is gaining strength once again. In addition, more jobs were added in August and September than believed. But the unemployment rate inched up to 7.9 percent because not all those joining the work force found work, the government said Friday. The report was the final snapshot of the economy before the presidential election. "The economy is in a lot better shape than most people believe," said Joel Naroff, president of Naroff Economic Advisors. "That sets us up for stronger growth next year no matter who is elected on Tuesday." A government survey of households found that 578,000 Americans joined the work force in October, the Labor Department said. Of those, 470,000 found work. The difference is why the unemployment rate rose from 7.8 percent in September. Home prices are finally rising, and retailers and car companies this week reported stronger sales. Consumer confidence in October reached its highest point in almost five years, and stocks are within reach of record highs. Big businesses are still cautious, partly because of slowing global demand for their goods. But the report found that they continued to add jobs in greater numbers than they did last spring. A second government survey, of large companies and government agencies, yielded the 171,000 number. Companies added 184,000 jobs, the most since February, and federal, state and local governments cut 13,000. The report was compiled before Superstorm Sandy struck the East Coast earlier this week and devastated many businesses. Some economists think the rebuilding in the Northeast will add to construction jobs in the months ahead. The government also revised its data to show that 84,000 more jobs were added in August and September than previously estimated. August's job gain was revised to 192,000 from 142,000, and September's to 148,000 from 114,000.