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

<div>
This is an old version, <a href="https://mc-stan.org/docs/reference-manual/types.html#scalar-data-types-and-variable-declarations">view current version</a>.
</div>
<div id="univariate-data-types-and-variable-declarations" class="section level2">
<h2><span class="header-section-number">5.3</span> Univariate Data Types and Variable Declarations</h2>
<p>All variables used in a Stan program must have an explicitly declared
data type. The form of a declaration includes t