fun_calc_pdetect_multi_both: calculate the probability of detection for both models

Description Usage Arguments Value

View source: R/transmission_functions.R

Description

calculate the probability of detection for both models

Usage

1
2
3
fun_calc_pdetect_multi_both(x, seroout, params, dat, t0_vac_africa,
  dim_year, dim_age, p_prop_3d, P_tot_2d, inc_v3d, pop_moments_whole,
  varsin_nc, vc30_agg, pop30_agg, model_type)

Arguments

x

glm covariates

seroout

processed serology data

params

estimated parameters for both serology and GLM from either R0 or Foi model

dat

environmental and occurrence data

t0_vac_africa

time of first vaccination for admins in Africa endemic zone

dim_year

years of interest

dim_age

ages of interest

p_prop_3d

prpoprtion of population in array form

P_tot_2d

total population in 2d form

pop_moments_whole

population moments for all admins

varsin_nc

covariates in use

vc30_agg

vaccine coverage aggregated over time and space for observation period

pop30_agg

population aggregated over time and space for observation period

model_type

either "R0" or "Foi"

inc_vc3d

incidence of vaccination in array form

Value

the probability of detection


mrc-ide/YFestimation documentation built on March 13, 2021, 1:40 p.m.