aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/reference
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-11-09 09:18:58 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2020-11-09 09:18:58 +0100
commita3e058f8bceca903e7952e66abb4744f66115921 (patch)
treef029eded457914459ecc111511e468905d56172d /docs/dev/reference
parente2cb0d4668f17f57c65f3ff94a7e17c784eaf4ba (diff)
Some work on example code, pkgdown update
Diffstat (limited to 'docs/dev/reference')
-rw-r--r--docs/dev/reference/Rplot003.pngbin15451 -> 52903 bytes
-rw-r--r--docs/dev/reference/Rplot004.pngbin13203 -> 49175 bytes
-rw-r--r--docs/dev/reference/saem-1.pngbin0 -> 48512 bytes
-rw-r--r--docs/dev/reference/saem-2.pngbin0 -> 48630 bytes
-rw-r--r--docs/dev/reference/saem-3.pngbin0 -> 82018 bytes
-rw-r--r--docs/dev/reference/saem-4.pngbin0 -> 128571 bytes
-rw-r--r--docs/dev/reference/saem.html180
-rw-r--r--docs/dev/reference/summary.saem.mmkin-1.pngbin0 -> 7742 bytes
-rw-r--r--docs/dev/reference/summary.saem.mmkin.html385
9 files changed, 388 insertions, 177 deletions
diff --git a/docs/dev/reference/Rplot003.png b/docs/dev/reference/Rplot003.png
index dd7e24f3..7514f1a4 100644
--- a/docs/dev/reference/Rplot003.png
+++ b/docs/dev/reference/Rplot003.png
Binary files differ
diff --git a/docs/dev/reference/Rplot004.png b/docs/dev/reference/Rplot004.png
index 2057f883..2a90c6ee 100644
--- a/docs/dev/reference/Rplot004.png
+++ b/docs/dev/reference/Rplot004.png
Binary files differ
diff --git a/docs/dev/reference/saem-1.png b/docs/dev/reference/saem-1.png
new file mode 100644
index 00000000..9c3421bd
--- /dev/null
+++ b/docs/dev/reference/saem-1.png
Binary files differ
diff --git a/docs/dev/reference/saem-2.png b/docs/dev/reference/saem-2.png
new file mode 100644
index 00000000..bc975b79
--- /dev/null
+++ b/docs/dev/reference/saem-2.png
Binary files differ
diff --git a/docs/dev/reference/saem-3.png b/docs/dev/reference/saem-3.png
new file mode 100644
index 00000000..5744b722
--- /dev/null
+++ b/docs/dev/reference/saem-3.png
Binary files differ
diff --git a/docs/dev/reference/saem-4.png b/docs/dev/reference/saem-4.png
new file mode 100644
index 00000000..b020dbbc
--- /dev/null
+++ b/docs/dev/reference/saem-4.png
Binary files differ
diff --git a/docs/dev/reference/saem.html b/docs/dev/reference/saem.html
index 25608fc8..26f4c3e3 100644
--- a/docs/dev/reference/saem.html
+++ b/docs/dev/reference/saem.html
@@ -229,27 +229,27 @@ using <a href='mmkin.html'>mmkin</a>.</p>
state.ini <span class='op'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span>parent <span class='op'>=</span> <span class='fl'>100</span><span class='op'>)</span>, fixed_initials <span class='op'>=</span> <span class='st'>"parent"</span>, quiet <span class='op'>=</span> <span class='cn'>TRUE</span><span class='op'>)</span>
<span class='va'>f_saem_p0_fixed</span> <span class='op'>&lt;-</span> <span class='fu'>saem</span><span class='op'>(</span><span class='va'>f_mmkin_parent_p0_fixed</span><span class='op'>)</span>
</div><div class='output co'>#&gt; Running main SAEM algorithm
-#&gt; [1] "Mon Nov 9 07:04:09 2020"
+#&gt; [1] "Mon Nov 9 09:03:11 2020"
#&gt; ....
#&gt; Minimisation finished
-#&gt; [1] "Mon Nov 9 07:04:11 2020"</div><div class='input'>
+#&gt; [1] "Mon Nov 9 09:03:13 2020"</div><div class='input'>
<span class='va'>f_mmkin_parent</span> <span class='op'>&lt;-</span> <span class='fu'><a href='mmkin.html'>mmkin</a></span><span class='op'>(</span><span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span><span class='st'>"SFO"</span>, <span class='st'>"FOMC"</span>, <span class='st'>"DFOP"</span><span class='op'>)</span>, <span class='va'>ds</span>, quiet <span class='op'>=</span> <span class='cn'>TRUE</span><span class='op'>)</span>
<span class='va'>f_saem_sfo</span> <span class='op'>&lt;-</span> <span class='fu'>saem</span><span class='op'>(</span><span class='va'>f_mmkin_parent</span><span class='op'>[</span><span class='st'>"SFO"</span>, <span class='op'>]</span><span class='op'>)</span>
</div><div class='output co'>#&gt; Running main SAEM algorithm
-#&gt; [1] "Mon Nov 9 07:04:12 2020"
+#&gt; [1] "Mon Nov 9 09:03:14 2020"
#&gt; ....
#&gt; Minimisation finished
-#&gt; [1] "Mon Nov 9 07:04:13 2020"</div><div class='input'><span class='va'>f_saem_fomc</span> <span class='op'>&lt;-</span> <span class='fu'>saem</span><span class='op'>(</span><span class='va'>f_mmkin_parent</span><span class='op'>[</span><span class='st'>"FOMC"</span>, <span class='op'>]</span><span class='op'>)</span>
+#&gt; [1] "Mon Nov 9 09:03:16 2020"</div><div class='input'><span class='va'>f_saem_fomc</span> <span class='op'>&lt;-</span> <span class='fu'>saem</span><span class='op'>(</span><span class='va'>f_mmkin_parent</span><span class='op'>[</span><span class='st'>"FOMC"</span>, <span class='op'>]</span><span class='op'>)</span>
</div><div class='output co'>#&gt; Running main SAEM algorithm
-#&gt; [1] "Mon Nov 9 07:04:14 2020"
+#&gt; [1] "Mon Nov 9 09:03:16 2020"
#&gt; ....
#&gt; Minimisation finished
-#&gt; [1] "Mon Nov 9 07:04:16 2020"</div><div class='input'><span class='va'>f_saem_dfop</span> <span class='op'>&lt;-</span> <span class='fu'>saem</span><span class='op'>(</span><span class='va'>f_mmkin_parent</span><span class='op'>[</span><span class='st'>"DFOP"</span>, <span class='op'>]</span><span class='op'>)</span>
+#&gt; [1] "Mon Nov 9 09:03:18 2020"</div><div class='input'><span class='va'>f_saem_dfop</span> <span class='op'>&lt;-</span> <span class='fu'>saem</span><span class='op'>(</span><span class='va'>f_mmkin_parent</span><span class='op'>[</span><span class='st'>"DFOP"</span>, <span class='op'>]</span><span class='op'>)</span>
</div><div class='output co'>#&gt; Running main SAEM algorithm
-#&gt; [1] "Mon Nov 9 07:04:16 2020"
+#&gt; [1] "Mon Nov 9 09:03:19 2020"
#&gt; ....
#&gt; Minimisation finished
-#&gt; [1] "Mon Nov 9 07:04:19 2020"</div><div class='input'>
+#&gt; [1] "Mon Nov 9 09:03:22 2020"</div><div class='input'>
<span class='co'># The returned saem.mmkin object contains an SaemixObject, therefore we can use</span>
<span class='co'># functions from saemix</span>
<span class='kw'><a href='https://rdrr.io/r/base/library.html'>library</a></span><span class='op'>(</span><span class='va'>saemix</span><span class='op'>)</span>
@@ -258,14 +258,47 @@ using <a href='mmkin.html'>mmkin</a>.</p>
</div><div class='output co'>#&gt; Likelihoods computed by importance sampling </div><div class='output co'>#&gt; AIC BIC
#&gt; 1 624.2428 622.2900
#&gt; 2 467.7644 465.0305
-#&gt; 3 491.3541 487.8391</div><div class='input'>
+#&gt; 3 491.3541 487.8391</div><div class='input'><span class='fu'><a href='https://rdrr.io/pkg/saemix/man/plot-SaemixObject-method.html'>plot</a></span><span class='op'>(</span><span class='va'>f_saem_fomc</span><span class='op'>$</span><span class='va'>so</span>, plot.type <span class='op'>=</span> <span class='st'>"convergence"</span><span class='op'>)</span>
+</div><div class='output co'>#&gt; Plotting convergence plots</div><div class='input'><span class='fu'><a href='https://rdrr.io/pkg/saemix/man/plot-SaemixObject-method.html'>plot</a></span><span class='op'>(</span><span class='va'>f_saem_fomc</span><span class='op'>$</span><span class='va'>so</span>, plot.type <span class='op'>=</span> <span class='st'>"individual.fit"</span><span class='op'>)</span>
+</div><div class='img'><img src='saem-1.png' alt='' width='700' height='433' /></div><div class='output co'>#&gt; Plotting individual fits</div><div class='input'><span class='fu'><a href='https://rdrr.io/pkg/saemix/man/plot-SaemixObject-method.html'>plot</a></span><span class='op'>(</span><span class='va'>f_saem_fomc</span><span class='op'>$</span><span class='va'>so</span>, plot.type <span class='op'>=</span> <span class='st'>"npde"</span><span class='op'>)</span>
+</div><div class='img'><img src='saem-2.png' alt='' width='700' height='433' /></div><div class='output co'>#&gt; Simulating data using nsim = 1000 simulated datasets
+#&gt; Computing WRES and npde .
+#&gt; Plotting npde</div><div class='img'><img src='saem-3.png' alt='' width='700' height='433' /></div><div class='output co'>#&gt; ---------------------------------------------
+#&gt; Distribution of npde:
+#&gt; mean= -0.01736 (SE= 0.098 )
+#&gt; variance= 0.8562 (SE= 0.13 )
+#&gt; skewness= 0.513
+#&gt; kurtosis= 1.202
+#&gt; ---------------------------------------------
+#&gt;
+#&gt; Statistical tests
+#&gt; Wilcoxon signed rank test : 0.652
+#&gt; Fisher variance test : 0.338
+#&gt; SW test of normality : 0.0757 .
+#&gt; Global adjusted p-value : 0.227
+#&gt; ---
+#&gt; Signif. codes: '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1
+#&gt; ---------------------------------------------</div><div class='input'><span class='fu'><a href='https://rdrr.io/pkg/saemix/man/plot-SaemixObject-method.html'>plot</a></span><span class='op'>(</span><span class='va'>f_saem_fomc</span><span class='op'>$</span><span class='va'>so</span>, plot.type <span class='op'>=</span> <span class='st'>"vpc"</span><span class='op'>)</span>
+</div><div class='output co'>#&gt; Performing simulations under the model.
+#&gt; Plotting VPC
+#&gt; Method used for VPC: binning by quantiles on X , dividing into the following intervals
+#&gt; Interval Centered.On
+#&gt; 1 (-1,3] 1.3
+#&gt; 2 (3,8] 7.4
+#&gt; 3 (8,14] 13.2
+#&gt; 4 (14,21] 20.5
+#&gt; 5 (21,37.7] 29.5
+#&gt; 6 (37.7,60] 50.4
+#&gt; 7 (60,90] 76.6
+#&gt; 8 (90,120] 109.0
+#&gt; 9 (120,180] 156.0 </div><div class='img'><img src='saem-4.png' alt='' width='700' height='433' /></div><div class='input'>
<span class='va'>f_mmkin_parent_tc</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/update.html'>update</a></span><span class='op'>(</span><span class='va'>f_mmkin_parent</span>, error_model <span class='op'>=</span> <span class='st'>"tc"</span><span class='op'>)</span>
<span class='va'>f_saem_fomc_tc</span> <span class='op'>&lt;-</span> <span class='fu'>saem</span><span class='op'>(</span><span class='va'>f_mmkin_parent_tc</span><span class='op'>[</span><span class='st'>"FOMC"</span>, <span class='op'>]</span><span class='op'>)</span>
</div><div class='output co'>#&gt; Running main SAEM algorithm
-#&gt; [1] "Mon Nov 9 07:04:21 2020"
+#&gt; [1] "Mon Nov 9 09:03:24 2020"
#&gt; ....
#&gt; Minimisation finished
-#&gt; [1] "Mon Nov 9 07:04:26 2020"</div><div class='input'><span class='fu'><a href='https://rdrr.io/pkg/saemix/man/compare.saemix.html'>compare.saemix</a></span><span class='op'>(</span><span class='fu'><a href='https://rdrr.io/r/base/list.html'>list</a></span><span class='op'>(</span><span class='va'>f_saem_fomc</span><span class='op'>$</span><span class='va'>so</span>, <span class='va'>f_saem_fomc_tc</span><span class='op'>$</span><span class='va'>so</span><span class='op'>)</span><span class='op'>)</span>
+#&gt; [1] "Mon Nov 9 09:03:29 2020"</div><div class='input'><span class='fu'><a href='https://rdrr.io/pkg/saemix/man/compare.saemix.html'>compare.saemix</a></span><span class='op'>(</span><span class='fu'><a href='https://rdrr.io/r/base/list.html'>list</a></span><span class='op'>(</span><span class='va'>f_saem_fomc</span><span class='op'>$</span><span class='va'>so</span>, <span class='va'>f_saem_fomc_tc</span><span class='op'>$</span><span class='va'>so</span><span class='op'>)</span><span class='op'>)</span>
</div><div class='output co'>#&gt; Likelihoods computed by importance sampling </div><div class='output co'>#&gt; AIC BIC
#&gt; 1 467.7644 465.0305
#&gt; 2 469.4862 466.3617</div><div class='input'>
@@ -285,46 +318,105 @@ using <a href='mmkin.html'>mmkin</a>.</p>
<span class='co'># solutions written for mkin this took around four minutes</span>
<span class='va'>f_saem_sfo_sfo</span> <span class='op'>&lt;-</span> <span class='fu'>saem</span><span class='op'>(</span><span class='va'>f_mmkin</span><span class='op'>[</span><span class='st'>"SFO-SFO"</span>, <span class='op'>]</span><span class='op'>)</span>
</div><div class='output co'>#&gt; Running main SAEM algorithm
-#&gt; [1] "Mon Nov 9 07:04:28 2020"
+#&gt; [1] "Mon Nov 9 09:03:31 2020"
#&gt; ....
#&gt; Minimisation finished
-#&gt; [1] "Mon Nov 9 07:04:33 2020"</div><div class='input'><span class='va'>f_saem_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'>saem</span><span class='op'>(</span><span class='va'>f_mmkin</span><span class='op'>[</span><span class='st'>"SFO-SFO"</span>, <span class='op'>]</span><span class='op'>)</span>
+#&gt; [1] "Mon Nov 9 09:03:36 2020"</div><div class='input'><span class='va'>f_saem_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'>saem</span><span class='op'>(</span><span class='va'>f_mmkin</span><span class='op'>[</span><span class='st'>"DFOP-SFO"</span>, <span class='op'>]</span><span class='op'>)</span>
</div><div class='output co'>#&gt; Running main SAEM algorithm
-#&gt; [1] "Mon Nov 9 07:04:33 2020"
+#&gt; [1] "Mon Nov 9 09:03:37 2020"
#&gt; ....
#&gt; Minimisation finished
-#&gt; [1] "Mon Nov 9 07:04:39 2020"</div><div class='input'>
+#&gt; [1] "Mon Nov 9 09:03:46 2020"</div><div class='input'><span class='fu'><a href='https://rdrr.io/pkg/saemix/man/summary-methods.html'>summary</a></span><span class='op'>(</span><span class='va'>f_saem_dfop_sfo</span>, data <span class='op'>=</span> <span class='cn'>FALSE</span><span class='op'>)</span>
+</div><div class='output co'>#&gt; saemix version used for fitting: 3.1.9000
+#&gt; mkin version used for pre-fitting: 0.9.50.4
+#&gt; R version used for fitting: 4.0.3
+#&gt; Date of fit: Mon Nov 9 09:03:47 2020
+#&gt; Date of summary: Mon Nov 9 09:03:47 2020
+#&gt;
+#&gt; Equations:
+#&gt; d_parent/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 *
+#&gt; time)) / (g * exp(-k1 * time) + (1 - g) * exp(-k2 * time)))
+#&gt; * parent
+#&gt; d_A1/dt = + f_parent_to_A1 * ((k1 * g * exp(-k1 * time) + k2 * (1 - g)
+#&gt; * exp(-k2 * time)) / (g * exp(-k1 * time) + (1 - g) *
+#&gt; exp(-k2 * time))) * parent - k_A1 * A1
+#&gt;
+#&gt; Data:
+#&gt; 170 observations of 2 variable(s) grouped in 5 datasets
+#&gt;
+#&gt; Model predictions using solution type analytical
+#&gt;
+#&gt; Fitted in 9.758 s using 300, 100 iterations
+#&gt;
+#&gt; Variance model: Constant variance
+#&gt;
+#&gt; Mean of starting values for individual parameters:
+#&gt; parent_0 log_k_A1 f_parent_qlogis log_k1 log_k2
+#&gt; 93.8101519 -9.7647455 -0.9711148 -1.8799371 -4.2708142
+#&gt; g_qlogis
+#&gt; 0.1356441
+#&gt;
+#&gt; Fixed degradation parameter values:
+#&gt; None
+#&gt;
+#&gt; Results:
+#&gt;
+#&gt; Likelihood computed by importance sampling
+#&gt; AIC BIC logLik
+#&gt; 841.3208 836.2435 -407.6604
+#&gt;
+#&gt; Optimised, transformed parameters with symmetric confidence intervals:
+#&gt; est. lower upper
+#&gt; parent_0 93.7514328489 91.113651 96.3892150
+#&gt; log_k_A1 -6.1262333211 -8.432492 -3.8199749
+#&gt; f_parent_qlogis -0.9739851652 -1.371984 -0.5759863
+#&gt; log_k1 -2.4818388836 -3.746899 -1.2167788
+#&gt; log_k2 -3.6138616567 -5.294149 -1.9335743
+#&gt; g_qlogis -0.0004613666 -1.063179 1.0622564
+#&gt;
+#&gt; Correlation:
+#&gt; prnt_0 lg__A1 f_prn_ log_k1 log_k2
+#&gt; log_k_A1 -0.013
+#&gt; f_parent_qlogis -0.025 0.050
+#&gt; log_k1 0.030 0.000 -0.005
+#&gt; log_k2 0.013 0.005 -0.003 0.037
+#&gt; g_qlogis -0.068 -0.016 0.011 -0.181 -0.181
+#&gt;
+#&gt; Random effects:
+#&gt; est. lower upper
+#&gt; SD.parent_0 2.7857084 0.7825105 4.7889063
+#&gt; SD.log_k_A1 2.1412505 0.4425207 3.8399803
+#&gt; SD.f_parent_qlogis 0.4463087 0.1609059 0.7317116
+#&gt; SD.log_k1 1.4097204 0.5240566 2.2953842
+#&gt; SD.log_k2 1.8739067 0.6979362 3.0498773
+#&gt; SD.g_qlogis 0.4559301 -0.8149852 1.7268453
+#&gt;
+#&gt; Variance model:
+#&gt; est. lower upper
+#&gt; a.1 1.882757 1.665681 2.099832
+#&gt;
+#&gt; Backtransformed parameters with asymmetric confidence intervals:
+#&gt; est. lower upper
+#&gt; parent_0 93.751432849 9.111365e+01 96.38921497
+#&gt; k_A1 0.002184795 2.176784e-04 0.02192835
+#&gt; f_parent_to_A1 0.274086887 2.022995e-01 0.35985666
+#&gt; k1 0.083589373 2.359079e-02 0.29618269
+#&gt; k2 0.026947583 5.020885e-03 0.14463032
+#&gt; g 0.499884658 2.567024e-01 0.74312150
+#&gt;
+#&gt; Resulting formation fractions:
+#&gt; ff
+#&gt; parent_A1 0.2741
+#&gt; parent_sink 0.7259
+#&gt;
+#&gt; Estimated disappearance times:
+#&gt; DT50 DT90 DT50back DT50_k1 DT50_k2
+#&gt; parent 13.91 60.89 18.33 8.292 25.72
+#&gt; A1 317.26 1053.91 NA NA NA</div><div class='input'>
<span class='co'># Using a single core, the following takes about 6 minutes, using 10 cores</span>
<span class='co'># it is slower instead of faster</span>
-<span class='va'>f_saem_fomc</span> <span class='op'>&lt;-</span> <span class='fu'>saem</span><span class='op'>(</span><span class='va'>f_mmkin</span><span class='op'>[</span><span class='st'>"FOMC-SFO"</span>, <span class='op'>]</span>, cores <span class='op'>=</span> <span class='fl'>1</span><span class='op'>)</span>
-</div><div class='output co'>#&gt; Running main SAEM algorithm
-#&gt; [1] "Mon Nov 9 07:04:39 2020"
-#&gt; DLSODA- At current T (=R1), MXSTEP (=I1) steps
-#&gt; taken on this call before reaching TOUT
-#&gt; In above message, I1 = 5000
-#&gt;
-#&gt; In above message, R1 = 0.00156238
-#&gt;
-#&gt; DLSODA- At T (=R1) and step size H (=R2), the
-#&gt; corrector convergence failed repeatedly
-#&gt; or with ABS(H) = HMIN
-#&gt; In above message, R1 = 0, R2 = 1.1373e-10
-#&gt;
-#&gt; DLSODA- At current T (=R1), MXSTEP (=I1) steps
-#&gt; taken on this call before reaching TOUT
-#&gt; In above message, I1 = 5000
-#&gt;
-#&gt; In above message, R1 = 2.24752e-06
-#&gt;
-#&gt; DLSODA- At current T (=R1), MXSTEP (=I1) steps
-#&gt; taken on this call before reaching TOUT
-#&gt; In above message, I1 = 5000
-#&gt;
-#&gt; In above message, R1 = 0.000585935
-#&gt;
-#&gt; ....
-#&gt; Minimisation finished
-#&gt; [1] "Mon Nov 9 07:11:24 2020"</div><div class='output co'>#&gt; <span class='warning'>Warning: Creating predictions from the saemix model failed</span></div><div class='input'><span class='co'># }</span>
+<span class='co'>#f_saem_fomc &lt;- saem(f_mmkin["FOMC-SFO", ], cores = 1)</span>
+<span class='co'># }</span>
</div></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
diff --git a/docs/dev/reference/summary.saem.mmkin-1.png b/docs/dev/reference/summary.saem.mmkin-1.png
new file mode 100644
index 00000000..e3538cb6
--- /dev/null
+++ b/docs/dev/reference/summary.saem.mmkin-1.png
Binary files differ
diff --git a/docs/dev/reference/summary.saem.mmkin.html b/docs/dev/reference/summary.saem.mmkin.html
index 01e8eb12..75ede09f 100644
--- a/docs/dev/reference/summary.saem.mmkin.html
+++ b/docs/dev/reference/summary.saem.mmkin.html
@@ -156,7 +156,7 @@ endpoints such as formation fractions and DT50 values. Optionally
</div>
<pre class="usage"><span class='co'># S3 method for saem.mmkin</span>
-<span class='fu'><a href='https://rdrr.io/pkg/saemix/man/summary-methods.html'>summary</a></span><span class='op'>(</span><span class='va'>object</span>, data <span class='op'>=</span> <span class='cn'>FALSE</span>, verbose <span class='op'>=</span> <span class='cn'>FALSE</span>, distimes <span class='op'>=</span> <span class='cn'>TRUE</span>, <span class='va'>...</span><span class='op'>)</span>
+<span class='fu'><a href='https://rdrr.io/r/base/summary.html'>summary</a></span><span class='op'>(</span><span class='va'>object</span>, data <span class='op'>=</span> <span class='cn'>FALSE</span>, verbose <span class='op'>=</span> <span class='cn'>FALSE</span>, distimes <span class='op'>=</span> <span class='cn'>TRUE</span>, <span class='va'>...</span><span class='op'>)</span>
<span class='co'># S3 method for summary.saem.mmkin</span>
<span class='fu'><a href='https://rdrr.io/r/base/print.html'>print</a></span><span class='op'>(</span><span class='va'>x</span>, digits <span class='op'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/Extremes.html'>max</a></span><span class='op'>(</span><span class='fl'>3</span>, <span class='fu'><a href='https://rdrr.io/r/base/options.html'>getOption</a></span><span class='op'>(</span><span class='st'>"digits"</span><span class='op'>)</span> <span class='op'>-</span> <span class='fl'>3</span><span class='op'>)</span>, verbose <span class='op'>=</span> <span class='va'>x</span><span class='op'>$</span><span class='va'>verbose</span>, <span class='va'>...</span><span class='op'>)</span></pre>
@@ -220,25 +220,34 @@ The print method is called for its side effect, i.e. printing the summary.
saemix authors for the parts inherited from saemix.</p>
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
- <pre class="examples"><div class='input'><span class='co'># Generate five datasets following SFO kinetics</span>
+ <pre class="examples"><div class='input'><span class='co'># Generate five datasets following DFOP-SFO kinetics</span>
<span class='va'>sampling_times</span> <span class='op'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span><span class='fl'>0</span>, <span class='fl'>1</span>, <span class='fl'>3</span>, <span class='fl'>7</span>, <span class='fl'>14</span>, <span class='fl'>28</span>, <span class='fl'>60</span>, <span class='fl'>90</span>, <span class='fl'>120</span><span class='op'>)</span>
-<span class='va'>dt50_sfo_in_pop</span> <span class='op'>&lt;-</span> <span class='fl'>50</span>
-<span class='va'>k_in_pop</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/Log.html'>log</a></span><span class='op'>(</span><span class='fl'>2</span><span class='op'>)</span> <span class='op'>/</span> <span class='va'>dt50_sfo_in_pop</span>
+<span class='va'>dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'><a href='mkinmod.html'>mkinmod</a></span><span class='op'>(</span>parent <span class='op'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span><span class='op'>(</span><span class='st'>"DFOP"</span>, <span class='st'>"m1"</span><span class='op'>)</span>,
+ m1 <span class='op'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span><span class='op'>(</span><span class='st'>"SFO"</span><span class='op'>)</span>, quiet <span class='op'>=</span> <span class='cn'>TRUE</span><span class='op'>)</span>
<span class='fu'><a href='https://rdrr.io/r/base/Random.html'>set.seed</a></span><span class='op'>(</span><span class='fl'>1234</span><span class='op'>)</span>
-<span class='va'>k_in</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/Lognormal.html'>rlnorm</a></span><span class='op'>(</span><span class='fl'>5</span>, <span class='fu'><a href='https://rdrr.io/r/base/Log.html'>log</a></span><span class='op'>(</span><span class='va'>k_in_pop</span><span class='op'>)</span>, <span class='fl'>0.5</span><span class='op'>)</span>
-<span class='va'>SFO</span> <span class='op'>&lt;-</span> <span class='fu'><a href='mkinmod.html'>mkinmod</a></span><span class='op'>(</span>parent <span class='op'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span><span class='op'>(</span><span class='st'>"SFO"</span><span class='op'>)</span><span class='op'>)</span>
-
-<span class='va'>pred_sfo</span> <span class='op'>&lt;-</span> <span class='kw'>function</span><span class='op'>(</span><span class='va'>k</span><span class='op'>)</span> <span class='op'>{</span>
- <span class='fu'><a href='mkinpredict.html'>mkinpredict</a></span><span class='op'>(</span><span class='va'>SFO</span>,
- <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span>k_parent <span class='op'>=</span> <span class='va'>k</span><span class='op'>)</span>,
- <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span>parent <span class='op'>=</span> <span class='fl'>100</span><span class='op'>)</span>,
+<span class='va'>k1_in</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/Lognormal.html'>rlnorm</a></span><span class='op'>(</span><span class='fl'>5</span>, <span class='fu'><a href='https://rdrr.io/r/base/Log.html'>log</a></span><span class='op'>(</span><span class='fl'>0.1</span><span class='op'>)</span>, <span class='fl'>0.3</span><span class='op'>)</span>
+<span class='va'>k2_in</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/Lognormal.html'>rlnorm</a></span><span class='op'>(</span><span class='fl'>5</span>, <span class='fu'><a href='https://rdrr.io/r/base/Log.html'>log</a></span><span class='op'>(</span><span class='fl'>0.02</span><span class='op'>)</span>, <span class='fl'>0.3</span><span class='op'>)</span>
+<span class='va'>g_in</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/Logistic.html'>plogis</a></span><span class='op'>(</span><span class='fu'><a href='https://rdrr.io/r/stats/Normal.html'>rnorm</a></span><span class='op'>(</span><span class='fl'>5</span>, <span class='fu'><a href='https://rdrr.io/r/stats/Logistic.html'>qlogis</a></span><span class='op'>(</span><span class='fl'>0.5</span><span class='op'>)</span>, <span class='fl'>0.3</span><span class='op'>)</span><span class='op'>)</span>
+<span class='va'>f_parent_to_m1_in</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/Logistic.html'>plogis</a></span><span class='op'>(</span><span class='fu'><a href='https://rdrr.io/r/stats/Normal.html'>rnorm</a></span><span class='op'>(</span><span class='fl'>5</span>, <span class='fu'><a href='https://rdrr.io/r/stats/Logistic.html'>qlogis</a></span><span class='op'>(</span><span class='fl'>0.3</span><span class='op'>)</span>, <span class='fl'>0.3</span><span class='op'>)</span><span class='op'>)</span>
+<span class='va'>k_m1_in</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/Lognormal.html'>rlnorm</a></span><span class='op'>(</span><span class='fl'>5</span>, <span class='fu'><a href='https://rdrr.io/r/base/Log.html'>log</a></span><span class='op'>(</span><span class='fl'>0.02</span><span class='op'>)</span>, <span class='fl'>0.3</span><span class='op'>)</span>
+
+<span class='va'>pred_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='kw'>function</span><span class='op'>(</span><span class='va'>k1</span>, <span class='va'>k2</span>, <span class='va'>g</span>, <span class='va'>f_parent_to_m1</span>, <span class='va'>k_m1</span><span class='op'>)</span> <span class='op'>{</span>
+ <span class='fu'><a href='mkinpredict.html'>mkinpredict</a></span><span class='op'>(</span><span class='va'>dfop_sfo</span>,
+ <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span>k1 <span class='op'>=</span> <span class='va'>k1</span>, k2 <span class='op'>=</span> <span class='va'>k2</span>, g <span class='op'>=</span> <span class='va'>g</span>, f_parent_to_m1 <span class='op'>=</span> <span class='va'>f_parent_to_m1</span>, k_m1 <span class='op'>=</span> <span class='va'>k_m1</span><span class='op'>)</span>,
+ <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span>parent <span class='op'>=</span> <span class='fl'>100</span>, m1 <span class='op'>=</span> <span class='fl'>0</span><span class='op'>)</span>,
<span class='va'>sampling_times</span><span class='op'>)</span>
<span class='op'>}</span>
-<span class='va'>ds_sfo_mean</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/lapply.html'>lapply</a></span><span class='op'>(</span><span class='va'>k_in</span>, <span class='va'>pred_sfo</span><span class='op'>)</span>
-<span class='fu'><a href='https://rdrr.io/r/base/names.html'>names</a></span><span class='op'>(</span><span class='va'>ds_sfo_mean</span><span class='op'>)</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/paste.html'>paste</a></span><span class='op'>(</span><span class='st'>"ds"</span>, <span class='fl'>1</span><span class='op'>:</span><span class='fl'>5</span><span class='op'>)</span>
+<span class='va'>ds_mean_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/lapply.html'>lapply</a></span><span class='op'>(</span><span class='fl'>1</span><span class='op'>:</span><span class='fl'>5</span>, <span class='kw'>function</span><span class='op'>(</span><span class='va'>i</span><span class='op'>)</span> <span class='op'>{</span>
+ <span class='fu'><a href='mkinpredict.html'>mkinpredict</a></span><span class='op'>(</span><span class='va'>dfop_sfo</span>,
+ <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span>k1 <span class='op'>=</span> <span class='va'>k1_in</span><span class='op'>[</span><span class='va'>i</span><span class='op'>]</span>, k2 <span class='op'>=</span> <span class='va'>k2_in</span><span class='op'>[</span><span class='va'>i</span><span class='op'>]</span>, g <span class='op'>=</span> <span class='va'>g_in</span><span class='op'>[</span><span class='va'>i</span><span class='op'>]</span>,
+ f_parent_to_m1 <span class='op'>=</span> <span class='va'>f_parent_to_m1_in</span><span class='op'>[</span><span class='va'>i</span><span class='op'>]</span>, k_m1 <span class='op'>=</span> <span class='va'>k_m1_in</span><span class='op'>[</span><span class='va'>i</span><span class='op'>]</span><span class='op'>)</span>,
+ <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span>parent <span class='op'>=</span> <span class='fl'>100</span>, m1 <span class='op'>=</span> <span class='fl'>0</span><span class='op'>)</span>,
+ <span class='va'>sampling_times</span><span class='op'>)</span>
+<span class='op'>}</span><span class='op'>)</span>
+<span class='fu'><a href='https://rdrr.io/r/base/names.html'>names</a></span><span class='op'>(</span><span class='va'>ds_mean_dfop_sfo</span><span class='op'>)</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/paste.html'>paste</a></span><span class='op'>(</span><span class='st'>"ds"</span>, <span class='fl'>1</span><span class='op'>:</span><span class='fl'>5</span><span class='op'>)</span>
-<span class='va'>ds_sfo_syn</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/lapply.html'>lapply</a></span><span class='op'>(</span><span class='va'>ds_sfo_mean</span>, <span class='kw'>function</span><span class='op'>(</span><span class='va'>ds</span><span class='op'>)</span> <span class='op'>{</span>
+<span class='va'>ds_syn_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/lapply.html'>lapply</a></span><span class='op'>(</span><span class='va'>ds_mean_dfop_sfo</span>, <span class='kw'>function</span><span class='op'>(</span><span class='va'>ds</span><span class='op'>)</span> <span class='op'>{</span>
<span class='fu'><a href='add_err.html'>add_err</a></span><span class='op'>(</span><span class='va'>ds</span>,
sdfunc <span class='op'>=</span> <span class='kw'>function</span><span class='op'>(</span><span class='va'>value</span><span class='op'>)</span> <span class='fu'><a href='https://rdrr.io/r/base/MathFun.html'>sqrt</a></span><span class='op'>(</span><span class='fl'>1</span><span class='op'>^</span><span class='fl'>2</span> <span class='op'>+</span> <span class='va'>value</span><span class='op'>^</span><span class='fl'>2</span> <span class='op'>*</span> <span class='fl'>0.07</span><span class='op'>^</span><span class='fl'>2</span><span class='op'>)</span>,
n <span class='op'>=</span> <span class='fl'>1</span><span class='op'>)</span><span class='op'>[[</span><span class='fl'>1</span><span class='op'>]</span><span class='op'>]</span>
@@ -246,34 +255,41 @@ saemix authors for the parts inherited from saemix.</p>
<span class='co'># \dontrun{</span>
<span class='co'># Evaluate using mmkin and saem</span>
-<span class='va'>f_mmkin</span> <span class='op'>&lt;-</span> <span class='fu'><a href='mmkin.html'>mmkin</a></span><span class='op'>(</span><span class='st'>"SFO"</span>, <span class='va'>ds_sfo_syn</span>, quiet <span class='op'>=</span> <span class='cn'>TRUE</span>, error_model <span class='op'>=</span> <span class='st'>"tc"</span>, cores <span class='op'>=</span> <span class='fl'>1</span><span class='op'>)</span>
-<span class='va'>f_saem</span> <span class='op'>&lt;-</span> <span class='fu'><a href='saem.html'>saem</a></span><span class='op'>(</span><span class='va'>f_mmkin</span><span class='op'>)</span>
+<span class='va'>f_mmkin_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'><a href='mmkin.html'>mmkin</a></span><span class='op'>(</span><span class='fu'><a href='https://rdrr.io/r/base/list.html'>list</a></span><span class='op'>(</span><span class='va'>dfop_sfo</span><span class='op'>)</span>, <span class='va'>ds_syn_dfop_sfo</span>, quiet <span class='op'>=</span> <span class='cn'>TRUE</span>, error_model <span class='op'>=</span> <span class='st'>"tc"</span>, cores <span class='op'>=</span> <span class='fl'>5</span><span class='op'>)</span>
+<span class='va'>f_saem_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'><a href='saem.html'>saem</a></span><span class='op'>(</span><span class='va'>f_mmkin_dfop_sfo</span><span class='op'>)</span>
</div><div class='output co'>#&gt; Running main SAEM algorithm
-#&gt; [1] "Sun Nov 8 02:58:03 2020"
+#&gt; [1] "Mon Nov 9 09:11:04 2020"
#&gt; ....
#&gt; Minimisation finished
-#&gt; [1] "Sun Nov 8 02:58:07 2020"</div><div class='input'><span class='fu'><a href='https://rdrr.io/pkg/saemix/man/summary-methods.html'>summary</a></span><span class='op'>(</span><span class='va'>f_saem</span>, data <span class='op'>=</span> <span class='cn'>TRUE</span><span class='op'>)</span>
+#&gt; [1] "Mon Nov 9 09:11:16 2020"</div><div class='input'><span class='fu'><a href='https://rdrr.io/r/base/summary.html'>summary</a></span><span class='op'>(</span><span class='va'>f_saem_dfop_sfo</span>, data <span class='op'>=</span> <span class='cn'>TRUE</span><span class='op'>)</span>
</div><div class='output co'>#&gt; saemix version used for fitting: 3.1.9000
#&gt; mkin version used for pre-fitting: 0.9.50.4
#&gt; R version used for fitting: 4.0.3
-#&gt; Date of fit: Sun Nov 8 02:58:07 2020
-#&gt; Date of summary: Sun Nov 8 02:58:07 2020
+#&gt; Date of fit: Mon Nov 9 09:11:17 2020
+#&gt; Date of summary: Mon Nov 9 09:11:17 2020
#&gt;
#&gt; Equations:
-#&gt; d_parent/dt = - k_parent * parent
+#&gt; d_parent/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 *
+#&gt; time)) / (g * exp(-k1 * time) + (1 - g) * exp(-k2 * time)))
+#&gt; * parent
+#&gt; d_m1/dt = + f_parent_to_m1 * ((k1 * g * exp(-k1 * time) + k2 * (1 - g)
+#&gt; * exp(-k2 * time)) / (g * exp(-k1 * time) + (1 - g) *
+#&gt; exp(-k2 * time))) * parent - k_m1 * m1
#&gt;
#&gt; Data:
-#&gt; 90 observations of 1 variable(s) grouped in 5 datasets
+#&gt; 171 observations of 2 variable(s) grouped in 5 datasets
#&gt;
#&gt; Model predictions using solution type analytical
#&gt;
-#&gt; Fitted in 4.175 s using 300, 100 iterations
+#&gt; Fitted in 13.497 s using 300, 100 iterations
#&gt;
#&gt; Variance model: Two-component variance function
#&gt;
#&gt; Mean of starting values for individual parameters:
-#&gt; parent_0 log_k_parent
-#&gt; 97.849556 -4.455036
+#&gt; parent_0 log_k_m1 f_parent_qlogis log_k1 log_k2
+#&gt; 101.65644697 -4.05368181 -0.94310703 -2.35943247 -4.07006293
+#&gt; g_qlogis
+#&gt; -0.01132621
#&gt;
#&gt; Fixed degradation parameter values:
#&gt; None
@@ -281,129 +297,232 @@ saemix authors for the parts inherited from saemix.</p>
#&gt; Results:
#&gt;
#&gt; Likelihood computed by importance sampling
-#&gt; AIC BIC logLik
-#&gt; 555.6718 553.3284 -271.8359
+#&gt; AIC BIC logLik
+#&gt; 828.8639 823.396 -400.432
#&gt;
#&gt; Optimised, transformed parameters with symmetric confidence intervals:
-#&gt; est. lower upper
-#&gt; parent_0 97.840291 94.701895 100.978686
-#&gt; log_k_parent -4.464246 -5.001413 -3.927078
+#&gt; est. lower upper
+#&gt; parent_0 101.35835807 97.8846505 104.8320657
+#&gt; log_k_m1 -4.06644838 -4.1861445 -3.9467523
+#&gt; f_parent_qlogis -0.94818070 -1.3124706 -0.5838908
+#&gt; log_k1 -2.92096208 -3.7684319 -2.0734922
+#&gt; log_k2 -3.54529352 -4.2532018 -2.8373852
+#&gt; g_qlogis -0.09254475 -0.9675848 0.7824953
#&gt;
#&gt; Correlation:
-#&gt; prnt_0
-#&gt; log_k_parent 0.022
+#&gt; prnt_0 lg_k_1 f_prn_ log_k1 log_k2
+#&gt; log_k_m1 -0.217
+#&gt; f_parent_qlogis -0.153 0.203
+#&gt; log_k1 0.066 -0.067 -0.035
+#&gt; log_k2 0.002 0.010 0.001 -0.041
+#&gt; g_qlogis -0.014 0.005 0.015 -0.163 -0.106
#&gt;
#&gt; Random effects:
-#&gt; est. lower upper
-#&gt; SD.parent_0 3.0805465 0.4960170 5.6650760
-#&gt; SD.log_k_parent 0.6109508 0.2301398 0.9917617
+#&gt; est. lower upper
+#&gt; SD.parent_0 2.70034095 -0.7003441 6.1010260
+#&gt; SD.log_k_m1 0.08269959 -0.0456860 0.2110852
+#&gt; SD.f_parent_qlogis 0.39452161 0.1376650 0.6513782
+#&gt; SD.log_k1 0.90605744 0.2946394 1.5174755
+#&gt; SD.log_k2 0.77604374 0.2646031 1.2874844
+#&gt; SD.g_qlogis 0.37531563 -0.6836568 1.4342881
#&gt;
#&gt; Variance model:
#&gt; est. lower upper
-#&gt; a.1 1.06249961 0.23012265 1.89487657
-#&gt; b.1 0.04649661 0.03060849 0.06238473
+#&gt; a.1 0.65736042 0.48750246 0.82721839
+#&gt; b.1 0.06424086 0.05011127 0.07837046
#&gt;
#&gt; Backtransformed parameters with asymmetric confidence intervals:
-#&gt; est. lower upper
-#&gt; parent_0 97.84029088 94.701895315 100.97868644
-#&gt; k_parent 0.01151338 0.006728434 0.01970115
+#&gt; est. lower upper
+#&gt; parent_0 101.35835807 97.88465048 104.83206565
+#&gt; k_m1 0.01713815 0.01520479 0.01931734
+#&gt; f_parent_to_m1 0.27925085 0.21207372 0.35803781
+#&gt; k1 0.05388182 0.02308824 0.12574588
+#&gt; k2 0.02886015 0.01421864 0.05857864
+#&gt; g 0.47688031 0.27536216 0.68621766
+#&gt;
+#&gt; Resulting formation fractions:
+#&gt; ff
+#&gt; parent_m1 0.2793
+#&gt; parent_sink 0.7207
#&gt;
#&gt; Estimated disappearance times:
-#&gt; DT50 DT90
-#&gt; parent 60.2 200
+#&gt; DT50 DT90 DT50back DT50_k1 DT50_k2
+#&gt; parent 17.57 63.28 19.05 12.86 24.02
+#&gt; m1 40.44 134.35 NA NA NA
#&gt;
#&gt; Data:
-#&gt; ds name time observed predicted residual standardized
-#&gt; ds 1 parent 0 103.6 97.303 6.297361 -1.12720
-#&gt; ds 1 parent 0 95.9 97.303 -1.402639 0.25107
-#&gt; ds 1 parent 1 95.4 96.599 -1.198705 0.21583
-#&gt; ds 1 parent 1 95.3 96.599 -1.298705 0.23383
-#&gt; ds 1 parent 3 91.6 95.206 -3.606076 0.65693
-#&gt; ds 1 parent 3 94.5 95.206 -0.706076 0.12863
-#&gt; ds 1 parent 7 88.1 92.481 -4.380761 0.81692
-#&gt; ds 1 parent 7 89.6 92.481 -2.880761 0.53720
-#&gt; ds 1 parent 14 90.3 87.898 2.402166 -0.46649
-#&gt; ds 1 parent 14 96.0 87.898 8.102166 -1.57340
-#&gt; ds 1 parent 28 80.2 79.402 0.797948 -0.16783
-#&gt; ds 1 parent 28 77.9 79.402 -1.502052 0.31593
-#&gt; ds 1 parent 60 59.3 62.940 -3.639829 0.91247
-#&gt; ds 1 parent 60 59.6 62.940 -3.339829 0.83726
-#&gt; ds 1 parent 90 59.4 50.620 8.779547 -2.56999
-#&gt; ds 1 parent 90 51.0 50.620 0.379547 -0.11110
-#&gt; ds 1 parent 120 38.8 40.712 -1.912380 0.64706
-#&gt; ds 1 parent 120 38.9 40.712 -1.812380 0.61323
-#&gt; ds 2 parent 0 103.2 97.185 6.015158 -1.07774
-#&gt; ds 2 parent 0 95.1 97.185 -2.084842 0.37354
-#&gt; ds 2 parent 1 88.3 95.609 -7.309466 1.32706
-#&gt; ds 2 parent 1 102.4 95.609 6.790534 -1.23285
-#&gt; ds 2 parent 3 88.4 92.535 -4.134911 0.77071
-#&gt; ds 2 parent 3 95.2 92.535 2.665089 -0.49675
-#&gt; ds 2 parent 7 83.5 86.679 -3.179231 0.62426
-#&gt; ds 2 parent 7 96.4 86.679 9.720769 -1.90873
-#&gt; ds 2 parent 14 77.3 77.309 -0.009268 0.00199
-#&gt; ds 2 parent 14 76.0 77.309 -1.309268 0.28113
-#&gt; ds 2 parent 28 61.7 61.499 0.201491 -0.05137
-#&gt; ds 2 parent 28 56.5 61.499 -4.998509 1.27449
-#&gt; ds 2 parent 60 35.1 36.454 -1.353571 0.49087
-#&gt; ds 2 parent 60 32.2 36.454 -4.253571 1.54256
-#&gt; ds 2 parent 90 21.2 22.326 -1.125996 0.53604
-#&gt; ds 2 parent 90 23.3 22.326 0.974004 -0.46368
-#&gt; ds 2 parent 120 14.1 13.674 0.426440 -0.25110
-#&gt; ds 2 parent 120 16.9 13.674 3.226440 -1.89983
-#&gt; ds 3 parent 0 92.4 93.838 -1.437848 0.26501
-#&gt; ds 3 parent 0 94.0 93.838 0.162152 -0.02989
-#&gt; ds 3 parent 1 95.7 91.709 3.991384 -0.74932
-#&gt; ds 3 parent 1 90.8 91.709 -0.908616 0.17058
-#&gt; ds 3 parent 3 86.7 87.594 -0.893997 0.17409
-#&gt; ds 3 parent 3 85.8 87.594 -1.793997 0.34934
-#&gt; ds 3 parent 7 77.1 79.910 -2.810299 0.58817
-#&gt; ds 3 parent 7 81.5 79.910 1.589701 -0.33271
-#&gt; ds 3 parent 14 69.1 68.050 1.050102 -0.24845
-#&gt; ds 3 parent 14 62.4 68.050 -5.649898 1.33675
-#&gt; ds 3 parent 28 49.1 49.349 -0.248837 0.07412
-#&gt; ds 3 parent 28 47.2 49.349 -2.148837 0.64010
-#&gt; ds 3 parent 60 21.9 23.676 -1.775776 0.82085
-#&gt; ds 3 parent 60 23.6 23.676 -0.075776 0.03503
-#&gt; ds 3 parent 90 12.4 11.892 0.507660 -0.31425
-#&gt; ds 3 parent 90 13.8 11.892 1.907660 -1.18088
-#&gt; ds 3 parent 120 4.9 5.974 -1.073521 0.80099
-#&gt; ds 3 parent 120 7.5 5.974 1.526479 -1.13895
-#&gt; ds 4 parent 0 91.8 102.087 -10.287197 1.77084
-#&gt; ds 4 parent 0 104.6 102.087 2.512803 -0.43256
-#&gt; ds 4 parent 1 117.5 101.632 15.867689 -2.74145
-#&gt; ds 4 parent 1 99.3 101.632 -2.332311 0.40295
-#&gt; ds 4 parent 3 94.0 100.729 -6.728610 1.17100
-#&gt; ds 4 parent 3 98.7 100.729 -2.028610 0.35304
-#&gt; ds 4 parent 7 109.2 98.945 10.254756 -1.81080
-#&gt; ds 4 parent 7 89.2 98.945 -9.745244 1.72083
-#&gt; ds 4 parent 14 103.3 95.900 7.400009 -1.34021
-#&gt; ds 4 parent 14 103.0 95.900 7.100009 -1.28588
-#&gt; ds 4 parent 28 90.8 90.088 0.712227 -0.13563
-#&gt; ds 4 parent 28 88.7 90.088 -1.387773 0.26427
-#&gt; ds 4 parent 60 74.8 78.091 -3.291273 0.70124
-#&gt; ds 4 parent 60 75.3 78.091 -2.791273 0.59471
-#&gt; ds 4 parent 90 71.1 68.300 2.800407 -0.66075
-#&gt; ds 4 parent 90 78.0 68.300 9.700407 -2.28880
-#&gt; ds 4 parent 120 59.1 59.736 -0.635668 0.16554
-#&gt; ds 4 parent 120 53.8 59.736 -5.935668 1.54574
-#&gt; ds 5 parent 0 94.9 98.353 -3.452694 0.61266
-#&gt; ds 5 parent 0 101.8 98.353 3.447306 -0.61171
-#&gt; ds 5 parent 1 96.1 96.722 -0.621996 0.11187
-#&gt; ds 5 parent 1 97.1 96.722 0.378004 -0.06799
-#&gt; ds 5 parent 3 93.8 93.541 0.258738 -0.04781
-#&gt; ds 5 parent 3 85.8 93.541 -7.741262 1.43043
-#&gt; ds 5 parent 7 87.6 87.490 0.109848 -0.02141
-#&gt; ds 5 parent 7 94.0 87.490 6.509848 -1.26885
-#&gt; ds 5 parent 14 82.5 77.827 4.672679 -0.99818
-#&gt; ds 5 parent 14 81.7 77.827 3.872679 -0.82728
-#&gt; ds 5 parent 28 60.0 61.585 -1.585419 0.40382
-#&gt; ds 5 parent 28 61.0 61.585 -0.585419 0.14911
-#&gt; ds 5 parent 60 32.5 36.068 -3.568284 1.30251
-#&gt; ds 5 parent 60 35.5 36.068 -0.568284 0.20744
-#&gt; ds 5 parent 90 21.8 21.842 -0.042136 0.02028
-#&gt; ds 5 parent 90 24.4 21.842 2.557864 -1.23088
-#&gt; ds 5 parent 120 14.1 13.227 0.872898 -0.52035
-#&gt; ds 5 parent 120 12.1 13.227 -1.127102 0.67189</div><div class='input'><span class='co'># }</span>
+#&gt; ds name time observed predicted residual standardized
+#&gt; ds 1 parent 0 89.8 9.848e+01 -8.68339 1.243323
+#&gt; ds 1 parent 0 104.1 9.848e+01 5.61661 -0.804209
+#&gt; ds 1 parent 1 88.7 9.403e+01 -5.32943 0.795687
+#&gt; ds 1 parent 1 95.5 9.403e+01 1.47057 -0.219557
+#&gt; ds 1 parent 3 81.8 8.584e+01 -4.04129 0.654791
+#&gt; ds 1 parent 3 94.5 8.584e+01 8.65871 -1.402929
+#&gt; ds 1 parent 7 71.5 7.196e+01 -0.46034 0.087182
+#&gt; ds 1 parent 7 70.3 7.196e+01 -1.66034 0.314448
+#&gt; ds 1 parent 14 54.2 5.384e+01 0.36125 -0.087766
+#&gt; ds 1 parent 14 49.6 5.384e+01 -4.23875 1.029821
+#&gt; ds 1 parent 28 31.5 3.220e+01 -0.69922 0.256514
+#&gt; ds 1 parent 28 28.8 3.220e+01 -3.39922 1.247025
+#&gt; ds 1 parent 60 12.1 1.264e+01 -0.53539 0.364441
+#&gt; ds 1 parent 60 13.6 1.264e+01 0.96461 -0.656614
+#&gt; ds 1 parent 90 6.2 6.081e+00 0.11929 -0.113824
+#&gt; ds 1 parent 90 8.3 6.081e+00 2.21929 -2.117659
+#&gt; ds 1 parent 120 2.2 3.055e+00 -0.85531 1.001955
+#&gt; ds 1 parent 120 2.4 3.055e+00 -0.65531 0.767664
+#&gt; ds 1 m1 1 0.3 1.115e+00 -0.81540 1.118502
+#&gt; ds 1 m1 1 0.2 1.115e+00 -0.91540 1.255673
+#&gt; ds 1 m1 3 2.2 3.111e+00 -0.91095 1.062691
+#&gt; ds 1 m1 3 3.0 3.111e+00 -0.11095 0.129432
+#&gt; ds 1 m1 7 6.5 6.292e+00 0.20799 -0.195930
+#&gt; ds 1 m1 7 5.0 6.292e+00 -1.29201 1.217079
+#&gt; ds 1 m1 14 10.2 9.886e+00 0.31362 -0.242650
+#&gt; ds 1 m1 14 9.5 9.886e+00 -0.38638 0.298948
+#&gt; ds 1 m1 28 12.2 1.259e+01 -0.39388 0.268603
+#&gt; ds 1 m1 28 13.4 1.259e+01 0.80612 -0.549726
+#&gt; ds 1 m1 60 11.8 1.092e+01 0.87659 -0.644982
+#&gt; ds 1 m1 60 13.2 1.092e+01 2.27659 -1.675083
+#&gt; ds 1 m1 90 6.6 7.814e+00 -1.21445 1.047509
+#&gt; ds 1 m1 90 9.3 7.814e+00 1.48555 -1.281347
+#&gt; ds 1 m1 120 3.5 5.275e+00 -1.77526 1.781944
+#&gt; ds 1 m1 120 5.4 5.275e+00 0.12474 -0.125213
+#&gt; ds 2 parent 0 118.0 1.045e+02 13.54366 -1.838241
+#&gt; ds 2 parent 0 99.8 1.045e+02 -4.65634 0.631992
+#&gt; ds 2 parent 1 90.2 9.872e+01 -8.51733 1.216927
+#&gt; ds 2 parent 1 94.6 9.872e+01 -4.11733 0.588270
+#&gt; ds 2 parent 3 96.1 8.872e+01 7.38009 -1.160975
+#&gt; ds 2 parent 3 78.4 8.872e+01 -10.31991 1.623443
+#&gt; ds 2 parent 7 77.9 7.337e+01 4.52584 -0.842647
+#&gt; ds 2 parent 7 77.7 7.337e+01 4.32584 -0.805409
+#&gt; ds 2 parent 14 56.0 5.616e+01 -0.15795 0.037034
+#&gt; ds 2 parent 14 54.7 5.616e+01 -1.45795 0.341841
+#&gt; ds 2 parent 28 36.6 3.859e+01 -1.99435 0.635813
+#&gt; ds 2 parent 28 36.8 3.859e+01 -1.79435 0.572052
+#&gt; ds 2 parent 60 22.1 2.113e+01 0.97273 -0.482843
+#&gt; ds 2 parent 60 24.7 2.113e+01 3.57273 -1.773425
+#&gt; ds 2 parent 90 12.4 1.258e+01 -0.17909 0.122205
+#&gt; ds 2 parent 90 10.8 1.258e+01 -1.77909 1.214019
+#&gt; ds 2 parent 120 6.8 7.509e+00 -0.70864 0.621767
+#&gt; ds 2 parent 120 7.9 7.509e+00 0.39136 -0.343380
+#&gt; ds 2 m1 1 1.3 1.466e+00 -0.16566 0.220431
+#&gt; ds 2 m1 3 3.7 3.947e+00 -0.24719 0.271357
+#&gt; ds 2 m1 3 4.7 3.947e+00 0.75281 -0.826421
+#&gt; ds 2 m1 7 8.1 7.501e+00 0.59910 -0.525881
+#&gt; ds 2 m1 7 7.9 7.501e+00 0.39910 -0.350323
+#&gt; ds 2 m1 14 10.1 1.082e+01 -0.71564 0.529253
+#&gt; ds 2 m1 14 10.3 1.082e+01 -0.51564 0.381342
+#&gt; ds 2 m1 28 10.7 1.248e+01 -1.78322 1.221977
+#&gt; ds 2 m1 28 12.2 1.248e+01 -0.28322 0.194082
+#&gt; ds 2 m1 60 10.7 1.058e+01 0.12295 -0.091967
+#&gt; ds 2 m1 60 12.5 1.058e+01 1.92295 -1.438427
+#&gt; ds 2 m1 90 9.1 8.029e+00 1.07074 -0.912688
+#&gt; ds 2 m1 90 7.4 8.029e+00 -0.62926 0.536381
+#&gt; ds 2 m1 120 6.1 5.816e+00 0.28391 -0.275375
+#&gt; ds 2 m1 120 4.5 5.816e+00 -1.31609 1.276529
+#&gt; ds 3 parent 0 106.2 1.048e+02 1.43237 -0.193885
+#&gt; ds 3 parent 0 106.9 1.048e+02 2.13237 -0.288636
+#&gt; ds 3 parent 1 107.4 9.616e+01 11.23530 -1.643774
+#&gt; ds 3 parent 1 96.1 9.616e+01 -0.06470 0.009466
+#&gt; ds 3 parent 3 79.4 8.238e+01 -2.97800 0.500554
+#&gt; ds 3 parent 3 82.6 8.238e+01 0.22200 -0.037315
+#&gt; ds 3 parent 7 63.9 6.427e+01 -0.36601 0.076477
+#&gt; ds 3 parent 7 62.4 6.427e+01 -1.86601 0.389900
+#&gt; ds 3 parent 14 51.0 4.825e+01 2.74941 -0.731807
+#&gt; ds 3 parent 14 47.1 4.825e+01 -1.15059 0.306250
+#&gt; ds 3 parent 28 36.1 3.501e+01 1.09474 -0.376700
+#&gt; ds 3 parent 28 36.6 3.501e+01 1.59474 -0.548750
+#&gt; ds 3 parent 60 20.1 2.050e+01 -0.40214 0.203675
+#&gt; ds 3 parent 60 19.8 2.050e+01 -0.70214 0.355617
+#&gt; ds 3 parent 90 11.3 1.257e+01 -1.27210 0.868328
+#&gt; ds 3 parent 90 10.7 1.257e+01 -1.87210 1.277883
+#&gt; ds 3 parent 120 8.2 7.710e+00 0.48984 -0.424960
+#&gt; ds 3 parent 120 7.3 7.710e+00 -0.41016 0.355837
+#&gt; ds 3 m1 0 0.8 -1.421e-13 0.80000 -1.216988
+#&gt; ds 3 m1 1 1.8 1.928e+00 -0.12842 0.164382
+#&gt; ds 3 m1 1 2.3 1.928e+00 0.37158 -0.475623
+#&gt; ds 3 m1 3 4.2 4.925e+00 -0.72511 0.744654
+#&gt; ds 3 m1 3 4.1 4.925e+00 -0.82511 0.847349
+#&gt; ds 3 m1 7 6.8 8.542e+00 -1.74215 1.444429
+#&gt; ds 3 m1 7 10.1 8.542e+00 1.55785 -1.291627
+#&gt; ds 3 m1 14 11.4 1.096e+01 0.44492 -0.326877
+#&gt; ds 3 m1 14 12.8 1.096e+01 1.84492 -1.355438
+#&gt; ds 3 m1 28 11.5 1.122e+01 0.27920 -0.202587
+#&gt; ds 3 m1 28 10.6 1.122e+01 -0.62080 0.450442
+#&gt; ds 3 m1 60 7.5 8.912e+00 -1.41171 1.147867
+#&gt; ds 3 m1 60 8.6 8.912e+00 -0.31171 0.253453
+#&gt; ds 3 m1 90 7.3 6.683e+00 0.61657 -0.567369
+#&gt; ds 3 m1 90 8.1 6.683e+00 1.41657 -1.303536
+#&gt; ds 3 m1 120 5.3 4.825e+00 0.47527 -0.491339
+#&gt; ds 3 m1 120 3.8 4.825e+00 -1.02473 1.059361
+#&gt; ds 4 parent 0 104.7 9.956e+01 5.14415 -0.729366
+#&gt; ds 4 parent 0 88.3 9.956e+01 -11.25585 1.595915
+#&gt; ds 4 parent 1 94.2 9.639e+01 -2.19462 0.320391
+#&gt; ds 4 parent 1 94.6 9.639e+01 -1.79462 0.261995
+#&gt; ds 4 parent 3 78.1 9.044e+01 -12.34368 1.908558
+#&gt; ds 4 parent 3 96.5 9.044e+01 6.05632 -0.936418
+#&gt; ds 4 parent 7 76.2 7.988e+01 -3.67799 0.635364
+#&gt; ds 4 parent 7 77.8 7.988e+01 -2.07799 0.358968
+#&gt; ds 4 parent 14 70.8 6.492e+01 5.88059 -1.218059
+#&gt; ds 4 parent 14 67.3 6.492e+01 2.38059 -0.493097
+#&gt; ds 4 parent 28 43.1 4.442e+01 -1.32411 0.377111
+#&gt; ds 4 parent 28 45.1 4.442e+01 0.67589 -0.192494
+#&gt; ds 4 parent 60 21.3 2.136e+01 -0.06143 0.030267
+#&gt; ds 4 parent 60 23.5 2.136e+01 2.13857 -1.053671
+#&gt; ds 4 parent 90 11.8 1.187e+01 -0.06548 0.046122
+#&gt; ds 4 parent 90 12.1 1.187e+01 0.23452 -0.165204
+#&gt; ds 4 parent 120 7.0 6.864e+00 0.13645 -0.124240
+#&gt; ds 4 parent 120 6.2 6.864e+00 -0.66355 0.604171
+#&gt; ds 4 m1 0 1.6 8.811e-13 1.60000 -2.433977
+#&gt; ds 4 m1 1 0.9 6.943e-01 0.20568 -0.293006
+#&gt; ds 4 m1 3 3.7 1.964e+00 1.73568 -2.215152
+#&gt; ds 4 m1 3 2.0 1.964e+00 0.03568 -0.045539
+#&gt; ds 4 m1 7 3.6 4.082e+00 -0.48184 0.523977
+#&gt; ds 4 m1 7 3.8 4.082e+00 -0.28184 0.306486
+#&gt; ds 4 m1 14 7.1 6.694e+00 0.40571 -0.373099
+#&gt; ds 4 m1 14 6.6 6.694e+00 -0.09429 0.086710
+#&gt; ds 4 m1 28 9.5 9.147e+00 0.35343 -0.283895
+#&gt; ds 4 m1 28 9.3 9.147e+00 0.15343 -0.123245
+#&gt; ds 4 m1 60 8.3 8.788e+00 -0.48803 0.399399
+#&gt; ds 4 m1 60 9.0 8.788e+00 0.21197 -0.173474
+#&gt; ds 4 m1 90 6.6 6.644e+00 -0.04431 0.040866
+#&gt; ds 4 m1 90 7.7 6.644e+00 1.05569 -0.973711
+#&gt; ds 4 m1 120 3.7 4.667e+00 -0.96735 1.010605
+#&gt; ds 4 m1 120 3.5 4.667e+00 -1.16735 1.219548
+#&gt; ds 5 parent 0 110.4 1.020e+02 8.37855 -1.161863
+#&gt; ds 5 parent 0 112.1 1.020e+02 10.07855 -1.397604
+#&gt; ds 5 parent 1 93.5 9.494e+01 -1.43722 0.212725
+#&gt; ds 5 parent 1 91.0 9.494e+01 -3.93722 0.582755
+#&gt; ds 5 parent 3 71.0 8.280e+01 -11.80256 1.974773
+#&gt; ds 5 parent 3 89.7 8.280e+01 6.89744 -1.154061
+#&gt; ds 5 parent 7 60.4 6.485e+01 -4.45291 0.923157
+#&gt; ds 5 parent 7 59.1 6.485e+01 -5.75291 1.192667
+#&gt; ds 5 parent 14 56.5 4.626e+01 10.24038 -2.821727
+#&gt; ds 5 parent 14 47.0 4.626e+01 0.74038 -0.204011
+#&gt; ds 5 parent 28 30.2 3.034e+01 -0.13506 0.051824
+#&gt; ds 5 parent 28 23.9 3.034e+01 -6.43506 2.469220
+#&gt; ds 5 parent 60 17.0 1.795e+01 -0.95206 0.525822
+#&gt; ds 5 parent 60 18.7 1.795e+01 0.74794 -0.413085
+#&gt; ds 5 parent 90 11.3 1.186e+01 -0.56163 0.395692
+#&gt; ds 5 parent 90 11.9 1.186e+01 0.03837 -0.027033
+#&gt; ds 5 parent 120 9.0 7.866e+00 1.13427 -0.975579
+#&gt; ds 5 parent 120 8.1 7.866e+00 0.23427 -0.201493
+#&gt; ds 5 m1 0 0.7 -4.263e-14 0.70000 -1.064865
+#&gt; ds 5 m1 1 3.0 3.169e+00 -0.16908 0.196384
+#&gt; ds 5 m1 1 2.6 3.169e+00 -0.56908 0.660990
+#&gt; ds 5 m1 3 5.1 8.455e+00 -3.35479 2.794486
+#&gt; ds 5 m1 3 7.5 8.455e+00 -0.95479 0.795325
+#&gt; ds 5 m1 7 16.5 1.577e+01 0.73235 -0.438460
+#&gt; ds 5 m1 7 19.0 1.577e+01 3.23235 -1.935208
+#&gt; ds 5 m1 14 22.9 2.202e+01 0.88393 -0.426673
+#&gt; ds 5 m1 14 23.2 2.202e+01 1.18393 -0.571482
+#&gt; ds 5 m1 28 22.2 2.399e+01 -1.79091 0.814583
+#&gt; ds 5 m1 28 24.4 2.399e+01 0.40909 -0.186073
+#&gt; ds 5 m1 60 15.5 1.872e+01 -3.21988 1.731175
+#&gt; ds 5 m1 60 19.8 1.872e+01 1.08012 -0.580725
+#&gt; ds 5 m1 90 14.9 1.383e+01 1.06749 -0.690500
+#&gt; ds 5 m1 90 14.2 1.383e+01 0.36749 -0.237710
+#&gt; ds 5 m1 120 10.9 1.004e+01 0.85568 -0.656897
+#&gt; ds 5 m1 120 10.4 1.004e+01 0.35568 -0.273054</div><div class='input'><span class='co'># }</span>
</div></pre>
</div>

Contact - Imprint