age_strat_get_pars: Function taking 'age_strat_fit_mod' and implementing within...

Description Usage Arguments Value

View source: R/schisto_age_structured_models.R

Description

We have four unknown parameters and four solvable equations. This function takes inputs and puts them into equations to estimate the value of these four unkown parameters, alpha, beta, omega, and N_eq, from inputs: adult infection (prevalence and intensity), child infection (prevalence and intensity), child and adult population sizes, infected snail prevalence

Usage

1
2
age_strat_get_pars(f = age_strat_fit_mod, start = c(0.01, 1000, 1e-06,
  4), I, W_A, prev_A, H_A, W_C, prev_C, H_C, pars, tolerance = 1e-06)

Arguments

f

function with equations to feed to 'multiroot' function. Defaults to 'age_strat_fit_mod'

start

input estimates of parameters beta, N_eq, alpha, and omega (IN THAT ORDER)

I

infected snail prevalence

W_A

estimated mean worm burden in adult population

prev_A

estimated prevalence in adult population

H_A

adult population size

W_C

estimated mean worm burden in child population

prev_C

estimated prevalence in child population

H_C

child population size

pars

parameter set of other key parameters

tolerance

minimum error to tolerate, else return error

Value

Estimate of porportion of snail population in E compartment


cmhoove14/DDNTD documentation built on Nov. 23, 2019, 7:04 p.m.