Beyond population density: A new framework for compact cities through amenity survival analysis · Study