">315</span>), <span class="dt">what =</span> <span class="st">"prediction"</span>)</code></pre></div>
<p><img src="Introduction_files/figure-html/unnamed-chunk-37-1.png" width="700"></p>
<p>This graph is much more complicated than the analogous graph for an OLS model, this is because of the conversion between the log-odds scale of the linear predictors and the distribution of the data. What we can see is that the average marginal effect of age (across all of the women in our dataset) is highest when a woma