Linear Antibiotic Acquisition Parameters
LinearAbxAcquisitionParams.RdThe model for this acquisition model is given by
Arguments
- base
The base rate of acquisition.
- time
The time effect on acquisition.
- mass
The mass action effect on acquisition.
- freq
The frequency effect on acquisition.
- col_abx
The effect for colonized on antibiotics.
- suss_abx
The effect on susceptible being currently on antibiotics.
- suss_ever
The effect on susceptible ever being on antibiotics.
Details
$$ P(\mathrm{Acq(t)}) = \left[e^{\beta_\mathrm{time}(t-t_0)}\right]\\ \left\{e^{\beta_0} \left[ \left(\frac{\beta_\mathrm{freq}}{P(t)}+(1 - e^{\beta_\mathrm{freq}})\right) e^{\beta_\mathrm{mass}}\left( (N_c(t) - N_{ca}(t)) + e^{\beta_\mathrm{col\_abx}}N_{ca}(t) \right) + 1 - e^{\beta_\mathrm{mass}} \right] \right\}\\ \left[ N_S(t) - N_E(t) + e^{\beta_\mathrm{suss\_ever}}\left(\left(E_i(t)-A_i(t)\right) +A_i(t)e^{\beta_\mathrm{suss\_abx}}\right) \right] $$
Examples
LinearAbxAcquisitionParams()
#> $base
#> $init
#> [1] 0.001
#>
#> $update
#> [1] TRUE
#>
#> $prior
#> [1] 0.001
#>
#> $weight
#> [1] 1
#>
#> attr(,"class")
#> [1] "Param"
#>
#> $time
#> $init
#> [1] 1
#>
#> $update
#> [1] FALSE
#>
#> $prior
#> [1] 1
#>
#> $weight
#> [1] 0
#>
#> attr(,"class")
#> [1] "Param"
#>
#> $mass
#> $init
#> [1] 1
#>
#> $update
#> [1] TRUE
#>
#> $prior
#> [1] 1
#>
#> $weight
#> [1] 1
#>
#> attr(,"class")
#> [1] "Param"
#>
#> $freq
#> $init
#> [1] 1
#>
#> $update
#> [1] TRUE
#>
#> $prior
#> [1] 1
#>
#> $weight
#> [1] 1
#>
#> attr(,"class")
#> [1] "Param"
#>
#> $col_abx
#> $init
#> [1] 1
#>
#> $update
#> [1] FALSE
#>
#> $prior
#> [1] 1
#>
#> $weight
#> [1] 0
#>
#> attr(,"class")
#> [1] "Param"
#>
#> $suss_abx
#> $init
#> [1] 1
#>
#> $update
#> [1] FALSE
#>
#> $prior
#> [1] 1
#>
#> $weight
#> [1] 0
#>
#> attr(,"class")
#> [1] "Param"
#>
#> $suss_ever
#> $init
#> [1] 1
#>
#> $update
#> [1] FALSE
#>
#> $prior
#> [1] 1
#>
#> $weight
#> [1] 0
#>
#> attr(,"class")
#> [1] "Param"
#>