Skip to content

Population Dislocation or HHSR Modification

Vismayak Mohanarajan edited this page Mar 19, 2024 · 1 revision

Aim - Incorporating Choice dislocation and Unsafe occupancy

Description

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

image

Inputs

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)

Considerations

  • 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. 

Outputs

Updates

Provided Files

galveston_community_app_2023-04-15_Kooshan.ipynb.zip