Hi all,
I'm sorry if this has been documented elsewhere but I haven't been able to find it. I'm wondering, what's the best way to set new initial values for each chain? If I'm understanding correctly, using a function for initial values in nimbleModel() only uses fresh values for the first chain, where the subsequent chains start where the previous one left off. I think using a initial values in runMCMC() does start new initial values, but only for those nodes where a new initial values are assigned. I've been using that method, but for subsequent chains I always get a bunch of error messages for some nodes. I think this is due to my new initial values corresponding some of the nodes that aren't reset contradicting those nodes. I think nimble does a good job of fixing these errors after the first iteration, but it'd be nice not to get them at all, and I'm sure things won't always go smoothly.
Is there a way to start fully "fresh" MCMC chains, where any nodes that aren't provided initial values are simulated by nimble, using runMCMC()?
Thanks!
Matt