Data shows thousands moved away from Bay Area over 4-year period