Edinburgh is cheaper for public transport. Rent is a shade more example, and I think more clearly if you do a cross comparison of similarly nice areas (for example compare Hyndland to say Newington) Glasgow would be much cheaper. 'Bad' areas are much the same in both cities.