There's more...

What happens if there is substantial autocorrelation for a chain? Or posed in different terms: the effective sample size is small/or the dependence factor is too large? It could be caused by a poor choice of starting values (we could try with different starting values), or improper tuning of the MCMC algorithm (we could increase warm-up). It is always a good idea to increase the number of iterations as well.

Get R Statistics Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.