Fitting occupancy models with brms

Is it possible to fit occupancy models with brms?

Occupancy models are used in ecology and estimates the probability a site being occupied by a species (ψ) and the probability of detection of the species §. From my basic knowledge I think they are zero-inflated binomial models.



  • Operating System: macOS Mojave
  • brms Version: 2.9.0

I don’t know about occupancy models, but you can fit zero-inflated binomial models via family zero_inflated_binomial.

Thank you very much Paul.

I know Bob Carpenter and Richard Erickson has been working on occupancy models on Stan and Rstan but I have not seen an example on the Stan forum of the implementation in brms, which will be very helpful and interesting. I started to understand and works on bayesian statistics because brms and rstanarm.


1 Like