span>Using simulation to check parameter recovery</p>
</div>
<p>Check whether the simulation code you wrote assuming a normal likelihood can recover the parameters.</p>
<div class="exercise">
<p><span id="exr:SimulationexercisesPart5" class="exercise"><strong>Exercise 8.5  </strong></span>Sample size calculations using simulation</p>
</div>
<p>Load the data-set shown below:</p>
<div class="sourceCode" id="cb940"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb940-1"><a href="sec:Simulatione