Hi all,
I have a multistate CMR model that forms part of a larger IPM that I am trying to marginalise using the distributions from NimbleEcology as the run time for my IPM is approaching the time limit for jobs on my University’s HPC. However, I’m running into some issues which I haven’t been able to solve after reading through the introduction to NimbleEcology page, or the relevant conversation threads in this group.
When I run ‘nimbleModel’ on my model, I get the message telling me my model is not fully initialised, and when I investigate this using model$initializeInfo(), I get: Missing values (NAs) or non-finite values were found in model variables: omega. Omega is my observation matrix. When I look closer at model$omega, the values for omega at the last occasion are all NA. Additionally, after compiling the model and MCMC and trying to run the model, I get the ‘logProb of data node is NA’ warnings, which I suspect is linked to the issues with omega.
I have attached a script with the model code to run on simulated data. The script includes the non-marginalised model, which runs fine, and a version of the model where I have tried to use the dDHMMo distribution, without success. I get the same warnings when I run the dDHMMo model on the simulated data and my real data. I have a feeling these problems are arising because I haven’t quite coded the model correctly using the dHMMo distribution, but after reading the relevant conversation threads on this forum and the intro to nimble ecology, I still haven’t been able to wrap my head around it! Any help or suggestions would be greatly appreciated!
Best,
Kirsty
--
You received this message because you are subscribed to the Google Groups "nimble-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nimble-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/nimble-users/0ab480ae-a395-49d2-a2de-cc03611e3322n%40googlegroups.com.