used to run the generated quantities block.</p>
<p>If we run the <code>bernoulli.stan</code> program for a single chain to
generate a sample in file <code>bernoulli_fit.csv</code>:</p>
<pre><code>&gt; ./bernoulli sample data file=bernoulli.data.json output file=bernoulli_fit.csv</code></pre>
<p>Then we can run the <code>bernoulli_ppc.stan</code> to carry out the posterior predictive
checks:</p>
<pre><code>&gt; ./bernoulli_ppc generate_quantities fitted_params=bernoulli_fit.csv \
                  data file=