examples/bernoulli/bernoulli.data.json

# default output written to file `output.csv`,
# default num_samples is 1000, output file should have approx. 1050 lines
&gt; ls -l output.csv

# run the `bin/stansummary utility to summarize parameter estimates
&gt; bin/stansummary output.csv</code></pre>
<p>On Windows:</p>
<pre><code># compile the example
&gt; mingw32-make examples/bernoulli/bernoulli.exe

# fit to provided data (results of 10 trials, 2 out of 10 successes)
&gt; ./examples/bernoulli/bernoulli.exe sa