/span> <span class="nn">np</span>
<span class="kn">from</span> <span class="nn">scipy.stats</span> <span class="kn">import</span> <span class="n">expon</span><span class="p">,</span> <span class="n">poisson</span><span class="p">,</span> <span class="n">invgamma</span>

<span class="kn">from</span> <span class="nn">clintrials.util</span> <span class="kn">import</span> <span class="n">atomic_to_json</span><span class="p">,</span> <span class="n">iterable_to_json</span>


<div class="viewcode-block" id="Bayes