Multi-Species Occupancy Model Converted to JSDM

107 views
Skip to first unread message

Joshua Hubbell

unread,
Aug 5, 2022, 11:58:21 AM8/5/22
to hmecology: Hierarchical Modeling in Ecology
Hi all,

Has anyone in this group converted a MSOM to a JSDM using the JAGS or NIMBLE languages?  None of the sites in my dataset received multiple visits, so I cannot use a multi-species occupancy model. I know this can be done, and than in general, it would involve removing  the detection submodel from the broader multi-species model. I tried to do this in JAGS (i.e., remove the detection portion of the model, and subsequently all detection parameters), but continued to receive error after error.  I also need to include three random effects within the model. Therefore, I'm current running a JSDM using the "HMSC" package (which is one the few JSDM packages that allows for the inclusion of random effects as far as I can tell), but its now been 4 weeks, and the model has yet to converge! Ultimately, I think the interaction between the dataset's size (230 sites, 280 species) and model complexity (3 random effects, 7 predictors) is causing the model's run-time to take way too long. I know that model would run much faster using NIMBLE (or potentially JAGS), I just don't know how to remove the detection submodel from a traditional multi-species model (e.g., DR model in AHM Vol. 1) so it could be converted into a JSDM.

Thanks,

Josh

Marc Kery

unread,
Aug 5, 2022, 4:16:11 PM8/5/22
to Joshua Hubbell, hmecology: Hierarchical Modeling in Ecology
Dear Josh,

Spatiotemporal patterns in biological communities are typically driven by environmental factors and species interactions. Spatial data from communities are naturally described by stacking models for all species in the community.

Also, for a detection-naive approach, you should be able to directly use Francis Hui's boral package (here, and then scroll down: https://francishui.netlify.app/)

Best regards  -- Marc
Model selection and averaging in complex, correlated data settings This topic will focus on the development and study of computational efficient and statistically rigorous approaches for model/feature selection in complex, correlated data settings.



From: hmec...@googlegroups.com <hmec...@googlegroups.com> on behalf of Joshua Hubbell <jhubbel...@gmail.com>
Sent: Friday, August 5, 2022 17:58
To: hmecology: Hierarchical Modeling in Ecology <hmec...@googlegroups.com>
Subject: Multi-Species Occupancy Model Converted to JSDM
 
--
*** Three hierarchical modeling email lists ***
(1) unmarked: for questions specific to the R package unmarked
(2) SCR: for design and Bayesian or non-bayesian analysis of spatial capture-recapture
(3) HMecology (this list): for everything else, especially material covered in the books by Royle & Dorazio (2008), Kéry & Schaub (2012), Kéry & Royle (2016, 2021) and Schaub & Kéry (2022)
---
You received this message because you are subscribed to the Google Groups "hmecology: Hierarchical Modeling in Ecology" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hmecology+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hmecology/e1dbf5a2-1b69-4e77-b53b-6e04a4de292en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages