# Questions about the convergence of sampling the Mixture of hierarchical model

**URL:** <https://discourse.pymc.io/t/questions-about-the-convergence-of-sampling-the-mixture-of-hierarchical-model/2169>\
**Category:** Questions\
**Created:** [November 8, 2018, 11:42am UTC](https://discourse.pymc.io/t/questions-about-the-convergence-of-sampling-the-mixture-of-hierarchical-model/2169 "2018-11-08T11:42:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![junpenglao](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/junpenglao/32/8_2.png) [@junpenglao](https://discourse.pymc.io/u/junpenglao)\
**Post date:** [November 9, 2018, 9:07am UTC](https://discourse.pymc.io/t/questions-about-the-convergence-of-sampling-the-mixture-of-hierarchical-model/2169/3 "2018-11-09T09:07:45Z")

</div>

Mixture model is difficult to inference, there are quite a few discussion on this discourse, e.g. [Properly sampling mixture models](https://discourse.pymc.io/t/properly-sampling-mixture-models/986)

Also note that the Dirichlet process mixture example need some update, it is generally a hard problem - I would change the inference to ADVI and check the model fitting very carefully (as the result is generally biased).

---

_[View the full topic](https://discourse.pymc.io/t/questions-about-the-convergence-of-sampling-the-mixture-of-hierarchical-model/2169)._
