
SIRD-GA with piecewise-constant transmission, fitted to cases and deaths
Source:R/sird_ga_incidence.R
sird_ga_fit_tv.RdMaximum likelihood for the SIRD-GA model in which the transmission rate is
constant within blocks of observation intervals,
\(\lambda(t)=\lambda_b\) for \(t\) in block \(b\), while the removal
rates \(\gamma\), \(\alpha\), the initial infectious fraction, the case
reporting probability and the two noise scales are shared. Parameters
listed in fixed are held at the given values (e.g. a profile over p).
Arguments
- cases, deaths, N, use, Delta, nsub
See
sird_ga_loglik_inc().- blocks
Integer vector, one entry per observation interval, giving the block of each interval (
1, ..., B).- start
Named list of starting values for
gamma,alpha,i0,p,tau2,tau2_dand a vectorlambdaof lengthB.- fixed
Named list of parameters held fixed (any of
gamma,alpha,i0,p,tau2,tau2_d);q(default 1) is always fixed.- q
Death reporting probability (fixed).
- p_max
Upper bound for
p.- maxit
Iteration limit.