People with the median income don't live in silicon valley. 50k goes further in the midwest than 100k in SF.
Now imagine the household isn't one 20-something person, but two adults, closer to middle-aged, with a kid or two. 2.3 people per household in 2011 in SF.
You just proved my point.