src.create_initial_states.task_create_background_characteristics
¶
Create a synthetic population that is representative of Germany.
Module Contents¶
Functions¶
|
|
|
|
|
|
|
|
|
Draw for each household to which county and federal state it belongs to. |
Create an educ contact priority Series. |
|
Attributes¶
- _build_initial_states(mc, county_probabilities, work_daily_dist, work_weekly_dist, other_daily_dist, other_weekly_dist, n_households, seed, no_vaccination_share)[source]¶
- _draw_counties(hh_ids, county_probabilities, seed)[source]¶
Draw for each household to which county and federal state it belongs to.
- _create_educ_contact_priority(df)[source]¶
Create an educ contact priority Series.
The values are 0 for anyone above 12 and uniform from 0 to 1 below. Children in households where no adult is retired or stays home have a higher educ contact priority than chidldren where at least one adult is at home.