# Best way to identify pathologies from divergent transitions (general step by step workflow)

**URL:** <https://discourse.mc-stan.org/t/best-way-to-identify-pathologies-from-divergent-transitions-general-step-by-step-workflow/4358>\
**Category:** Modeling\
**Tags:** bayesplot, shinystan, fitting-issues\
**Created:** [May 30, 2018, 5:51am UTC](https://discourse.mc-stan.org/t/best-way-to-identify-pathologies-from-divergent-transitions-general-step-by-step-workflow/4358 "2018-05-30T05:51:16Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Charles\_Driver](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/charles_driver/32/6524_2.png) [@Charles\_Driver](https://discourse.mc-stan.org/u/Charles_Driver)\
**Post date:** [June 12, 2018, 10:14pm UTC](https://discourse.mc-stan.org/t/best-way-to-identify-pathologies-from-divergent-transitions-general-step-by-step-workflow/4358/13 "2018-06-12T22:14:49Z")

</div>

For the ‘too many parameters to plot’ case, I wrote a function [https://canada1.discourse-cdn.com/flex030/uploads/mc\_stan/original/1X/b7864f42254fe1d3de1597ade2573009a6137526.R](https://canada1.discourse-cdn.com/flex030/uploads/mc_stan/original/1X/b7864f42254fe1d3de1597ade2573009a6137526.R) to try and identify problematic parameters. Limited testing suggested it was doing a reasonable job, you can find some further discussion in this post: [Concentration of divergences](http://discourse.mc-stan.org/t/concentration-of-divergences/1590/41)

edit: If I’ve made any updates to the function, you’ll find it in the ctsem github repository…

---

_[View the full topic](https://discourse.mc-stan.org/t/best-way-to-identify-pathologies-from-divergent-transitions-general-step-by-step-workflow/4358)._
