Skip to contents

General calibration function for malariasimulation.

Usage

calibrate(
  parameters,
  target,
  summary_function,
  eq_prevalence,
  eq_ft = 0,
  human_population = c(1000, 10000, 1e+05),
  eir_limits = c(0, 1500),
  max_attempts = 10
)

Arguments

parameters

Malariasimulation model parameter list

target

Values of target variable to calibrate to.

summary_function

A function that take the raw model output as an

eq_prevalence

Estimate of baseline prevalence (to inform EIR initialisation)

eq_ft

Estimate of baseline treatment coverage (to inform EIR initialisation)

human_population

Vector of increasing population sizes.

eir_limits

Limits of EIR

max_attempts

Maximum number of calibration attempts (model runs)

Value

EIR estimate