diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2022-09-16 21:31:32 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2022-09-16 21:31:32 +0200 |
commit | 062a1be18677a4e83a64d23622b5214258d9bc7d (patch) | |
tree | 9f137063546d30eb0bb4c6002b86e77751091df5 /docs/dev/articles/web_only/multistart.html | |
parent | fd205e13061de8abc595d266f3b0c7650773d442 (diff) |
Add llhist to the multistart vignette
Diffstat (limited to 'docs/dev/articles/web_only/multistart.html')
-rw-r--r-- | docs/dev/articles/web_only/multistart.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/dev/articles/web_only/multistart.html b/docs/dev/articles/web_only/multistart.html index a119a0d6..b3108120 100644 --- a/docs/dev/articles/web_only/multistart.html +++ b/docs/dev/articles/web_only/multistart.html @@ -63,6 +63,9 @@ <a href="../../articles/web_only/dimethenamid_2018.html">Example evaluations of dimethenamid data from 2018 with nonlinear mixed-effects models</a> </li> <li> + <a href="../../articles/web_only/multistart.html">Short demo of the multistart method</a> + </li> + <li> <a href="../../articles/web_only/compiled_models.html">Performance benefit by using compiled model definitions in mkin</a> </li> <li> @@ -140,6 +143,11 @@ <span><span class="va">f_saem_reduced_multi</span> <span class="op"><-</span> <span class="fu"><a href="../../reference/multistart.html">multistart</a></span><span class="op">(</span><span class="va">f_saem_reduced</span>, n <span class="op">=</span> <span class="fl">16</span>, cores <span class="op">=</span> <span class="fl">16</span><span class="op">)</span></span> <span><span class="fu"><a href="../../reference/parhist.html">parhist</a></span><span class="op">(</span><span class="va">f_saem_reduced_multi</span>, lpos <span class="op">=</span> <span class="st">"bottomright"</span><span class="op">)</span></span></code></pre></div> <p><img src="multistart_files/figure-html/unnamed-chunk-3-1.png" width="700"></p> +<p>We can also analyse the log-likelihoods obtained in the multiple runs:</p> +<div class="sourceCode" id="cb4"><pre class="downlit sourceCode r"> +<code class="sourceCode R"><span><span class="fu"><a href="../../reference/llhist.html">llhist</a></span><span class="op">(</span><span class="va">f_saem_reduced_multi</span><span class="op">)</span></span></code></pre></div> +<p><img src="multistart_files/figure-html/unnamed-chunk-4-1.png" width="700"></p> +<p>The one run with the lower likelihood is probably responsible for the outliers in the boxplots above, and caused by some weird starting value combination. In any case, the converged values from the original fit (red circles) appear perfectly acceptable, supporting the choice of starting values made by mkin.</p> </div> <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar"> |