We see that not all variability parameters are identifiable. The illparms 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.
f_saem_full_multi<-multistart(f_saem_full, n =16, cores =16)
-parhist(f_saem_full_multi)
This confirms that the variance of k2 is the most problematic parameter, so we reduce the parameter distribution model by removing the intersoil variability for k2.
@@ -148,7 +148,7 @@
## character(0)
f_saem_reduced_multi<-multistart(f_saem_reduced, n =16, cores =16)
-parhist(f_saem_reduced_multi, lpos ="topright")
While AIC and BIC are lower for the reduced model, the likelihood ratio test does not indicate a significant difference between the fits.
diff --git a/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-3-1.png b/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-3-1.png
index e3baa59b..79543765 100644
Binary files a/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-3-1.png and b/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-3-1.png differ
diff --git a/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-4-1.png b/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-4-1.png
index d32e1214..4466d437 100644
Binary files a/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-4-1.png and b/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-4-1.png differ
diff --git a/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-5-1.png b/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-5-1.png
index d72722f0..3dd36f91 100644
Binary files a/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-5-1.png and b/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-5-1.png differ
diff --git a/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-6-1.png b/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-6-1.png
index f9b5aff2..3963e993 100644
Binary files a/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-6-1.png and b/docs/dev/articles/web_only/multistart_files/figure-html/unnamed-chunk-6-1.png differ
diff --git a/docs/dev/news/index.html b/docs/dev/news/index.html
index 029b6999..b509aca3 100644
--- a/docs/dev/news/index.html
+++ b/docs/dev/news/index.html
@@ -86,11 +86,11 @@
mkin 1.1.2
-
‘R/multistart.R’: New method for testing multiple start parameters for hierarchical model fits, with diagnostic plotting functions ‘llhist’ and ‘parhist’.
+
‘R/multistart.R’: New method for testing multiple start parameters for hierarchical model fits, with diagnostic plotting functions ‘llhist’ and ‘parplot’.
‘R/mhmkin.R’: New method for performing multiple hierarchical mkin fits in one function call, optionally in parallel.
‘R/saem.R’: Implement and test saemix transformations for FOMC and HS. Also, error out if saemix transformations are requested but not supported.
‘R/saem.R’: ‘logLik’ and ‘update’ methods for ‘saem.mmkin’ objects.
-
‘R/convergence.R’: New generic to show convergence information with methods for ‘mmkin’ and ‘mhmkin’ objects.
+
‘R/status.R’: New generic to show status information for fit array objects with methods for ‘mmkin’ and ‘mhmkin’ objects.
‘R/illparms.R’: New generic to show ill-defined parameters with methods for ‘mkinfit’, ‘mmkin’, ‘saem.mmkin’ and ‘mhmkin’ objects.
‘R/summary.mmkin.R’: Summary method for mmkin objects.
diff --git a/docs/dev/pkgdown.yml b/docs/dev/pkgdown.yml
index 2bb496a8..12a9b003 100644
--- a/docs/dev/pkgdown.yml
+++ b/docs/dev/pkgdown.yml
@@ -12,7 +12,7 @@ articles:
compiled_models: web_only/compiled_models.html
dimethenamid_2018: web_only/dimethenamid_2018.html
multistart: web_only/multistart.html
-last_built: 2022-10-26T08:33Z
+last_built: 2022-10-28T21:37Z
urls:
reference: https://pkgdown.jrwb.de/mkin/reference
article: https://pkgdown.jrwb.de/mkin/articles
diff --git a/docs/dev/reference/Rplot001.png b/docs/dev/reference/Rplot001.png
index f7b4238e..6841f086 100644
Binary files a/docs/dev/reference/Rplot001.png and b/docs/dev/reference/Rplot001.png differ
diff --git a/docs/dev/reference/Rplot002.png b/docs/dev/reference/Rplot002.png
index 018559d0..11f6a1cd 100644
Binary files a/docs/dev/reference/Rplot002.png and b/docs/dev/reference/Rplot002.png differ
diff --git a/docs/dev/reference/index.html b/docs/dev/reference/index.html
index 3d9d40b7..0fac6842 100644
--- a/docs/dev/reference/index.html
+++ b/docs/dev/reference/index.html
@@ -114,9 +114,9 @@ degradation models and one or more error models
Produces a boxplot with all parameters from the multiple runs, scaled
+either by the parameters of the run with the highest likelihood,
+or by their medians as proposed in the paper by Duchesne et al. (2021).
By default, scale parameters using the best available fit.
+If 'median', parameters are scaled using the median parameters from all fits.
+
+
+
lpos
+
Positioning of the legend.
+
+
+
main
+
Title of the plot
+
+
+
+
References
+
Duchesne R, Guillemin A, Gandrillon O, Crauste F. Practical
+identifiability in the frame of nonlinear mixed effects models: the example
+of the in vitro erythropoiesis. BMC Bioinformatics. 2021 Oct 4;22(1):478.
+doi: 10.1186/s12859-021-04373-4.
+
+
+
+
+
+
+
+
diff --git a/docs/dev/reference/status.html b/docs/dev/reference/status.html
new file mode 100644
index 00000000..778446b3
--- /dev/null
+++ b/docs/dev/reference/status.html
@@ -0,0 +1,171 @@
+
+Method to get status information for fit array objects — status • mkin
+
+
+
Method to get status information for fit array objects
+
+
+
+
status(object, ...)
+
+# S3 method for mmkin
+status(object, ...)
+
+# S3 method for status.mmkin
+print(x, ...)
+
+# S3 method for mhmkin
+status(object, ...)
+
+# S3 method for status.mhmkin
+print(x, ...)
+
+
+
+
Arguments
+
object
+
The object to investigate
+
+
+
...
+
For potential future extensions
+
+
+
x
+
The object to be printed
+
+
+
+
Value
+
+
+
An object with the same dimensions as the fit array
+suitable printing method.
+
+
+
+
Examples
+
# \dontrun{
+fits<-mmkin(
+c("SFO", "FOMC"),
+list("FOCUS A"=FOCUS_2006_A,
+"FOCUS B"=FOCUS_2006_C),
+ quiet =TRUE)
+status(fits)
+#> dataset
+#> model FOCUS A FOCUS B
+#> SFO OK OK
+#> FOMC OK OK
+#>
+#> OK: No warnings
+# }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/dev/reference/summary.mmkin.html b/docs/dev/reference/summary.mmkin.html
index e440e4a9..145e3ba1 100644
--- a/docs/dev/reference/summary.mmkin.html
+++ b/docs/dev/reference/summary.mmkin.html
@@ -1,5 +1,5 @@
-Summary method for class "mmkin" — summary.mmkin • mkinSummary method for class "mmkin" — summary.mmkin • mkin