A new study analyzed prices for common goods across all 50 states, comparing them against median household income.