Based on Bankrate's analysis of data from the 2016 American Community Survey. Bankrate put the most emphasis on average income (70%), followed by unemployment (20%) and share of advanced degrees (10% - to account for the extra expense required for degrees that require additional education).