wer and upper bounds.</p>
<p>More formally, an intermediate vector <span class="math inline">\(z \in \mathbb{R}^{K-1}\)</span>, whose
coordinates <span class="math inline">\(z_k\)</span> represent the proportion of the stick broken off in
step <span class="math inline">\(k\)</span>, is defined elementwise for <span class="math inline">\(1 \leq k &lt; K\)</span> by</p>
<p><span class="math display">\[
z_k = \mathrm{logit}^{-1} \left( y_k
                             + \log \left( \frac{1}{K - k}
            