You're comparing cost of living without taking into account median salaries? I don't think any comparison is complete without some sort of salary survey.
In particular, this data can be immensely useful if you live in X with a known salary and you have an offer for a different salary in Y, and you're wondering how it'll stack up. This will answer that question for you.