psrc / urbansim2

3 stars 0 forks source link

households estimation data has some samples that are missing previous building id. #165

Closed stefancoe closed 5 years ago

stefancoe commented 5 years ago

These are movers (not in-migrants) and should not be included for estimation. Buildings were never located for these samples. Since there are several varaibles that depend on previous_building_id, these should be removed for hlcm estimation.

stefancoe commented 5 years ago

For now, in_migrants get a previous_building_id of -1 the samples in question get a 0. In the hlcm.yaml file, a new choosers fit filter expression has been added to filter them out: previous_household_id = 0.