Hi all,
I am trying to run my first Multi-Species Occupancy model with Data-augmentation on my dissertation data in JagsUI following the general guidelines shown in
this JAGS tutorial. I am getting the error message:
"Error in checkForRemoteErrors(val) : 3 nodes produced errors; first error: Error in node y[27,1]
Node inconsistent with parentsfull precision may not have been achieved in 'qbeta'
full precision may not have been achieved in 'qbeta'
full precision may not have been achieved in 'qbeta'"
I did not set initial values, as in the tutorial I referenced above they mentioned it can be
better not to. I have been doing some perusing online though and it seems like it could be a good idea to do so, though I'm honestly not really sure how to best do this (new to JAGS/bayes).
Also, following the tutorial above, my augmented dataset of y detection values includes the total number of detections for species at each site. I've noticed that usually this is just represented as 0s and 1s (as with typical occupancy modeling) for each species for each site. However, it works to run the code this way using total detections for the dataset in the above tutorial, so not sure why it wouldn't work for my dataset.
-I have 25 species and I am augmenting the dataset by 175 (M=200) (I also did this with 32, a more biologically relevant number for my study area, but still got the above error, and had concerns that this value would constrain N..)
-There are 55 sites
-all covariates (other than factor variable) were standardized prior to entry in analysis:
-I have 2 site covariates on occupancy prob (% forest cover, % forest cover^2)
- I have 2 site covariates on detection prob (on/off trail (categorical/factor variable converted to integer vector for Jags), and effort)
-
n0cc is the number of occasions/surveys--I use camera traps, and some cameras ran for a bit more time than others, hence there are different values here. They were already collapsed into 7-day repeat detection histories prior to specifying for community modeling
-I also accounted for correlation between p and psi (rho=estimated correlation parameter)
I attached my code in a text file, as well as the R file, and my csv datasheet with my detection and covariate data for reference. Any insight on this would be hugely helpful, thank you!
Best,