See unmarked for detailed descriptions of passing data y
,
covdata.site
, and covdata.obs
, and specifying covariates
with stateformula
and detformula
.This function fits the latent abundance mixture model described in
Royle and Nichols (2003).
The latent abundance of site $i$ is modelled as Poisson:
$$N_i \sim Poisson(\lambda_i)$$
The detection of a single individual in site $i$ during sample
$j$ is modelled as Bernoulli:
$$w_{ij} \sim Bernoulli(r_{ij})$$.
Thus, the detection probability for a single site is linked to the
detection probability for an individual by
$$p_{ij} = 1 - (1 - r_{ij}) ^ {N_i}$$
Covariates of $\lambda_i$ are modelled with the log link
and covariates of $r_{ij}$ are modelled with the logit link.