The numbers track closely with state figures released earlier this month.

“There has been fairly steady job gains … and that has improved incomes of households,” Northeastern University economist Alan Clayton-Matthews said. “The improving housing market also has been a big factor … and that’s improving households’ wealth as well as confidence.”

But though the stock market also has boosted retirement savings, he warned, “we’re not totally out of the woods yet.”