 and shapes for our parameters. We can see from the likelihood equation we have two parameters, the bias <span class="math inline">\(\beta_0\)</span> and the coefficients <span class="math inline">\(\beta\)</span>. We’ll just set these to start from zero. Similar to the data, these are just a list with the relevant names.</p>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="co"># Get the dimension of X, needed to set shape of params$beta</span>
d =<span class="st">