Dear Josh,
no code attached. However, the error message indicates that there is a discrepancy between the dimensions of your data and of the parameters for psi in your model. For instance, perhaps you have 1000 sites earlier and 2000 sites now and then you define psi in the model to have length 1000 for both. Check this out. Getting absolutely clear about the dimensions of the objects in the models is one of the biggest challenge at first when using the BUGS language.
And yes, the tutorial is my Mike Meredith. Outstanding. Probably worth of being published as an intro book.
Best regards -- Marc
To view this discussion on the web visit https://groups.google.com/d/msgid/hmecology/ea253d4a-75e0-45ef-925b-f8262ca038e4n%40googlegroups.com.
Hi Joshua,
You have in your data:
Effort[31,2]= NA
Discard this row or assign some value.
Also, you have to use “Period+1” if you are indexing 1,2.
Period<- as.integer(data$Period) + 1
Good luck!
--
*** 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, 2020)
---
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/0baab67b-e77a-4c7d-92ea-4e7757307835n%40googlegroups.com.