generate_household_sizes#
- generate_household_sizes(hh_sizes)[source]#
Create a list of the household sizes in random order so that as individuals are placed by age into homes running out of specific ages is not systemically an issue for any given household size unless certain sizes greatly outnumber households of other sizes.
- Parameters:
hh_sizes (array) – The count of household size s at index s-1.
- Returns:
An array of household sizes to be generated and place people into households.
- Return type:
Np.array