- M
Number of sites
- J
Number of replicate surveys
- Xsite
Simulated site covariate, a vector of length M
- Xsurvey
Simulated survey covariate, a M x J matrix
- psi
Occupancy probability, a vector of length M
- z
Realized occupancy, a 0/1 vector of length M
- p
Detection probability, a M x J matrix
- y
detection history, a M x J matrix of 0/1