 beta(1,1);  // uniform prior on interval 0,1
       y ~ bernoulli(theta);
     }
     generated quantities {
       real odds;
       odds = make_odds(theta);
}</code></pre>
<p>Here the <code>make_odds</code> function is declared but not defined, which
would ordinarily result in a parser error. However, if you put
<code>STANCFLAGS = --allow_undefined</code> into the <code>make/local</code> file
or into the <code>stanc</code> call, then the stanc compiler will translate
this program to C++, but the generate