nts and transforms of the
data. The parameters block declares the model’s parameters — the
unconstrained version of the parameters is what’s sampled or
optimized. The transformed parameters block allows variables to be
defined in terms of data and parameters that may be used later and
will be saved. The model block is where the log probability function
is defined. The generated quantities block allows derived quantities
based on parameters, data, and optionally (pseudo) random number
generation.</p>
<