aboutsummaryrefslogtreecommitdiff
path: root/docs/articles/FOCUS_L.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-05-27 07:12:51 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2020-05-27 07:12:51 +0200
commitb5ee48a86e4b1d4c05aaadb80b44954e2e994ebc (patch)
treeaeeeaf623e4a6102b9ca2440cf0e32ff7a7a1d25 /docs/articles/FOCUS_L.html
parenta77a10ea6c607346778ba0700b3b66ac393101a2 (diff)
Add docs generated using released version 0.9.52
Diffstat (limited to 'docs/articles/FOCUS_L.html')
-rw-r--r--docs/articles/FOCUS_L.html129
1 files changed, 63 insertions, 66 deletions
diff --git a/docs/articles/FOCUS_L.html b/docs/articles/FOCUS_L.html
index df5c77c4..2a58b4e5 100644
--- a/docs/articles/FOCUS_L.html
+++ b/docs/articles/FOCUS_L.html
@@ -68,9 +68,6 @@
<li>
<a href="../articles/web_only/NAFTA_examples.html">Example evaluation of NAFTA SOP Attachment examples</a>
</li>
- <li>
- <a href="../articles/web_only/benchmarks.html">Some benchmark timings</a>
- </li>
</ul>
</li>
<li>
@@ -100,10 +97,10 @@
<h1 data-toc-skip>Example evaluation of FOCUS Laboratory Data L1 to L3</h1>
<h4 class="author">Johannes Ranke</h4>
- <h4 class="date">2020-05-14</h4>
+ <h4 class="date">2020-05-27</h4>
- <small class="dont-index">Source: <a href="http://github.com/jranke/mkin/blob/master/vignettes/FOCUS_L.rmd"><code>vignettes/FOCUS_L.rmd</code></a></small>
- <div class="hidden name"><code>FOCUS_L.rmd</code></div>
+ <small class="dont-index">Source: <a href="http://github.com/jranke/mkin/blob/master/vignettes/FOCUS_L.Rmd"><code>vignettes/FOCUS_L.Rmd</code></a></small>
+ <div class="hidden name"><code>FOCUS_L.Rmd</code></div>
</div>
@@ -126,15 +123,15 @@
<span class="fu"><a href="https://rdrr.io/r/base/summary.html">summary</a></span>(<span class="no">m.L1.SFO</span>)</pre></body></html></div>
<pre><code>## mkin version used for fitting: 0.9.50.2
## R version used for fitting: 4.0.0
-## Date of fit: Thu May 14 17:07:14 2020
-## Date of summary: Thu May 14 17:07:14 2020
+## Date of fit: Wed May 27 07:05:36 2020
+## Date of summary: Wed May 27 07:05:36 2020
##
## Equations:
## d_parent/dt = - k_parent_sink * parent
##
## Model predictions using solution type analytical
##
-## Fitted using 133 model solutions performed in 0.032 s
+## Fitted using 133 model solutions performed in 0.031 s
##
## Error model: Constant variance
##
@@ -166,9 +163,9 @@
##
## Parameter correlation:
## parent_0 log_k_parent_sink sigma
-## parent_0 1.000e+00 6.186e-01 -1.516e-09
-## log_k_parent_sink 6.186e-01 1.000e+00 -3.124e-09
-## sigma -1.516e-09 -3.124e-09 1.000e+00
+## parent_0 1.000e+00 6.186e-01 -1.712e-09
+## log_k_parent_sink 6.186e-01 1.000e+00 -3.237e-09
+## sigma -1.712e-09 -3.237e-09 1.000e+00
##
## Backtransformed parameters:
## Confidence intervals for internally transformed parameters are asymmetric.
@@ -221,14 +218,14 @@
<div class="sourceCode" id="cb8"><html><body><pre class="r"><span class="fu"><a href="https://rdrr.io/r/base/plot.html">plot</a></span>(<span class="no">m.L1.FOMC</span>, <span class="kw">show_errmin</span> <span class="kw">=</span> <span class="fl">TRUE</span>, <span class="kw">main</span> <span class="kw">=</span> <span class="st">"FOCUS L1 - FOMC"</span>)</pre></body></html></div>
<p><img src="FOCUS_L_files/figure-html/unnamed-chunk-6-1.png" width="576"></p>
<div class="sourceCode" id="cb9"><html><body><pre class="r"><span class="fu"><a href="https://rdrr.io/r/base/summary.html">summary</a></span>(<span class="no">m.L1.FOMC</span>, <span class="kw">data</span> <span class="kw">=</span> <span class="fl">FALSE</span>)</pre></body></html></div>
-<pre><code>## Warning in sqrt(diag(covar)): NaNs wurden erzeugt</code></pre>
-<pre><code>## Warning in sqrt(1/diag(V)): NaNs wurden erzeugt</code></pre>
+<pre><code>## Warning in sqrt(diag(covar)): NaNs produced</code></pre>
+<pre><code>## Warning in sqrt(1/diag(V)): NaNs produced</code></pre>
<pre><code>## Warning in cov2cor(ans$covar): diag(.) had 0 or NA entries; non-finite result is
## doubtful</code></pre>
<pre><code>## mkin version used for fitting: 0.9.50.2
## R version used for fitting: 4.0.0
-## Date of fit: Thu May 14 17:07:14 2020
-## Date of summary: Thu May 14 17:07:14 2020
+## Date of fit: Wed May 27 07:05:36 2020
+## Date of summary: Wed May 27 07:05:36 2020
##
##
## Warning: Optimisation did not converge:
@@ -240,7 +237,7 @@
##
## Model predictions using solution type analytical
##
-## Fitted using 380 model solutions performed in 0.081 s
+## Fitted using 899 model solutions performed in 0.204 s
##
## Error model: Constant variance
##
@@ -264,31 +261,31 @@
## Results:
##
## AIC BIC logLik
-## 95.88778 99.44927 -43.94389
+## 95.88835 99.44984 -43.94418
##
## Optimised, transformed parameters with symmetric confidence intervals:
## Estimate Std. Error Lower Upper
-## parent_0 92.47 1.2820 89.720 95.220
-## log_alpha 16.92 NaN NaN NaN
-## log_beta 19.26 NaN NaN NaN
-## sigma 2.78 0.4501 1.814 3.745
+## parent_0 92.47 1.2800 89.730 95.220
+## log_alpha 10.58 NaN NaN NaN
+## log_beta 12.93 NaN NaN NaN
+## sigma 2.78 0.4507 1.813 3.747
##
## Parameter correlation:
-## parent_0 log_alpha log_beta sigma
-## parent_0 1.000000 NaN NaN 0.002218
-## log_alpha NaN 1 NaN NaN
-## log_beta NaN NaN 1 NaN
-## sigma 0.002218 NaN NaN 1.000000
+## parent_0 log_alpha log_beta sigma
+## parent_0 1.00000 NaN NaN 0.01452
+## log_alpha NaN 1 NaN NaN
+## log_beta NaN NaN 1 NaN
+## sigma 0.01452 NaN NaN 1.00000
##
## Backtransformed parameters:
## Confidence intervals for internally transformed parameters are asymmetric.
## t-test (unrealistically) based on the assumption of normal distribution
## for estimators of untransformed parameters.
-## Estimate t value Pr(&gt;t) Lower Upper
-## parent_0 9.247e+01 NA NA 89.720 95.220
-## alpha 2.223e+07 NA NA NA NA
-## beta 2.325e+08 NA NA NA NA
-## sigma 2.780e+00 NA NA 1.814 3.745
+## Estimate t value Pr(&gt;t) Lower Upper
+## parent_0 92.47 72.13000 1.052e-19 89.730 95.220
+## alpha 39440.00 0.02397 4.906e-01 NA NA
+## beta 412500.00 0.02397 4.906e-01 NA NA
+## sigma 2.78 6.00000 1.628e-05 1.813 3.747
##
## FOCUS Chi2 error levels in percent:
## err.min n.optim df
@@ -296,8 +293,8 @@
## parent 3.619 3 6
##
## Estimated disappearance times:
-## DT50 DT90 DT50back
-## parent 7.25 24.08 7.25</code></pre>
+## DT50 DT90 DT50back
+## parent 7.249 24.08 7.249</code></pre>
<p>We get a warning that the default optimisation algorithm <code>Port</code> did not converge, which is an indication that the model is overparameterised, <em>i.e.</em> contains too many parameters that are ill-defined as a consequence.</p>
<p>And in fact, due to the higher number of parameters, and the lower number of degrees of freedom of the fit, the <span class="math inline">\(\chi^2\)</span> error level is actually higher for the FOMC model (3.6%) than for the SFO model (3.4%). Additionally, the parameters <code>log_alpha</code> and <code>log_beta</code> internally fitted in the model have excessive confidence intervals, that span more than 25 orders of magnitude (!) when backtransformed to the scale of <code>alpha</code> and <code>beta</code>. Also, the t-test for significant difference from zero does not indicate such a significant difference, with p-values greater than 0.1, and finally, the parameter correlation of <code>log_alpha</code> and <code>log_beta</code> is 1.000, clearly indicating that the model is overparameterised.</p>
<p>The <span class="math inline">\(\chi^2\)</span> error levels reported in Appendix 3 and Appendix 7 to the FOCUS kinetics report are rounded to integer percentages and partly deviate by one percentage point from the results calculated by mkin. The reason for this is not known. However, mkin gives the same <span class="math inline">\(\chi^2\)</span> error levels as the kinfit package and the calculation routines of the kinfit package have been extensively compared to the results obtained by the KinGUI software, as documented in the kinfit package vignette. KinGUI was the first widely used standard package in this field. Also, the calculation of <span class="math inline">\(\chi^2\)</span> error levels was compared with KinGUII, CAKE and DegKin manager in a project sponsored by the German Umweltbundesamt <span class="citation">(Ranke 2014)</span>.</p>
@@ -335,8 +332,8 @@
<div class="sourceCode" id="cb17"><html><body><pre class="r"><span class="fu"><a href="https://rdrr.io/r/base/summary.html">summary</a></span>(<span class="no">m.L2.FOMC</span>, <span class="kw">data</span> <span class="kw">=</span> <span class="fl">FALSE</span>)</pre></body></html></div>
<pre><code>## mkin version used for fitting: 0.9.50.2
## R version used for fitting: 4.0.0
-## Date of fit: Thu May 14 17:07:15 2020
-## Date of summary: Thu May 14 17:07:15 2020
+## Date of fit: Wed May 27 07:05:37 2020
+## Date of summary: Wed May 27 07:05:37 2020
##
## Equations:
## d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent
@@ -378,10 +375,10 @@
##
## Parameter correlation:
## parent_0 log_alpha log_beta sigma
-## parent_0 1.000e+00 -1.151e-01 -2.085e-01 -7.436e-09
+## parent_0 1.000e+00 -1.151e-01 -2.085e-01 -7.637e-09
## log_alpha -1.151e-01 1.000e+00 9.741e-01 -1.617e-07
-## log_beta -2.085e-01 9.741e-01 1.000e+00 -1.386e-07
-## sigma -7.436e-09 -1.617e-07 -1.386e-07 1.000e+00
+## log_beta -2.085e-01 9.741e-01 1.000e+00 -1.387e-07
+## sigma -7.637e-09 -1.617e-07 -1.387e-07 1.000e+00
##
## Backtransformed parameters:
## Confidence intervals for internally transformed parameters are asymmetric.
@@ -414,8 +411,8 @@
<div class="sourceCode" id="cb20"><html><body><pre class="r"><span class="fu"><a href="https://rdrr.io/r/base/summary.html">summary</a></span>(<span class="no">m.L2.DFOP</span>, <span class="kw">data</span> <span class="kw">=</span> <span class="fl">FALSE</span>)</pre></body></html></div>
<pre><code>## mkin version used for fitting: 0.9.50.2
## R version used for fitting: 4.0.0
-## Date of fit: Thu May 14 17:07:15 2020
-## Date of summary: Thu May 14 17:07:15 2020
+## Date of fit: Wed May 27 07:05:37 2020
+## Date of summary: Wed May 27 07:05:37 2020
##
## Equations:
## d_parent/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 *
@@ -424,7 +421,7 @@
##
## Model predictions using solution type analytical
##
-## Fitted using 572 model solutions performed in 0.131 s
+## Fitted using 572 model solutions performed in 0.132 s
##
## Error model: Constant variance
##
@@ -455,18 +452,18 @@
## Optimised, transformed parameters with symmetric confidence intervals:
## Estimate Std. Error Lower Upper
## parent_0 93.9500 9.998e-01 91.5900 96.3100
-## log_k1 3.1370 2.376e+03 -5615.0000 5622.0000
+## log_k1 3.1370 2.376e+03 -5616.0000 5622.0000
## log_k2 -1.0880 6.285e-02 -1.2370 -0.9394
## g_ilr -0.2821 7.033e-02 -0.4484 -0.1158
## sigma 1.4140 2.886e-01 0.7314 2.0960
##
## Parameter correlation:
## parent_0 log_k1 log_k2 g_ilr sigma
-## parent_0 1.000e+00 5.157e-07 2.376e-09 2.665e-01 -6.837e-09
-## log_k1 5.157e-07 1.000e+00 8.434e-05 -1.659e-04 -7.786e-06
-## log_k2 2.376e-09 8.434e-05 1.000e+00 -7.903e-01 -1.263e-08
-## g_ilr 2.665e-01 -1.659e-04 -7.903e-01 1.000e+00 3.248e-08
-## sigma -6.837e-09 -7.786e-06 -1.263e-08 3.248e-08 1.000e+00
+## parent_0 1.000e+00 5.155e-07 2.371e-09 2.665e-01 -6.849e-09
+## log_k1 5.155e-07 1.000e+00 8.434e-05 -1.659e-04 -7.791e-06
+## log_k2 2.371e-09 8.434e-05 1.000e+00 -7.903e-01 -1.262e-08
+## g_ilr 2.665e-01 -1.659e-04 -7.903e-01 1.000e+00 3.241e-08
+## sigma -6.849e-09 -7.791e-06 -1.262e-08 3.241e-08 1.000e+00
##
## Backtransformed parameters:
## Confidence intervals for internally transformed parameters are asymmetric.
@@ -517,8 +514,8 @@
<div class="sourceCode" id="cb24"><html><body><pre class="r"><span class="fu"><a href="https://rdrr.io/r/base/summary.html">summary</a></span>(<span class="no">mm.L3</span><span class="kw">[[</span><span class="st">"DFOP"</span>, <span class="fl">1</span>]])</pre></body></html></div>
<pre><code>## mkin version used for fitting: 0.9.50.2
## R version used for fitting: 4.0.0
-## Date of fit: Thu May 14 17:07:16 2020
-## Date of summary: Thu May 14 17:07:16 2020
+## Date of fit: Wed May 27 07:05:38 2020
+## Date of summary: Wed May 27 07:05:38 2020
##
## Equations:
## d_parent/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 *
@@ -565,11 +562,11 @@
##
## Parameter correlation:
## parent_0 log_k1 log_k2 g_ilr sigma
-## parent_0 1.000e+00 1.732e-01 2.282e-02 4.009e-01 -6.868e-07
-## log_k1 1.732e-01 1.000e+00 4.945e-01 -5.809e-01 3.175e-07
-## log_k2 2.282e-02 4.945e-01 1.000e+00 -6.812e-01 7.631e-07
-## g_ilr 4.009e-01 -5.809e-01 -6.812e-01 1.000e+00 -8.694e-07
-## sigma -6.868e-07 3.175e-07 7.631e-07 -8.694e-07 1.000e+00
+## parent_0 1.000e+00 1.732e-01 2.282e-02 4.009e-01 -6.872e-07
+## log_k1 1.732e-01 1.000e+00 4.945e-01 -5.809e-01 3.200e-07
+## log_k2 2.282e-02 4.945e-01 1.000e+00 -6.812e-01 7.673e-07
+## g_ilr 4.009e-01 -5.809e-01 -6.812e-01 1.000e+00 -8.731e-07
+## sigma -6.872e-07 3.200e-07 7.673e-07 -8.731e-07 1.000e+00
##
## Backtransformed parameters:
## Confidence intervals for internally transformed parameters are asymmetric.
@@ -626,8 +623,8 @@
<div class="sourceCode" id="cb29"><html><body><pre class="r"><span class="fu"><a href="https://rdrr.io/r/base/summary.html">summary</a></span>(<span class="no">mm.L4</span><span class="kw">[[</span><span class="st">"SFO"</span>, <span class="fl">1</span>]], <span class="kw">data</span> <span class="kw">=</span> <span class="fl">FALSE</span>)</pre></body></html></div>
<pre><code>## mkin version used for fitting: 0.9.50.2
## R version used for fitting: 4.0.0
-## Date of fit: Thu May 14 17:07:16 2020
-## Date of summary: Thu May 14 17:07:16 2020
+## Date of fit: Wed May 27 07:05:38 2020
+## Date of summary: Wed May 27 07:05:38 2020
##
## Equations:
## d_parent/dt = - k_parent_sink * parent
@@ -666,9 +663,9 @@
##
## Parameter correlation:
## parent_0 log_k_parent_sink sigma
-## parent_0 1.000e+00 5.938e-01 3.387e-07
-## log_k_parent_sink 5.938e-01 1.000e+00 5.830e-07
-## sigma 3.387e-07 5.830e-07 1.000e+00
+## parent_0 1.000e+00 5.938e-01 3.440e-07
+## log_k_parent_sink 5.938e-01 1.000e+00 5.885e-07
+## sigma 3.440e-07 5.885e-07 1.000e+00
##
## Backtransformed parameters:
## Confidence intervals for internally transformed parameters are asymmetric.
@@ -690,8 +687,8 @@
<div class="sourceCode" id="cb31"><html><body><pre class="r"><span class="fu"><a href="https://rdrr.io/r/base/summary.html">summary</a></span>(<span class="no">mm.L4</span><span class="kw">[[</span><span class="st">"FOMC"</span>, <span class="fl">1</span>]], <span class="kw">data</span> <span class="kw">=</span> <span class="fl">FALSE</span>)</pre></body></html></div>
<pre><code>## mkin version used for fitting: 0.9.50.2
## R version used for fitting: 4.0.0
-## Date of fit: Thu May 14 17:07:16 2020
-## Date of summary: Thu May 14 17:07:16 2020
+## Date of fit: Wed May 27 07:05:38 2020
+## Date of summary: Wed May 27 07:05:38 2020
##
## Equations:
## d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent
@@ -733,10 +730,10 @@
##
## Parameter correlation:
## parent_0 log_alpha log_beta sigma
-## parent_0 1.000e+00 -4.696e-01 -5.543e-01 -2.456e-07
-## log_alpha -4.696e-01 1.000e+00 9.889e-01 2.169e-08
-## log_beta -5.543e-01 9.889e-01 1.000e+00 4.910e-08
-## sigma -2.456e-07 2.169e-08 4.910e-08 1.000e+00
+## parent_0 1.000e+00 -4.696e-01 -5.543e-01 -2.563e-07
+## log_alpha -4.696e-01 1.000e+00 9.889e-01 4.066e-08
+## log_beta -5.543e-01 9.889e-01 1.000e+00 6.818e-08
+## sigma -2.563e-07 4.066e-08 6.818e-08 1.000e+00
##
## Backtransformed parameters:
## Confidence intervals for internally transformed parameters are asymmetric.

Contact - Imprint