Estimate weighted age-disaggregated efficacies and numbers of doses over time to facilitate an approximation of 2 doses with varying 1st and 2nd dose efficacy. Current assumptions are that the duration in v1 and v2 (vaccinated but not protected) is fixed and that the number individuals that cannot be vaccinated (due to being in the hospitalised flow) does not substantivly impact vaccine roll out rates. It is recommended to run with reasonably large N to ensure that there are enough individuals assigned to each age group to get stable results.

weighted_efficacy(
  iso3c,
  N,
  maxt,
  doses_per_day,
  dose_period,
  delay_dose1,
  delay_dose2,
  prioritisation_matrix,
  d2_prioritise,
  infection_efficacy,
  disease_efficacy
)

Arguments

iso3c

Country iso3c code

N

Number to simulate. Country population is rescaled to this number

maxt

Max time

doses_per_day

Vector of available doses per day

dose_period

Days between dose 1 and dose 2

delay_dose1

Delay between receipt of first dose and protection from first dose (duration in v1v)..

delay_dose2

Delay between receipt of second dose and protection from second dose.

prioritisation_matrix

Prioritisation matrix

d2_prioritise

Boolean vector indicating which age groups are prioritised to receive 2nd dose

infection_efficacy

Vector of length 2 of infection efficacy for first and second dose

disease_efficacy

Vector of length 2 of disease efficacy for first and second dose

Value

Age disaggregated dose numbers and efficacies over time.