Hi all,
I'm am trying to run an NMix model for a data set that has 55 sites that were surveyed over 11 years with 2-8 samples per site and year. I was trying to run the model with the data in stacked format, with year and several habitat variables as covariates in the model to assess temporal patterns in abundance. I am having difficulties getting the model converge, however, and would like advice on what things to tweak to try to get it to work. In particular, some of the traceplots are pretty horrific (see the attached example), with the chains never even mixing at all, even if they were what I thought to be reasonably large number of samples (~100k). Is that an initial values problem? A priors problem? I had been using the values for each of those that were outlined in the NMix vignette (e.g., mean =0, var =100 for beta. normal). I initially thought the stacked format was maybe the problem, but running a single year still wouldn't converge. I also tried simplifying the model to fewer covariates and eventually to intercept-only models, with the latter being the only ones I could get to decently converge. From prior experience using n-mixture models in unmarked and JAGS, I know they can be finicky but this seemed outside of what I've experienced.
Any thoughts on what to try would be greatly appreciated.