\(N(-2,1)\)</span> or from <span class="math inline">\(N(2,1)\)</span>.</p>
<p>For illustrative purposes, let‚Äôs assume that <span class="math inline">\(P=2\)</span> and draw <span class="math inline">\(N=40\)</span> samples from this distribution.</p>
<div class="sourceCode" id="cb1"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span class="co">## Helper function to draw samples</span>
<span class="va">drawSamples</span> <span class="op">&lt;-</span> <span class="kw">function</span><s