-inner">

            <section class="normal" id="section-">

<div>
This is an old version, <a href="https://mc-stan.org/docs/stan-users-guide/efficiency-tuning.html#avoiding-validation">view current version</a>.
</div>
<div id="avoiding-validation" class="section level2">
<h2><span class="header-section-number">22.6</span> Avoiding Validation</h2>
<p>Stan validates all of its data structure constraints. For example,
consider a transformed parameter defined to be a covariance matrix and
then used as a covar