I would just keep in mind that the difference in housing cost between newcomers and those who have lived here for a long time can be very significant because of prop 13, rent control, and a local housing market that has inflated rapidly over the past 30 years.
I bet if you limited the range to households with college-age children, the median would be much higher. Those are peak earnings years for most people.