You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error when I evaluate MCMC convergence for Omega. I do not know how to fix this. Many thanks for your help!
Error in array(r, dim = d, dimnames = if (!(is.null(n1 <- names(x[[1L]])) & :
negative length vectors are not allowed
Calls: gelman.diag -> array -> sapply -> simplify2array -> array
In addition: Warning message:
In array(r, dim = d, dimnames = if (!(is.null(n1 <- names(x[[1L]])) & :
NAs introduced by coercion to integer range
Execution halted
The text was updated successfully, but these errors were encountered:
The error comes from the coda package. Function coda::gelman.diag() does not get the kind of input it expects. It seems that sampleMcmc does not produce data expected. We do not have your data, but how do you your Omegas look like? How many of them you have? Do you have non-finite values among them?
The error comes from the coda package. Function coda::gelman.diag() does not get the kind of input it expects. It seems that sampleMcmc does not produce data expected. We do not have your data, but how do you your Omegas look like?
I obtained this hmsc model output here that has taken one and a half months (from this issue: #97), with two random effects (i.e., spatial and temporal). hmsc_section_v0.01_20210730.pdf
I got a very low SR2. I tried to run another model using fewer species (e.g., 49 species). But I still get a similar SR2 using 30 chains, 1000 samples, and 100 thins. I am not sure whether it means I'm missing some important variables and/or it is difficult to fit the model for count data. w.r.t. the explanatory powers of models, could I only look at AUC for discriminating incidence data (O.AUC) if I can not get a moderate power for abundance data?
How many of them you have?
With 4 chains of 2000 samples and 217 species the Omega1/2 has 8000*47089 (4*2000*217*217) numbers.
Hi,
I was just going through the mcmc convergence diagnostics. Here is my code.
I am getting this error when I evaluate MCMC convergence for Omega. I do not know how to fix this. Many thanks for your help!
The text was updated successfully, but these errors were encountered: