diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2023-04-20 20:17:12 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2023-04-20 20:17:12 +0200 |
commit | 7b7c4bf493ba15824ea43bed764661678b4aca03 (patch) | |
tree | 48de1e32327c36ee49fc476dc76ece8397ab55c6 /vignettes/web_only/multistart.rmd | |
parent | 842998b688037c007d8876d7e1110c929fe2374c (diff) | |
parent | 9ae42bd20bc2543a94cf1581ba9820c2f9e3afbd (diff) |
Merge branch 'v1.2.3_pkgdown'
Diffstat (limited to 'vignettes/web_only/multistart.rmd')
-rw-r--r-- | vignettes/web_only/multistart.rmd | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/vignettes/web_only/multistart.rmd b/vignettes/web_only/multistart.rmd index ccf26b3d..34ed1ad4 100644 --- a/vignettes/web_only/multistart.rmd +++ b/vignettes/web_only/multistart.rmd @@ -1,7 +1,7 @@ --- title: Short demo of the multistart method author: Johannes Ranke -date: Last change 17 April 2023 (rebuilt `r Sys.Date()`) +date: Last change 20 April 2023 (rebuilt `r Sys.Date()`) output: html_document vignette: > @@ -38,8 +38,8 @@ function tells us that the confidence interval for the standard deviation of 'log_k2' includes zero. We check this assessment using multiple runs with different starting values. -```{r} -f_saem_full_multi <- multistart(f_saem_full, n = 16, cores = 8) +```{r, warnings = FALSE} +f_saem_full_multi <- multistart(f_saem_full, n = 16, cores = 16) parplot(f_saem_full_multi, lpos = "topleft") ``` @@ -50,7 +50,7 @@ for k2. ```{r} f_saem_reduced <- update(f_saem_full, no_random_effect = "log_k2") illparms(f_saem_reduced) -f_saem_reduced_multi <- multistart(f_saem_reduced, n = 16, cores = 8) +f_saem_reduced_multi <- multistart(f_saem_reduced, n = 16, cores = 16) parplot(f_saem_reduced_multi, lpos = "topright", ylim = c(0.5, 2)) ``` @@ -76,4 +76,3 @@ a large improvement in case of the full model, because it is less well-defined, which impedes convergence. For the reduced model, using multiple starting values only results in a small improvement of the model fit. - |