Dear all,
Antoine Havard, Nicolas Strebel, and I have been fitting N-Mixture models using pcount() to multi-year data in the stacked data format. Our main interest is the trajectory of abundance over time (1999–2021). To account for possible dependence in the data across years, we fit random effects for the 267 sites. Now, when using predict() to produce year-specific estimates of lambda, we got stuck because we didn't understand how to deal with the site random effects.
(We have the same challenge also for predictions of detection probability, where we have random effects of 597 observers, along with other predictors such as "first-time observer" or "date of year".)
As an aside, we can only report good things about fitting Nmix models with random effects. Things seem to work well and produce what look like reasonable estimates.
Thanks for any help,
best regards --- M, A & N
Thanks, Ken, will try.
Marc
To view this discussion on the web visit https://groups.google.com/d/msgid/unmarked/fd6a0cd3-a28f-4aed-a7e0-d77d572d22ddn%40googlegroups.com.