From 9f9336d59e68690472888bfdeb12944176d7d272 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 25 May 2020 13:01:23 +0200 Subject: First working version of saemix helper functions saemix_data depends on a development version of saemix, see pull request saemixdevelopment/saemixextension#2 --- docs/reference/mkinfit.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'docs/reference/mkinfit.html') diff --git a/docs/reference/mkinfit.html b/docs/reference/mkinfit.html index 0c1540d2..ced0cb54 100644 --- a/docs/reference/mkinfit.html +++ b/docs/reference/mkinfit.html @@ -424,8 +424,8 @@ Degradation Data. Environments 6(12) 124 fit <- mkinfit("FOMC", FOCUS_2006_C, quiet = TRUE) summary(fit)
#> mkin version used for fitting: 0.9.50.3 #> R version used for fitting: 4.0.0 -#> Date of fit: Fri May 15 07:30:32 2020 -#> Date of summary: Fri May 15 07:30:32 2020 +#> Date of fit: Mon May 25 12:29:22 2020 +#> Date of summary: Mon May 25 12:29:22 2020 #> #> Equations: #> d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent @@ -509,7 +509,7 @@ Degradation Data. Environments 6(12) 124 m1 = mkinsub("SFO"))
#> Successfully compiled differential equation model from auto-generated C code.
# Fit the model to the FOCUS example dataset D using defaults print(system.time(fit <- mkinfit(SFO_SFO, FOCUS_2006_D, solution_type = "eigen", quiet = TRUE)))
#> Warning: Observations with value of zero were removed from the data
#> user system elapsed -#> 0.413 0.005 0.419
parms(fit)
#> parent_0 k_parent k_m1 f_parent_to_m1 sigma +#> 0.407 0.013 0.423
parms(fit)
#> parent_0 k_parent k_m1 f_parent_to_m1 sigma #> 99.598483222 0.098697734 0.005260651 0.514475962 3.125503875
endpoints(fit)
#> $ff #> parent_m1 parent_sink #> 0.514476 0.485524 @@ -599,7 +599,7 @@ Degradation Data. Environments 6(12) 124 #> Sum of squared residuals at call 166: 371.2134 #> Sum of squared residuals at call 168: 371.2134 #> Negative log-likelihood at call 178: 97.22429
#> Optimisation successfully terminated.
#> user system elapsed -#> 0.354 0.000 0.354
parms(fit.deSolve)
#> parent_0 k_parent k_m1 f_parent_to_m1 sigma +#> 0.351 0.000 0.352
parms(fit.deSolve)
#> parent_0 k_parent k_m1 f_parent_to_m1 sigma #> 99.598480759 0.098697739 0.005260651 0.514475958 3.125503874
endpoints(fit.deSolve)
#> $ff #> parent_m1 parent_sink #> 0.514476 0.485524 @@ -633,8 +633,8 @@ Degradation Data. Environments 6(12) 124 SFO_SFO.ff <- mkinmod(parent = mkinsub("SFO", "m1"), m1 = mkinsub("SFO"), use_of_ff = "max")
#> Successfully compiled differential equation model from auto-generated C code.
f.noweight <- mkinfit(SFO_SFO.ff, FOCUS_2006_D, quiet = TRUE)
#> Warning: Observations with value of zero were removed from the data
summary(f.noweight)
#> mkin version used for fitting: 0.9.50.3 #> R version used for fitting: 4.0.0 -#> Date of fit: Fri May 15 07:30:37 2020 -#> Date of summary: Fri May 15 07:30:37 2020 +#> Date of fit: Mon May 25 12:29:28 2020 +#> Date of summary: Mon May 25 12:29:28 2020 #> #> Equations: #> d_parent/dt = - k_parent * parent @@ -755,8 +755,8 @@ Degradation Data. Environments 6(12) 124 #> 120 m1 25.15 28.78984 -3.640e+00 #> 120 m1 33.31 28.78984 4.520e+00
f.obs <- mkinfit(SFO_SFO.ff, FOCUS_2006_D, error_model = "obs", quiet = TRUE)
#> Warning: Observations with value of zero were removed from the data
summary(f.obs)
#> mkin version used for fitting: 0.9.50.3 #> R version used for fitting: 4.0.0 -#> Date of fit: Fri May 15 07:30:38 2020 -#> Date of summary: Fri May 15 07:30:38 2020 +#> Date of fit: Mon May 25 12:29:28 2020 +#> Date of summary: Mon May 25 12:29:28 2020 #> #> Equations: #> d_parent/dt = - k_parent * parent @@ -892,8 +892,8 @@ Degradation Data. Environments 6(12) 124 #> 120 m1 25.15 28.80429 -3.654e+00 #> 120 m1 33.31 28.80429 4.506e+00
f.tc <- mkinfit(SFO_SFO.ff, FOCUS_2006_D, error_model = "tc", quiet = TRUE)
#> Warning: Observations with value of zero were removed from the data
summary(f.tc)
#> mkin version used for fitting: 0.9.50.3 #> R version used for fitting: 4.0.0 -#> Date of fit: Fri May 15 07:30:39 2020 -#> Date of summary: Fri May 15 07:30:39 2020 +#> Date of fit: Mon May 25 12:29:29 2020 +#> Date of summary: Mon May 25 12:29:29 2020 #> #> Equations: #> d_parent/dt = - k_parent * parent @@ -901,7 +901,7 @@ Degradation Data. Environments 6(12) 124 #> #> Model predictions using solution type analytical #> -#> Fitted using 1875 model solutions performed in 0.658 s +#> Fitted using 1875 model solutions performed in 0.644 s #> #> Error model: Two-component variance function #> -- cgit v1.2.1