Is it normal that the estimated effective sample size goes down as more samples are added? #705
Replies: 2 comments 6 replies
-
That's interesting. Can you provide a MVP for this? In practice the ESS diagnostic is a statistic based on the empirical autocorrelation. It may be that the autocorrelation is worse at stationarity than at initialisation (that's usual) and that's what you are picking up. Hard to say without more details. |
Beta Was this translation helpful? Give feedback.
-
Also, not that it's my place to tell you, but in general, I would be very wary of stopping a Markov chain based on a stochastic criterion such as "predefined ESS" achieved. When you are doing so, you are by construction biasing your sample average. |
Beta Was this translation helpful? Give feedback.
-
I am using
blackjax.diagnostics.effective_sample_size
to keep sampling batches of 256 samples on 16 chains until I have achieved a certain effective sample size. However, I often noticed that the estimate of effective sample size goes down as more samples are added. As far as I understand, it is not possible that the actual effective sample size decreases as more samples are added. Is the estimator just biased to overestimate the effective sample size when there are relatively few samples?Beta Was this translation helpful? Give feedback.
All reactions