Four major cities in California were included in a Chapman University study of housing affordability around the world.