To replicate results in JAGS, you have to set the seed for the mcmc sampling outside of the jags function, unless you're using the jags.parallel functions (that runs the chains across multiple cores). We parallelize across states not across chains, so we have to set the seed externally.
See this gist for example code that replicates results:
To replicate results in JAGS, you have to set the seed for the mcmc sampling outside of the jags function, unless you're using the jags.parallel functions (that runs the chains across multiple cores). We parallelize across states not across chains, so we have to set the seed externally.
See this gist for example code that replicates results:
https://gist.github.com/kathryntmorrison/97335875f47bfe9cb9e57313eda36828