-
Notifications
You must be signed in to change notification settings - Fork 13
Population Dislocation or HHSR Modification
Choice Dislocation - Refers to a structure that is not severely damaged but the household choose to evacuate the property.
Unsafe occupancy - A structure that is severely damaged but the household has continued saying here
The modification to population dislocation would be to have a function that could be triggered with a flag. The function would then calculate two columns dsds0flag
and dsds3flag
. The two columns represent whether the household has choice dislocation or unsafe occupancy respectfully. This is used to filter the structures sent into HHSR
To flag if a structure has choice dislocation, check if the probability of DS_0 is greater than a threshold (by default 0.5). In this case the household does not enter the HHSR model as dislocated
To flag if a structure has unsafe occupancy, check if the probability of DS_3 is greater than a threshold (by default 0.5). In this case the household enters the HHSR model as dislocated
The additional inputs would be:
- Flag that would include calculating choice dislocation and unsafe occupancy
- Threshold for choice dislocation (optional)
- threshold for unsafe occupancy (optional)
- When the flag is enabled, the schema of the output would be changed (new columns for choice dislocation and unsafe occupancy). Need to have a new semantic type in that case
- Another possibility is the code of modifying pop dislocation to HHSR but it will impact other testbeds so need to check with the authors of HHSR.