src.create_initial_states.task_build_full_params

Module Contents

Functions

task_create_full_params(depends_on, produces)

_make_mergable_with_params(dist, category)

Change the index and Series name to easily merge it to params.

_build_assort_params(contact_models, age_assort_params)

_build_reaction_params(contact_models)

_add_virus_strain_params(params)

Add parameters governing the infectiousness of the virus strains.

_add_vacation_model_distribution_params(params)

_add_work_rapid_test_params(params)

Add parameters governing the rapid test demand at work.

_add_educ_rapid_test_fade_in_params(params)

Add the shares how many people with educ contacts get a rapid test.

_add_private_rapid_test_demand_fade_in_params(params)

Add the share of people demanding a rapid test after a Covid household event.

_add_rapid_test_reaction_params(params)

Add rapid test reaction params.

_convert_index_to_int_where_possible(params)

_build_share_known_cases_params()

_convert_to_int_if_possible(x)

pd.to_numeric did not correctly work.

_add_event_params(params)

Attributes

EPI_PARAMS_PATH[source]
_DEPENDENCIES[source]
task_create_full_params(depends_on, produces)[source]
_make_mergable_with_params(dist, category)[source]

Change the index and Series name to easily merge it to params.

Parameters
  • dist (pandas.Series) – distribution of number of contacts. The index is the support, the values the probabilities.

  • category (str) – name of the contact model to which the distribution belongs. This is set as the category index level of the returned Series.

Returns

Series with triple index category, subcategory, name.

the name index level is the support. the value column contains the probabilities.

Return type

pandas.Series

_build_assort_params(contact_models, age_assort_params)[source]
_build_reaction_params(contact_models)[source]
_add_virus_strain_params(params)[source]

Add parameters governing the infectiousness of the virus strains.

source: https://doi.org/10.1126/science.abg3055

“We estimate that this variant has a 43–90% (range of 95% credible intervals 38–130%) higher reproduction number than preexisting variants”

We take the midpoint of 67%.

_add_vacation_model_distribution_params(params)[source]
_add_work_rapid_test_params(params)[source]

Add parameters governing the rapid test demand at work.

Only 60% of workers receiving a test offer accept it regularly (https://bit.ly/3t1z0lf (COSMO, 2021-04-21))

We assume rapid tests in firms on Jan 01 2021.

2021-03-17-19: 20% of employers offer weekly test (https://bit.ly/3eu0meK) second half of March: 23% of workers report test offer (https://bit.ly/3gANaan)

2021-04-05: 60% of workers get weekly test (https://bit.ly/2RWCDMz)

2021-04-15: 70% of workers expected to get weekly tests (https://bit.ly/32BqKhd) COSMO (https://bit.ly/3t1z0lf, 2021-04-20) report <2/3 of people having work contacts receiving a test offer. We summarize this as 2/3 getting a test.

2021-04-19: employers are required by law to offer two weekly tests (https://bit.ly/3tJNUh1, https://bit.ly/2QfNctJ) There is no data available on compliance or take-up yet.

_add_educ_rapid_test_fade_in_params(params)[source]

Add the shares how many people with educ contacts get a rapid test.

Sources:
_add_private_rapid_test_demand_fade_in_params(params)[source]

Add the share of people demanding a rapid test after a Covid household event.

Bürgertests started in mid March but demand was very low initially (https://bit.ly/3ehmGcj). Anecdotally, the demand continues to be limited.

First tests to self-administer became available starting March 6. However, supply was very limited in the beginning (https://bit.ly/3xJCIn8).

According to the COSMO study (https://bit.ly/2QSFAgR, 2021-05-25) 63% would have been willing to take a rapid test in the round of 23rd of February 2021 and 60% in mid December 2020 when an acquaintance would have tested positive. For own symptoms that share was 70%.

We assume that for Easter visits many people demanded tests for the first time and are more likely to test themselves after knowing where to get them.

_add_rapid_test_reaction_params(params)[source]

Add rapid test reaction params.

source: The COSMO Study of 2021-03-09 (https://bit.ly/3gHlcKd) In section 3.5 “Verhalten nach positivem Selbsttest” 85% claim they would isolate (“isoliere mich und beschränke meine Kontakte bis zur Klärung”) => We use this multiplier of 0.15 here.

We assume households are only reduced by 30%, i.e. have a multiplier of 0.7.

_convert_index_to_int_where_possible(params)[source]
_build_share_known_cases_params()[source]
_convert_to_int_if_possible(x)[source]

pd.to_numeric did not correctly work.

_add_event_params(params)[source]