Closed fkrauer closed 4 years ago
Hi Fabienne,
I assume that this is done with a population MCMC, such as DEzs?
First of all, Gelman diagnostics should generally be calculated after burn-in, but usually, it will not show you convergence if you are still in the burn-in.
In your specific case, the issue is that, although Cajo te Braak proved in a paper that DE etc. sample independent AFTER the burn-in, they do not sample independent during the burn-in ... you can see this very clearly in your plots.
We therefore warn in the help somewhere that you shouldn't use the Gelman Diagnostic on a singe DEzs, or you have to remove burn-in. So, for the entire DE and DREAM family
Cheers, Florian
Okay, that makes sense. I will assess convergence visually first, remove burn-in and then check Gelman Diagnostics. Thanks for the explanation. Cheers, Fabienne
Yeah, but I would also definitely run at least 2 separate samplers.
I thought that DEzs runs 3 chains per default (even if I have nrChains = 1 in the settings)? At least that was the case in previous versions, but maybe this has changed?
Yes, they have 3 chains, but with the nrChains, we count the number of samplers that are run. The internal chains are a separate parameter.
If you set nrChains = 3, you will have 9 chains. In retrospect, we should have named the argument nrMCMCs, you are not the first one to be confused about this.
oh I see, then I have been doing it wrong all this time...will change nrChains=2. Thanks
Hi Florian
I am using BT since 2 years, but I have a problem since the last update:
The gelmanDiagnostics() would indicate convergence for some parameters, but the plot() does not look like they converged (for example param bhv or K)
I am now using BayesianTools_0.1.7 and the DEzs sampler. Has anyone else had this problem? The trace obviously needs burn-in, but there is no stable segment for some of the parameters. This has not happened before.
Thanks