/p>
<pre><code>&gt; make examples/bernoulli/bernoulli.exe</code></pre>
<p>The generated C++ code (<code>bernoulli.hpp</code>), object file (<code>bernoulli.o</code>)
and the compiled executable will be placed in the same directory as the Stan program.</p>
<p>The compiled executable consists of the Stan model and the CmdStan command line interface
which provides inference algorithms to do MCMC sampling, optimization, and variational inference.
The following sections provide examples of doing inference using 