ement, where <code>lambda</code> is the inverse scale and <code>y</code> the sampled variate.</p>
<div class="sourceCode" id="cb4"><pre class="sourceCode stan code-with-copy"><code class="sourceCode stan"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="kw">target +=</span> log(lambda) - y * lambda;</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>This encoding will work for any <code>lambda</code> and <code