index="-1"></a>  y[n] ~ normal(alpha[ii[n]] + beta[ii[n]] * x[n], sigma);</span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>}</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>With multiple indexing, this can be coded in one line, leading to more efficient vectorized code.</p>
<div class="sourceCode" id="cb2"><pre class="sourceCode stan code-with-copy"><code class="sourceCode stan"><span id="cb2-1"><a href="#cb2-1" 