Skip to main content
. 2021 Sep 8;40(27):6209–6234. doi: 10.1002/sim.9164

FIGURE 1.

SIM-9164-FIG-0001-b

Coding blocks in a Stan file. The operations in certain blocks are performed multiple times and in some cases differentiated; as a result, the computational cost of fitting the model is dominated by the transformed parameters and model blocks. Not shown is the functions block, which defines functions that can be called in any of the operative blocks