The study compared data from 133 of the country’s largest cities, examining factors like median household income, homeownership rate, education level, and labor force participation rate.