The fit_drm
function is designed to be flexible, allowing different model features to be enabled or disabled through a set of toggles. This vignette provides a comprehensive guide to the parameters used in the DRM, their meaning, the priors they are assigned, and the specific toggles required to activate them.
DRM model parameters and priors
The table below details each parameter in the DRM. The “Toggle” column indicates the condition needed to include a parameter in the model. If a parameter is not activated by its toggle, it is excluded from the model, and its prior is not used.
Parameter | Code | Meaning | Toggle | Priors | Default hyperparameters |
---|---|---|---|---|---|
beta_t |
Reg. coef. for proba. of absence | N/A | |||
beta_r |
Reg. coef. for recruitment | N/A | |||
phi |
Dispersion parameter | N/A | |||
beta_s |
Reg. coef. for survival | est_surv |
|||
xi |
$() = + () | rho_mu |
|||
zeta |
Prob. of remaining in the same patch | movement |
|||
alpha |
AR(1) temporal correlation |
ar_re "none"
|
|||
$_t | sigma_t |
AR(1) conditional SD |
ar_re "none"
|
||
$z_t | z_t |
AR(1) random effects |
ar_re "none"
|
N/A | |
$_i | sigma_i |
Patch level iid random effect SD |
iid_re "none"
|
||
$z_i | z_i |
Patch level iid random effects |
iid_re "none"
|
N/A | |
$_s | sigma_s |
Patch level ICAR random effect SD |
sp_re "none"
|
||
$z_s | z_s |
Patch level ICAR random effects |
sp_re "none"
|
N/A |
SDM
TBD