Match a job Paths Subjects Questions Quizzes Pricing
Advanced Open Pro

Your Hierarchical Model Reports R-hat 1.3 and 18 Effective Samples: What Now?

You fit a hierarchical conversion model in PyMC with 4 chains of 1,000 draws. The summary shows, for the group-level spread parameter \sigma, r_hat = 1.30 and ess_bulk = 18, and the sampler warned of 41 divergences. A teammate says "the posterior means look sensible, let's ship the dashboard".

  1. Explain what R-hat and ESS measure and why these values mean the results cannot be used.
  2. List the diagnostics you would inspect next and what each could reveal.
  3. Give a prioritised list of fixes, including the reparameterisation that usually cures hierarchical divergences.
  4. What would you show to demonstrate to the teammate that "sensible means" are not enough?

Share this question

← Back to Bayesian Statistics for Data Scientists practice

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.