aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/articles/prebuilt/2022_dmta_parent.html
blob: 92259add95aaec5802e233ba6cef37245b2ab80d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
<!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Testing hierarchical parent degradation kinetics with residue data on dimethenamid and dimethenamid-P • mkin</title>
<!-- jquery --><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script><!-- Bootstrap --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha256-bZLfwXAP04zRMK2BjiO8iu9pf4FbLqX6zitd+tIvLhE=" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha256-nuL8/2cJ5NDSSwnKD8VqreErSWHtnEP9E7AySL+1ev4=" crossorigin="anonymous"></script><!-- bootstrap-toc --><link rel="stylesheet" href="../../bootstrap-toc.css">
<script src="../../bootstrap-toc.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous">
<!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- pkgdown --><link href="../../pkgdown.css" rel="stylesheet">
<script src="../../pkgdown.js"></script><meta property="og:title" content="Testing hierarchical parent degradation kinetics with residue data on dimethenamid and dimethenamid-P">
<meta property="og:description" content="mkin">
<meta name="robots" content="noindex">
<!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#toc">
    

    <div class="container template-article">
      <header><div class="navbar navbar-default navbar-fixed-top" role="navigation">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <span class="navbar-brand">
        <a class="navbar-link" href="../../index.html">mkin</a>
        <span class="version label label-info" data-toggle="tooltip" data-placement="bottom" title="In-development version">1.2.3</span>
      </span>
    </div>

    <div id="navbar" class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
<li>
  <a href="../../reference/index.html">Reference</a>
</li>
<li class="dropdown">
  <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
    Articles
     
    <span class="caret"></span>
  </a>
  <ul class="dropdown-menu" role="menu">
<li>
      <a href="../../articles/mkin.html">Introduction to mkin</a>
    </li>
    <li class="divider">
    </li>
<li class="dropdown-header">Example evaluations with (generalised) nonlinear least squares</li>
    <li>
      <a href="../../articles/FOCUS_D.html">Example evaluation of FOCUS Example Dataset D</a>
    </li>
    <li>
      <a href="../../articles/FOCUS_L.html">Example evaluation of FOCUS Laboratory Data L1 to L3</a>
    </li>
    <li>
      <a href="../../articles/web_only/FOCUS_Z.html">Example evaluation of FOCUS Example Dataset Z</a>
    </li>
    <li class="divider">
    </li>
<li class="dropdown-header">Example evaluations with hierarchical models (nonlinear mixed-effects models)</li>
    <li>
      <a href="../../articles/prebuilt/2022_dmta_parent.html">Testing hierarchical parent degradation kinetics with residue data on dimethenamid and dimethenamid-P</a>
    </li>
    <li>
      <a href="../../articles/prebuilt/2022_dmta_pathway.html">Testing hierarchical pathway kinetics with residue data on dimethenamid and dimethenamid-P</a>
    </li>
    <li>
      <a href="../../articles/prebuilt/2022_cyan_pathway.html">Testing hierarchical pathway kinetics with residue data on cyantraniliprole</a>
    </li>
    <li>
      <a href="../../articles/web_only/dimethenamid_2018.html">Comparison of saemix and nlme evaluations of dimethenamid data from 2018</a>
    </li>
    <li>
      <a href="../../articles/web_only/multistart.html">Short demo of the multistart method</a>
    </li>
    <li class="divider">
    </li>
<li class="dropdown-header">Performance</li>
    <li>
      <a href="../../articles/web_only/compiled_models.html">Performance benefit by using compiled model definitions in mkin</a>
    </li>
    <li>
      <a href="../../articles/web_only/benchmarks.html">Benchmark timings for mkin</a>
    </li>
    <li>
      <a href="../../articles/web_only/saem_benchmarks.html">Benchmark timings for saem.mmkin</a>
    </li>
    <li class="divider">
    </li>
<li class="dropdown-header">Miscellaneous</li>
    <li>
      <a href="../../articles/twa.html">Calculation of time weighted average concentrations with mkin</a>
    </li>
    <li>
      <a href="../../articles/web_only/NAFTA_examples.html">Example evaluation of NAFTA SOP Attachment examples</a>
    </li>
  </ul>
</li>
<li>
  <a href="../../news/index.html">News</a>
</li>
      </ul>
<ul class="nav navbar-nav navbar-right">
<li>
  <a href="https://github.com/jranke/mkin/" class="external-link">
    <span class="fab fa-github fa-lg"></span>
     
  </a>
</li>
      </ul>
</div>
<!--/.nav-collapse -->
  </div>
<!--/.container -->
</div>
<!--/.navbar -->

      

      </header><div class="row">
  <div class="col-md-9 contents">
    <div class="page-header toc-ignore">
      <h1 data-toc-skip>Testing hierarchical parent degradation kinetics
with residue data on dimethenamid and dimethenamid-P</h1>
                        <h4 data-toc-skip class="author">Johannes
Ranke</h4>
            
            <h4 data-toc-skip class="date">Last change on 5 January
2023, last compiled on 16 April 2023</h4>
      
      <small class="dont-index">Source: <a href="https://github.com/jranke/mkin/blob/HEAD/vignettes/prebuilt/2022_dmta_parent.rmd" class="external-link"><code>vignettes/prebuilt/2022_dmta_parent.rmd</code></a></small>
      <div class="hidden name"><code>2022_dmta_parent.rmd</code></div>

    </div>

    
    
<div class="section level2">
<h2 id="introduction">Introduction<a class="anchor" aria-label="anchor" href="#introduction"></a>
</h2>
<p>The purpose of this document is to demonstrate how nonlinear
hierarchical models (NLHM) based on the parent degradation models SFO,
FOMC, DFOP and HS can be fitted with the mkin package.</p>
<p>It was assembled in the course of work package 1.1 of Project Number
173340 (Application of nonlinear hierarchical models to the kinetic
evaluation of chemical degradation data) of the German Environment
Agency carried out in 2022 and 2023.</p>
<p>The mkin package is used in version 1.2.3. It contains the test data
and the functions used in the evaluations. The <code>saemix</code>
package is used as a backend for fitting the NLHM, but is also loaded to
make the convergence plot function available.</p>
<p>This document is processed with the <code>knitr</code> package, which
also provides the <code>kable</code> function that is used to improve
the display of tabular data in R markdown documents. For parallel
processing, the <code>parallel</code> package is used.</p>
<div class="sourceCode" id="cb1"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://pkgdown.jrwb.de/mkin/">mkin</a></span><span class="op">)</span></span>
<span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://yihui.org/knitr/" class="external-link">knitr</a></span><span class="op">)</span></span>
<span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va">saemix</span><span class="op">)</span></span>
<span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va">parallel</span><span class="op">)</span></span>
<span><span class="va">n_cores</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/parallel/detectCores.html" class="external-link">detectCores</a></span><span class="op">(</span><span class="op">)</span></span>
<span><span class="kw">if</span> <span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/Sys.info.html" class="external-link">Sys.info</a></span><span class="op">(</span><span class="op">)</span><span class="op">[</span><span class="st">"sysname"</span><span class="op">]</span> <span class="op">==</span> <span class="st">"Windows"</span><span class="op">)</span> <span class="op">{</span></span>
<span>  <span class="va">cl</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/parallel/makeCluster.html" class="external-link">makePSOCKcluster</a></span><span class="op">(</span><span class="va">n_cores</span><span class="op">)</span></span>
<span><span class="op">}</span> <span class="kw">else</span> <span class="op">{</span></span>
<span>  <span class="va">cl</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/parallel/makeCluster.html" class="external-link">makeForkCluster</a></span><span class="op">(</span><span class="va">n_cores</span><span class="op">)</span></span>
<span><span class="op">}</span></span></code></pre></div>
</div>
<div class="section level2">
<h2 id="data">Data<a class="anchor" aria-label="anchor" href="#data"></a>
</h2>
<p>The test data are available in the mkin package as an object of class
<code>mkindsg</code> (mkin dataset group) under the identifier
<code>dimethenamid_2018</code>. The following preprocessing steps are
still necessary:</p>
<ul>
<li>The data available for the enantiomer dimethenamid-P (DMTAP) are
renamed to have the same substance name as the data for the racemic
mixture dimethenamid (DMTA). The reason for this is that no difference
between their degradation behaviour was identified in the EU risk
assessment.</li>
<li>The data for transformation products and unnecessary columns are
discarded</li>
<li>The observation times of each dataset are multiplied with the
corresponding normalisation factor also available in the dataset, in
order to make it possible to describe all datasets with a single set of
parameters that are independent of temperature</li>
<li>Finally, datasets observed in the same soil (<code>Elliot 1</code>
and <code>Elliot 2</code>) are combined, resulting in dimethenamid
(DMTA) data from six soils.</li>
</ul>
<p>The following commented R code performs this preprocessing.</p>
<div class="sourceCode" id="cb2"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="co"># Apply a function to each of the seven datasets in the mkindsg object to create a list</span></span>
<span><span class="va">dmta_ds</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/lapply.html" class="external-link">lapply</a></span><span class="op">(</span><span class="fl">1</span><span class="op">:</span><span class="fl">7</span>, <span class="kw">function</span><span class="op">(</span><span class="va">i</span><span class="op">)</span> <span class="op">{</span></span>
<span>  <span class="va">ds_i</span> <span class="op">&lt;-</span> <span class="va">dimethenamid_2018</span><span class="op">$</span><span class="va">ds</span><span class="op">[[</span><span class="va">i</span><span class="op">]</span><span class="op">]</span><span class="op">$</span><span class="va">data</span>                     <span class="co"># Get a dataset</span></span>
<span>  <span class="va">ds_i</span><span class="op">[</span><span class="va">ds_i</span><span class="op">$</span><span class="va">name</span> <span class="op">==</span> <span class="st">"DMTAP"</span>, <span class="st">"name"</span><span class="op">]</span> <span class="op">&lt;-</span>  <span class="st">"DMTA"</span>              <span class="co"># Rename DMTAP to DMTA</span></span>
<span>  <span class="va">ds_i</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/subset.html" class="external-link">subset</a></span><span class="op">(</span><span class="va">ds_i</span>, <span class="va">name</span> <span class="op">==</span> <span class="st">"DMTA"</span>, <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"name"</span>, <span class="st">"time"</span>, <span class="st">"value"</span><span class="op">)</span><span class="op">)</span> <span class="co"># Select data</span></span>
<span>  <span class="va">ds_i</span><span class="op">$</span><span class="va">time</span> <span class="op">&lt;-</span> <span class="va">ds_i</span><span class="op">$</span><span class="va">time</span> <span class="op">*</span> <span class="va">dimethenamid_2018</span><span class="op">$</span><span class="va">f_time_norm</span><span class="op">[</span><span class="va">i</span><span class="op">]</span>  <span class="co"># Normalise time</span></span>
<span>  <span class="va">ds_i</span>                                                       <span class="co"># Return the dataset</span></span>
<span><span class="op">}</span><span class="op">)</span></span>
<span></span>
<span><span class="co"># Use dataset titles as names for the list elements</span></span>
<span><span class="fu"><a href="https://rdrr.io/r/base/names.html" class="external-link">names</a></span><span class="op">(</span><span class="va">dmta_ds</span><span class="op">)</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/lapply.html" class="external-link">sapply</a></span><span class="op">(</span><span class="va">dimethenamid_2018</span><span class="op">$</span><span class="va">ds</span>, <span class="kw">function</span><span class="op">(</span><span class="va">ds</span><span class="op">)</span> <span class="va">ds</span><span class="op">$</span><span class="va">title</span><span class="op">)</span></span>
<span></span>
<span><span class="co"># Combine data for Elliot soil to obtain a named list with six elements</span></span>
<span><span class="va">dmta_ds</span><span class="op">[[</span><span class="st">"Elliot"</span><span class="op">]</span><span class="op">]</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/cbind.html" class="external-link">rbind</a></span><span class="op">(</span><span class="va">dmta_ds</span><span class="op">[[</span><span class="st">"Elliot 1"</span><span class="op">]</span><span class="op">]</span>, <span class="va">dmta_ds</span><span class="op">[[</span><span class="st">"Elliot 2"</span><span class="op">]</span><span class="op">]</span><span class="op">)</span> <span class="co">#</span></span>
<span><span class="va">dmta_ds</span><span class="op">[[</span><span class="st">"Elliot 1"</span><span class="op">]</span><span class="op">]</span> <span class="op">&lt;-</span> <span class="cn">NULL</span></span>
<span><span class="va">dmta_ds</span><span class="op">[[</span><span class="st">"Elliot 2"</span><span class="op">]</span><span class="op">]</span> <span class="op">&lt;-</span> <span class="cn">NULL</span></span></code></pre></div>
<p>The following tables show the 6 datasets.</p>
<div class="sourceCode" id="cb3"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="kw">for</span> <span class="op">(</span><span class="va">ds_name</span> <span class="kw">in</span> <span class="fu"><a href="https://rdrr.io/r/base/names.html" class="external-link">names</a></span><span class="op">(</span><span class="va">dmta_ds</span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span>
<span>    <span class="fu"><a href="https://rdrr.io/r/base/print.html" class="external-link">print</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/pkg/knitr/man/kable.html" class="external-link">kable</a></span><span class="op">(</span><span class="fu"><a href="../../reference/mkin_long_to_wide.html">mkin_long_to_wide</a></span><span class="op">(</span><span class="va">dmta_ds</span><span class="op">[[</span><span class="va">ds_name</span><span class="op">]</span><span class="op">]</span><span class="op">)</span>,</span>
<span>      caption <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/paste.html" class="external-link">paste</a></span><span class="op">(</span><span class="st">"Dataset"</span>, <span class="va">ds_name</span><span class="op">)</span>,</span>
<span>      label <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/paste.html" class="external-link">paste0</a></span><span class="op">(</span><span class="st">"tab:"</span>, <span class="va">ds_name</span><span class="op">)</span>, booktabs <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span><span class="op">)</span></span>
<span>    <span class="fu"><a href="https://rdrr.io/r/base/cat.html" class="external-link">cat</a></span><span class="op">(</span><span class="st">"\n\\clearpage\n"</span><span class="op">)</span></span>
<span><span class="op">}</span></span></code></pre></div>
<table class="table">
<caption>Dataset Calke</caption>
<thead><tr class="header">
<th align="right">time</th>
<th align="right">DMTA</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="right">0</td>
<td align="right">95.8</td>
</tr>
<tr class="even">
<td align="right">0</td>
<td align="right">98.7</td>
</tr>
<tr class="odd">
<td align="right">14</td>
<td align="right">60.5</td>
</tr>
<tr class="even">
<td align="right">30</td>
<td align="right">39.1</td>
</tr>
<tr class="odd">
<td align="right">59</td>
<td align="right">15.2</td>
</tr>
<tr class="even">
<td align="right">120</td>
<td align="right">4.8</td>
</tr>
<tr class="odd">
<td align="right">120</td>
<td align="right">4.6</td>
</tr>
</tbody>
</table>
<table class="table">
<caption>Dataset Borstel</caption>
<thead><tr class="header">
<th align="right">time</th>
<th align="right">DMTA</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="right">0.000000</td>
<td align="right">100.5</td>
</tr>
<tr class="even">
<td align="right">0.000000</td>
<td align="right">99.6</td>
</tr>
<tr class="odd">
<td align="right">1.941295</td>
<td align="right">91.9</td>
</tr>
<tr class="even">
<td align="right">1.941295</td>
<td align="right">91.3</td>
</tr>
<tr class="odd">
<td align="right">6.794534</td>
<td align="right">81.8</td>
</tr>
<tr class="even">
<td align="right">6.794534</td>
<td align="right">82.1</td>
</tr>
<tr class="odd">
<td align="right">13.589067</td>
<td align="right">69.1</td>
</tr>
<tr class="even">
<td align="right">13.589067</td>
<td align="right">68.0</td>
</tr>
<tr class="odd">
<td align="right">27.178135</td>
<td align="right">51.4</td>
</tr>
<tr class="even">
<td align="right">27.178135</td>
<td align="right">51.4</td>
</tr>
<tr class="odd">
<td align="right">56.297565</td>
<td align="right">27.6</td>
</tr>
<tr class="even">
<td align="right">56.297565</td>
<td align="right">26.8</td>
</tr>
<tr class="odd">
<td align="right">86.387643</td>
<td align="right">15.7</td>
</tr>
<tr class="even">
<td align="right">86.387643</td>
<td align="right">15.3</td>
</tr>
<tr class="odd">
<td align="right">115.507073</td>
<td align="right">7.9</td>
</tr>
<tr class="even">
<td align="right">115.507073</td>
<td align="right">8.1</td>
</tr>
</tbody>
</table>
<table class="table">
<caption>Dataset Flaach</caption>
<thead><tr class="header">
<th align="right">time</th>
<th align="right">DMTA</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="right">0.0000000</td>
<td align="right">96.5</td>
</tr>
<tr class="even">
<td align="right">0.0000000</td>
<td align="right">96.8</td>
</tr>
<tr class="odd">
<td align="right">0.0000000</td>
<td align="right">97.0</td>
</tr>
<tr class="even">
<td align="right">0.6233856</td>
<td align="right">82.9</td>
</tr>
<tr class="odd">
<td align="right">0.6233856</td>
<td align="right">86.7</td>
</tr>
<tr class="even">
<td align="right">0.6233856</td>
<td align="right">87.4</td>
</tr>
<tr class="odd">
<td align="right">1.8701567</td>
<td align="right">72.8</td>
</tr>
<tr class="even">
<td align="right">1.8701567</td>
<td align="right">69.9</td>
</tr>
<tr class="odd">
<td align="right">1.8701567</td>
<td align="right">71.9</td>
</tr>
<tr class="even">
<td align="right">4.3636989</td>
<td align="right">51.4</td>
</tr>
<tr class="odd">
<td align="right">4.3636989</td>
<td align="right">52.9</td>
</tr>
<tr class="even">
<td align="right">4.3636989</td>
<td align="right">48.6</td>
</tr>
<tr class="odd">
<td align="right">8.7273979</td>
<td align="right">28.5</td>
</tr>
<tr class="even">
<td align="right">8.7273979</td>
<td align="right">27.3</td>
</tr>
<tr class="odd">
<td align="right">8.7273979</td>
<td align="right">27.5</td>
</tr>
<tr class="even">
<td align="right">13.0910968</td>
<td align="right">14.8</td>
</tr>
<tr class="odd">
<td align="right">13.0910968</td>
<td align="right">13.4</td>
</tr>
<tr class="even">
<td align="right">13.0910968</td>
<td align="right">14.4</td>
</tr>
<tr class="odd">
<td align="right">17.4547957</td>
<td align="right">7.7</td>
</tr>
<tr class="even">
<td align="right">17.4547957</td>
<td align="right">7.3</td>
</tr>
<tr class="odd">
<td align="right">17.4547957</td>
<td align="right">8.1</td>
</tr>
<tr class="even">
<td align="right">26.1821936</td>
<td align="right">2.0</td>
</tr>
<tr class="odd">
<td align="right">26.1821936</td>
<td align="right">1.5</td>
</tr>
<tr class="even">
<td align="right">26.1821936</td>
<td align="right">1.9</td>
</tr>
<tr class="odd">
<td align="right">34.9095915</td>
<td align="right">1.3</td>
</tr>
<tr class="even">
<td align="right">34.9095915</td>
<td align="right">1.0</td>
</tr>
<tr class="odd">
<td align="right">34.9095915</td>
<td align="right">1.1</td>
</tr>
<tr class="even">
<td align="right">43.6369893</td>
<td align="right">0.9</td>
</tr>
<tr class="odd">
<td align="right">43.6369893</td>
<td align="right">0.7</td>
</tr>
<tr class="even">
<td align="right">43.6369893</td>
<td align="right">0.7</td>
</tr>
<tr class="odd">
<td align="right">52.3643872</td>
<td align="right">0.6</td>
</tr>
<tr class="even">
<td align="right">52.3643872</td>
<td align="right">0.4</td>
</tr>
<tr class="odd">
<td align="right">52.3643872</td>
<td align="right">0.5</td>
</tr>
<tr class="even">
<td align="right">74.8062674</td>
<td align="right">0.4</td>
</tr>
<tr class="odd">
<td align="right">74.8062674</td>
<td align="right">0.3</td>
</tr>
<tr class="even">
<td align="right">74.8062674</td>
<td align="right">0.3</td>
</tr>
</tbody>
</table>
<table class="table">
<caption>Dataset BBA 2.2</caption>
<thead><tr class="header">
<th align="right">time</th>
<th align="right">DMTA</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="right">0.0000000</td>
<td align="right">98.09</td>
</tr>
<tr class="even">
<td align="right">0.0000000</td>
<td align="right">98.77</td>
</tr>
<tr class="odd">
<td align="right">0.7678922</td>
<td align="right">93.52</td>
</tr>
<tr class="even">
<td align="right">0.7678922</td>
<td align="right">92.03</td>
</tr>
<tr class="odd">
<td align="right">2.3036765</td>
<td align="right">88.39</td>
</tr>
<tr class="even">
<td align="right">2.3036765</td>
<td align="right">87.18</td>
</tr>
<tr class="odd">
<td align="right">5.3752452</td>
<td align="right">69.38</td>
</tr>
<tr class="even">
<td align="right">5.3752452</td>
<td align="right">71.06</td>
</tr>
<tr class="odd">
<td align="right">10.7504904</td>
<td align="right">45.21</td>
</tr>
<tr class="even">
<td align="right">10.7504904</td>
<td align="right">46.81</td>
</tr>
<tr class="odd">
<td align="right">16.1257355</td>
<td align="right">30.54</td>
</tr>
<tr class="even">
<td align="right">16.1257355</td>
<td align="right">30.07</td>
</tr>
<tr class="odd">
<td align="right">21.5009807</td>
<td align="right">21.60</td>
</tr>
<tr class="even">
<td align="right">21.5009807</td>
<td align="right">20.41</td>
</tr>
<tr class="odd">
<td align="right">32.2514711</td>
<td align="right">9.10</td>
</tr>
<tr class="even">
<td align="right">32.2514711</td>
<td align="right">9.70</td>
</tr>
<tr class="odd">
<td align="right">43.0019614</td>
<td align="right">6.58</td>
</tr>
<tr class="even">
<td align="right">43.0019614</td>
<td align="right">6.31</td>
</tr>
<tr class="odd">
<td align="right">53.7524518</td>
<td align="right">3.47</td>
</tr>
<tr class="even">
<td align="right">53.7524518</td>
<td align="right">3.52</td>
</tr>
<tr class="odd">
<td align="right">64.5029421</td>
<td align="right">3.40</td>
</tr>
<tr class="even">
<td align="right">64.5029421</td>
<td align="right">3.67</td>
</tr>
<tr class="odd">
<td align="right">91.3791680</td>
<td align="right">1.62</td>
</tr>
<tr class="even">
<td align="right">91.3791680</td>
<td align="right">1.62</td>
</tr>
</tbody>
</table>
<table class="table">
<caption>Dataset BBA 2.3</caption>
<thead><tr class="header">
<th align="right">time</th>
<th align="right">DMTA</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="right">0.0000000</td>
<td align="right">99.33</td>
</tr>
<tr class="even">
<td align="right">0.0000000</td>
<td align="right">97.44</td>
</tr>
<tr class="odd">
<td align="right">0.6733938</td>
<td align="right">93.73</td>
</tr>
<tr class="even">
<td align="right">0.6733938</td>
<td align="right">93.77</td>
</tr>
<tr class="odd">
<td align="right">2.0201814</td>
<td align="right">87.84</td>
</tr>
<tr class="even">
<td align="right">2.0201814</td>
<td align="right">89.82</td>
</tr>
<tr class="odd">
<td align="right">4.7137565</td>
<td align="right">71.61</td>
</tr>
<tr class="even">
<td align="right">4.7137565</td>
<td align="right">71.42</td>
</tr>
<tr class="odd">
<td align="right">9.4275131</td>
<td align="right">45.60</td>
</tr>
<tr class="even">
<td align="right">9.4275131</td>
<td align="right">45.42</td>
</tr>
<tr class="odd">
<td align="right">14.1412696</td>
<td align="right">31.12</td>
</tr>
<tr class="even">
<td align="right">14.1412696</td>
<td align="right">31.68</td>
</tr>
<tr class="odd">
<td align="right">18.8550262</td>
<td align="right">23.20</td>
</tr>
<tr class="even">
<td align="right">18.8550262</td>
<td align="right">24.13</td>
</tr>
<tr class="odd">
<td align="right">28.2825393</td>
<td align="right">9.43</td>
</tr>
<tr class="even">
<td align="right">28.2825393</td>
<td align="right">9.82</td>
</tr>
<tr class="odd">
<td align="right">37.7100523</td>
<td align="right">7.08</td>
</tr>
<tr class="even">
<td align="right">37.7100523</td>
<td align="right">8.64</td>
</tr>
<tr class="odd">
<td align="right">47.1375654</td>
<td align="right">4.41</td>
</tr>
<tr class="even">
<td align="right">47.1375654</td>
<td align="right">4.78</td>
</tr>
<tr class="odd">
<td align="right">56.5650785</td>
<td align="right">4.92</td>
</tr>
<tr class="even">
<td align="right">56.5650785</td>
<td align="right">5.08</td>
</tr>
<tr class="odd">
<td align="right">80.1338612</td>
<td align="right">2.13</td>
</tr>
<tr class="even">
<td align="right">80.1338612</td>
<td align="right">2.23</td>
</tr>
</tbody>
</table>
<table class="table">
<caption>Dataset Elliot</caption>
<thead><tr class="header">
<th align="right">time</th>
<th align="right">DMTA</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="right">0.000000</td>
<td align="right">97.5</td>
</tr>
<tr class="even">
<td align="right">0.000000</td>
<td align="right">100.7</td>
</tr>
<tr class="odd">
<td align="right">1.228478</td>
<td align="right">86.4</td>
</tr>
<tr class="even">
<td align="right">1.228478</td>
<td align="right">88.5</td>
</tr>
<tr class="odd">
<td align="right">3.685435</td>
<td align="right">69.8</td>
</tr>
<tr class="even">
<td align="right">3.685435</td>
<td align="right">77.1</td>
</tr>
<tr class="odd">
<td align="right">8.599349</td>
<td align="right">59.0</td>
</tr>
<tr class="even">
<td align="right">8.599349</td>
<td align="right">54.2</td>
</tr>
<tr class="odd">
<td align="right">17.198697</td>
<td align="right">31.3</td>
</tr>
<tr class="even">
<td align="right">17.198697</td>
<td align="right">33.5</td>
</tr>
<tr class="odd">
<td align="right">25.798046</td>
<td align="right">19.6</td>
</tr>
<tr class="even">
<td align="right">25.798046</td>
<td align="right">20.9</td>
</tr>
<tr class="odd">
<td align="right">34.397395</td>
<td align="right">13.3</td>
</tr>
<tr class="even">
<td align="right">34.397395</td>
<td align="right">15.8</td>
</tr>
<tr class="odd">
<td align="right">51.596092</td>
<td align="right">6.7</td>
</tr>
<tr class="even">
<td align="right">51.596092</td>
<td align="right">8.7</td>
</tr>
<tr class="odd">
<td align="right">68.794789</td>
<td align="right">8.8</td>
</tr>
<tr class="even">
<td align="right">68.794789</td>
<td align="right">8.7</td>
</tr>
<tr class="odd">
<td align="right">103.192184</td>
<td align="right">6.0</td>
</tr>
<tr class="even">
<td align="right">103.192184</td>
<td align="right">4.4</td>
</tr>
<tr class="odd">
<td align="right">146.188928</td>
<td align="right">3.3</td>
</tr>
<tr class="even">
<td align="right">146.188928</td>
<td align="right">2.8</td>
</tr>
<tr class="odd">
<td align="right">223.583066</td>
<td align="right">1.4</td>
</tr>
<tr class="even">
<td align="right">223.583066</td>
<td align="right">1.8</td>
</tr>
<tr class="odd">
<td align="right">0.000000</td>
<td align="right">93.4</td>
</tr>
<tr class="even">
<td align="right">0.000000</td>
<td align="right">103.2</td>
</tr>
<tr class="odd">
<td align="right">1.228478</td>
<td align="right">89.2</td>
</tr>
<tr class="even">
<td align="right">1.228478</td>
<td align="right">86.6</td>
</tr>
<tr class="odd">
<td align="right">3.685435</td>
<td align="right">78.2</td>
</tr>
<tr class="even">
<td align="right">3.685435</td>
<td align="right">78.1</td>
</tr>
<tr class="odd">
<td align="right">8.599349</td>
<td align="right">55.6</td>
</tr>
<tr class="even">
<td align="right">8.599349</td>
<td align="right">53.0</td>
</tr>
<tr class="odd">
<td align="right">17.198697</td>
<td align="right">33.7</td>
</tr>
<tr class="even">
<td align="right">17.198697</td>
<td align="right">33.2</td>
</tr>
<tr class="odd">
<td align="right">25.798046</td>
<td align="right">20.9</td>
</tr>
<tr class="even">
<td align="right">25.798046</td>
<td align="right">19.9</td>
</tr>
<tr class="odd">
<td align="right">34.397395</td>
<td align="right">18.2</td>
</tr>
<tr class="even">
<td align="right">34.397395</td>
<td align="right">12.7</td>
</tr>
<tr class="odd">
<td align="right">51.596092</td>
<td align="right">7.8</td>
</tr>
<tr class="even">
<td align="right">51.596092</td>
<td align="right">9.0</td>
</tr>
<tr class="odd">
<td align="right">68.794789</td>
<td align="right">11.4</td>
</tr>
<tr class="even">
<td align="right">68.794789</td>
<td align="right">9.0</td>
</tr>
<tr class="odd">
<td align="right">103.192184</td>
<td align="right">3.9</td>
</tr>
<tr class="even">
<td align="right">103.192184</td>
<td align="right">4.4</td>
</tr>
<tr class="odd">
<td align="right">146.188928</td>
<td align="right">2.6</td>
</tr>
<tr class="even">
<td align="right">146.188928</td>
<td align="right">3.4</td>
</tr>
<tr class="odd">
<td align="right">223.583066</td>
<td align="right">2.0</td>
</tr>
<tr class="even">
<td align="right">223.583066</td>
<td align="right">1.7</td>
</tr>
</tbody>
</table>
</div>
<div class="section level2">
<h2 id="separate-evaluations">Separate evaluations<a class="anchor" aria-label="anchor" href="#separate-evaluations"></a>
</h2>
<p>In order to obtain suitable starting parameters for the NLHM fits,
separate fits of the four models to the data for each soil are generated
using the <code>mmkin</code> function from the <code>mkin</code>
package. In a first step, constant variance is assumed. Convergence is
checked with the <code>status</code> function.</p>
<div class="sourceCode" id="cb4"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">deg_mods</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"SFO"</span>, <span class="st">"FOMC"</span>, <span class="st">"DFOP"</span>, <span class="st">"HS"</span><span class="op">)</span></span>
<span><span class="va">f_sep_const</span> <span class="op">&lt;-</span> <span class="fu"><a href="../../reference/mmkin.html">mmkin</a></span><span class="op">(</span></span>
<span>  <span class="va">deg_mods</span>,</span>
<span>  <span class="va">dmta_ds</span>,</span>
<span>  error_model <span class="op">=</span> <span class="st">"const"</span>,</span>
<span>  quiet <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span>
<span></span>
<span><span class="fu"><a href="../../reference/status.html">status</a></span><span class="op">(</span><span class="va">f_sep_const</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu"><a href="https://rdrr.io/pkg/knitr/man/kable.html" class="external-link">kable</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
<table class="table">
<thead><tr class="header">
<th align="left"></th>
<th align="left">Calke</th>
<th align="left">Borstel</th>
<th align="left">Flaach</th>
<th align="left">BBA 2.2</th>
<th align="left">BBA 2.3</th>
<th align="left">Elliot</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="left">SFO</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
</tr>
<tr class="even">
<td align="left">FOMC</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
</tr>
<tr class="odd">
<td align="left">DFOP</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
</tr>
<tr class="even">
<td align="left">HS</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">C</td>
<td align="left">OK</td>
<td align="left">OK</td>
</tr>
</tbody>
</table>
<p>In the table above, OK indicates convergence, and C indicates failure
to converge. All separate fits with constant variance converged, with
the sole exception of the HS fit to the BBA 2.2 data. To prepare for
fitting NLHM using the two-component error model, the separate fits are
updated assuming two-component error.</p>
<div class="sourceCode" id="cb5"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">f_sep_tc</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/stats/update.html" class="external-link">update</a></span><span class="op">(</span><span class="va">f_sep_const</span>, error_model <span class="op">=</span> <span class="st">"tc"</span><span class="op">)</span></span>
<span><span class="fu"><a href="../../reference/status.html">status</a></span><span class="op">(</span><span class="va">f_sep_tc</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu"><a href="https://rdrr.io/pkg/knitr/man/kable.html" class="external-link">kable</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
<table class="table">
<thead><tr class="header">
<th align="left"></th>
<th align="left">Calke</th>
<th align="left">Borstel</th>
<th align="left">Flaach</th>
<th align="left">BBA 2.2</th>
<th align="left">BBA 2.3</th>
<th align="left">Elliot</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="left">SFO</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
</tr>
<tr class="even">
<td align="left">FOMC</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">C</td>
<td align="left">OK</td>
</tr>
<tr class="odd">
<td align="left">DFOP</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">C</td>
<td align="left">OK</td>
<td align="left">C</td>
<td align="left">OK</td>
</tr>
<tr class="even">
<td align="left">HS</td>
<td align="left">OK</td>
<td align="left">C</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
<td align="left">OK</td>
</tr>
</tbody>
</table>
<p>Using the two-component error model, the one fit that did not
converge with constant variance did converge, but other non-SFO fits
failed to converge.</p>
</div>
<div class="section level2">
<h2 id="hierarchichal-model-fits">Hierarchichal model fits<a class="anchor" aria-label="anchor" href="#hierarchichal-model-fits"></a>
</h2>
<p>The following code fits eight versions of hierarchical models to the
data, using SFO, FOMC, DFOP and HS for the parent compound, and using
either constant variance or two-component error for the error model. The
default parameter distribution model in mkin allows for variation of all
degradation parameters across the assumed population of soils. In other
words, each degradation parameter is associated with a random effect as
a first step. The <code>mhmkin</code> function makes it possible to fit
all eight versions in parallel (given a sufficient number of computing
cores being available) to save execution time.</p>
<p>Convergence plots and summaries for these fits are shown in the
appendix.</p>
<div class="sourceCode" id="cb6"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">f_saem</span> <span class="op">&lt;-</span> <span class="fu"><a href="../../reference/mhmkin.html">mhmkin</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="va">f_sep_const</span>, <span class="va">f_sep_tc</span><span class="op">)</span>, transformations <span class="op">=</span> <span class="st">"saemix"</span><span class="op">)</span></span></code></pre></div>
<p>The output of the <code>status</code> function shows that all fits
terminated successfully.</p>
<div class="sourceCode" id="cb7"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="../../reference/status.html">status</a></span><span class="op">(</span><span class="va">f_saem</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu"><a href="https://rdrr.io/pkg/knitr/man/kable.html" class="external-link">kable</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
<table class="table">
<thead><tr class="header">
<th align="left"></th>
<th align="left">const</th>
<th align="left">tc</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="left">SFO</td>
<td align="left">OK</td>
<td align="left">OK</td>
</tr>
<tr class="even">
<td align="left">FOMC</td>
<td align="left">OK</td>
<td align="left">OK</td>
</tr>
<tr class="odd">
<td align="left">DFOP</td>
<td align="left">OK</td>
<td align="left">OK</td>
</tr>
<tr class="even">
<td align="left">HS</td>
<td align="left">OK</td>
<td align="left">OK</td>
</tr>
</tbody>
</table>
<p>The AIC and BIC values show that the biphasic models DFOP and HS give
the best fits.</p>
<div class="sourceCode" id="cb8"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/stats/anova.html" class="external-link">anova</a></span><span class="op">(</span><span class="va">f_saem</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu"><a href="https://rdrr.io/pkg/knitr/man/kable.html" class="external-link">kable</a></span><span class="op">(</span>digits <span class="op">=</span> <span class="fl">1</span><span class="op">)</span></span></code></pre></div>
<table class="table">
<thead><tr class="header">
<th align="left"></th>
<th align="right">npar</th>
<th align="right">AIC</th>
<th align="right">BIC</th>
<th align="right">Lik</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="left">SFO const</td>
<td align="right">5</td>
<td align="right">796.3</td>
<td align="right">795.3</td>
<td align="right">-393.2</td>
</tr>
<tr class="even">
<td align="left">SFO tc</td>
<td align="right">6</td>
<td align="right">798.3</td>
<td align="right">797.1</td>
<td align="right">-393.2</td>
</tr>
<tr class="odd">
<td align="left">FOMC const</td>
<td align="right">7</td>
<td align="right">734.2</td>
<td align="right">732.7</td>
<td align="right">-360.1</td>
</tr>
<tr class="even">
<td align="left">FOMC tc</td>
<td align="right">8</td>
<td align="right">720.4</td>
<td align="right">718.8</td>
<td align="right">-352.2</td>
</tr>
<tr class="odd">
<td align="left">DFOP const</td>
<td align="right">9</td>
<td align="right">711.8</td>
<td align="right">710.0</td>
<td align="right">-346.9</td>
</tr>
<tr class="even">
<td align="left">HS const</td>
<td align="right">9</td>
<td align="right">714.0</td>
<td align="right">712.1</td>
<td align="right">-348.0</td>
</tr>
<tr class="odd">
<td align="left">DFOP tc</td>
<td align="right">10</td>
<td align="right">665.5</td>
<td align="right">663.4</td>
<td align="right">-322.8</td>
</tr>
<tr class="even">
<td align="left">HS tc</td>
<td align="right">10</td>
<td align="right">667.1</td>
<td align="right">665.0</td>
<td align="right">-323.6</td>
</tr>
</tbody>
</table>
<p>The DFOP model is preferred here, as it has a better mechanistic
basis for batch experiments with constant incubation conditions. Also,
it shows the lowest AIC and BIC values in the first set of fits when
combined with the two-component error model. Therefore, the DFOP model
was selected for further refinements of the fits with the aim to make
the model fully identifiable.</p>
<div class="section level3">
<h3 id="parameter-identifiability-based-on-the-fisher-information-matrix">Parameter identifiability based on the Fisher Information
Matrix<a class="anchor" aria-label="anchor" href="#parameter-identifiability-based-on-the-fisher-information-matrix"></a>
</h3>
<p>Using the <code>illparms</code> function, ill-defined statistical
model parameters such as standard deviations of the degradation
parameters in the population and error model parameters can be
found.</p>
<div class="sourceCode" id="cb9"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="../../reference/illparms.html">illparms</a></span><span class="op">(</span><span class="va">f_saem</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu"><a href="https://rdrr.io/pkg/knitr/man/kable.html" class="external-link">kable</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
<table class="table">
<thead><tr class="header">
<th align="left"></th>
<th align="left">const</th>
<th align="left">tc</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="left">SFO</td>
<td align="left"></td>
<td align="left">b.1</td>
</tr>
<tr class="even">
<td align="left">FOMC</td>
<td align="left"></td>
<td align="left">sd(DMTA_0)</td>
</tr>
<tr class="odd">
<td align="left">DFOP</td>
<td align="left">sd(k2)</td>
<td align="left">sd(k2)</td>
</tr>
<tr class="even">
<td align="left">HS</td>
<td align="left"></td>
<td align="left">sd(tb)</td>
</tr>
</tbody>
</table>
<p>According to the <code>illparms</code> function, the fitted standard
deviation of the second kinetic rate constant <code>k2</code> is
ill-defined in both DFOP fits. This suggests that different values would
be obtained for this standard deviation when using different starting
values.</p>
<p>The thus identified overparameterisation is addressed by removing the
random effect for <code>k2</code> from the parameter model.</p>
<div class="sourceCode" id="cb10"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">f_saem_dfop_tc_no_ranef_k2</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/stats/update.html" class="external-link">update</a></span><span class="op">(</span><span class="va">f_saem</span><span class="op">[[</span><span class="st">"DFOP"</span>, <span class="st">"tc"</span><span class="op">]</span><span class="op">]</span>,</span>
<span>  no_random_effect <span class="op">=</span> <span class="st">"k2"</span><span class="op">)</span></span></code></pre></div>
<p>For the resulting fit, it is checked whether there are still
ill-defined parameters,</p>
<div class="sourceCode" id="cb11"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="../../reference/illparms.html">illparms</a></span><span class="op">(</span><span class="va">f_saem_dfop_tc_no_ranef_k2</span><span class="op">)</span></span></code></pre></div>
<p>which is not the case. Below, the refined model is compared with the
previous best model. The model without random effect for <code>k2</code>
is a reduced version of the previous model. Therefore, the models are
nested and can be compared using the likelihood ratio test. This is
achieved with the argument <code>test = TRUE</code> to the
<code>anova</code> function.</p>
<div class="sourceCode" id="cb12"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/stats/anova.html" class="external-link">anova</a></span><span class="op">(</span><span class="va">f_saem</span><span class="op">[[</span><span class="st">"DFOP"</span>, <span class="st">"tc"</span><span class="op">]</span><span class="op">]</span>, <span class="va">f_saem_dfop_tc_no_ranef_k2</span>, test <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span> <span class="op">|&gt;</span></span>
<span>  <span class="fu"><a href="https://rdrr.io/pkg/knitr/man/kable.html" class="external-link">kable</a></span><span class="op">(</span>format.args <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span>digits <span class="op">=</span> <span class="fl">4</span><span class="op">)</span><span class="op">)</span></span></code></pre></div>
<table class="table">
<colgroup>
<col width="37%">
<col width="6%">
<col width="8%">
<col width="8%">
<col width="9%">
<col width="9%">
<col width="4%">
<col width="15%">
</colgroup>
<thead><tr class="header">
<th align="left"></th>
<th align="right">npar</th>
<th align="right">AIC</th>
<th align="right">BIC</th>
<th align="right">Lik</th>
<th align="right">Chisq</th>
<th align="right">Df</th>
<th align="right">Pr(&gt;Chisq)</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="left">f_saem_dfop_tc_no_ranef_k2</td>
<td align="right">9</td>
<td align="right">663.8</td>
<td align="right">661.9</td>
<td align="right">-322.9</td>
<td align="right">NA</td>
<td align="right">NA</td>
<td align="right">NA</td>
</tr>
<tr class="even">
<td align="left">f_saem[[“DFOP”, “tc”]]</td>
<td align="right">10</td>
<td align="right">665.5</td>
<td align="right">663.4</td>
<td align="right">-322.8</td>
<td align="right">0.2809</td>
<td align="right">1</td>
<td align="right">0.5961</td>
</tr>
</tbody>
</table>
<p>The AIC and BIC criteria are lower after removal of the ill-defined
random effect for <code>k2</code>. The p value of the likelihood ratio
test is much greater than 0.05, indicating that the model with the
higher likelihood (here the model with random effects for all
degradation parameters <code>f_saem[["DFOP", "tc"]]</code>) does not fit
significantly better than the model with the lower likelihood (the
reduced model <code>f_saem_dfop_tc_no_ranef_k2</code>).</p>
<p>Therefore, AIC, BIC and likelihood ratio test suggest the use of the
reduced model.</p>
<p>The convergence of the fit is checked visually.</p>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/convergence-saem-dfop-tc-no-ranef-k2-1.png" alt="Convergence plot for the NLHM DFOP fit with two-component error and without a random effect on 'k2'" width="864"><p class="caption">
Convergence plot for the NLHM DFOP fit with two-component error and
without a random effect on ‘k2’
</p>
</div>
<p>All parameters appear to have converged to a satisfactory degree. The
final fit is plotted using the plot method from the mkin package.</p>
<div class="sourceCode" id="cb13"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/base/plot.html" class="external-link">plot</a></span><span class="op">(</span><span class="va">f_saem_dfop_tc_no_ranef_k2</span><span class="op">)</span></span></code></pre></div>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/plot-saem-dfop-tc-no-ranef-k2-1.png" alt="Plot of the final NLHM DFOP fit" width="864"><p class="caption">
Plot of the final NLHM DFOP fit
</p>
</div>
<p>Finally, a summary report of the fit is produced.</p>
<div class="sourceCode" id="cb14"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/pkg/saemix/man/summary-methods.html" class="external-link">summary</a></span><span class="op">(</span><span class="va">f_saem_dfop_tc_no_ranef_k2</span><span class="op">)</span></span></code></pre></div>
<pre><code>saemix version used for fitting:      3.2 
mkin version used for pre-fitting:  1.2.2 
R version used for fitting:         4.2.2 
Date of fit:     Sat Jan 28 11:22:51 2023 
Date of summary: Sat Jan 28 11:22:52 2023 

Equations:
d_DMTA/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 *
           time)) / (g * exp(-k1 * time) + (1 - g) * exp(-k2 * time)))
           * DMTA

Data:
155 observations of 1 variable(s) grouped in 6 datasets

Model predictions using solution type analytical 

Fitted in 3.74 s
Using 300, 100 iterations and 9 chains

Variance model: Two-component variance function 

Starting values for degradation parameters:
   DMTA_0        k1        k2         g 
98.759266  0.087034  0.009933  0.930827 

Fixed degradation parameter values:
None

Starting values for random effects (square root of initial entries in omega):
       DMTA_0 k1 k2 g
DMTA_0  98.76  0  0 0
k1       0.00  1  0 0
k2       0.00  0  1 0
g        0.00  0  0 1

Starting values for error model parameters:
a.1 b.1 
  1   1 

Results:

Likelihood computed by importance sampling
    AIC   BIC logLik
  663.8 661.9 -322.9

Optimised parameters:
               est.     lower     upper
DMTA_0    98.228939 96.285869 100.17201
k1         0.064063  0.033477   0.09465
k2         0.008297  0.005824   0.01077
g          0.953821  0.914328   0.99331
a.1        1.068479  0.869538   1.26742
b.1        0.029424  0.022406   0.03644
SD.DMTA_0  2.030437  0.404824   3.65605
SD.k1      0.594692  0.256660   0.93272
SD.g       1.006754  0.361327   1.65218

Correlation: 
   DMTA_0  k1      k2     
k1  0.0218                
k2  0.0556  0.0355        
g  -0.0516 -0.0284 -0.2800

Random effects:
            est.  lower  upper
SD.DMTA_0 2.0304 0.4048 3.6560
SD.k1     0.5947 0.2567 0.9327
SD.g      1.0068 0.3613 1.6522

Variance model:
       est.   lower   upper
a.1 1.06848 0.86954 1.26742
b.1 0.02942 0.02241 0.03644

Estimated disappearance times:
      DT50 DT90 DT50back DT50_k1 DT50_k2
DMTA 11.45 41.4    12.46   10.82   83.54</code></pre>
</div>
<div class="section level3">
<h3 id="alternative-check-of-parameter-identifiability">Alternative check of parameter identifiability<a class="anchor" aria-label="anchor" href="#alternative-check-of-parameter-identifiability"></a>
</h3>
<p>The parameter check used in the <code>illparms</code> function is
based on a quadratic approximation of the likelihood surface near its
optimum, which is calculated using the Fisher Information Matrix (FIM).
An alternative way to check parameter identifiability <span class="citation">(Duchesne et al. 2021)</span> based on a multistart
approach has recently been implemented in mkin.</p>
<p>The graph below shows boxplots of the parameters obtained in 50 runs
of the saem algorithm with different parameter combinations, sampled
from the range of the parameters obtained for the individual datasets
fitted separately using nonlinear regression.</p>
<div class="sourceCode" id="cb16"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">f_saem_dfop_tc_multi</span> <span class="op">&lt;-</span> <span class="fu"><a href="../../reference/multistart.html">multistart</a></span><span class="op">(</span><span class="va">f_saem</span><span class="op">[[</span><span class="st">"DFOP"</span>, <span class="st">"tc"</span><span class="op">]</span><span class="op">]</span>, n <span class="op">=</span> <span class="fl">50</span>, cores <span class="op">=</span> <span class="fl">15</span><span class="op">)</span></span></code></pre></div>
<div class="sourceCode" id="cb17"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/graphics/par.html" class="external-link">par</a></span><span class="op">(</span>mar <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">6.1</span>, <span class="fl">4.1</span>, <span class="fl">2.1</span>, <span class="fl">2.1</span><span class="op">)</span><span class="op">)</span></span>
<span><span class="fu"><a href="../../reference/parplot.html">parplot</a></span><span class="op">(</span><span class="va">f_saem_dfop_tc_multi</span>, lpos <span class="op">=</span> <span class="st">"bottomright"</span>, ylim <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">0.3</span>, <span class="fl">10</span><span class="op">)</span>, las <span class="op">=</span> <span class="fl">2</span><span class="op">)</span></span></code></pre></div>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/multistart-full-par-1.png" alt="Scaled parameters from the multistart runs, full model" width="960"><p class="caption">
Scaled parameters from the multistart runs, full model
</p>
</div>
<p>The graph clearly confirms the lack of identifiability of the
variance of <code>k2</code> in the full model. The overparameterisation
of the model also indicates a lack of identifiability of the variance of
parameter <code>g</code>.</p>
<p>The parameter boxplots of the multistart runs with the reduced model
shown below indicate that all runs give similar results, regardless of
the starting parameters.</p>
<div class="sourceCode" id="cb18"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">f_saem_dfop_tc_no_ranef_k2_multi</span> <span class="op">&lt;-</span> <span class="fu"><a href="../../reference/multistart.html">multistart</a></span><span class="op">(</span><span class="va">f_saem_dfop_tc_no_ranef_k2</span>,</span>
<span>  n <span class="op">=</span> <span class="fl">50</span>, cores <span class="op">=</span> <span class="fl">15</span><span class="op">)</span></span></code></pre></div>
<div class="sourceCode" id="cb19"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/graphics/par.html" class="external-link">par</a></span><span class="op">(</span>mar <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">6.1</span>, <span class="fl">4.1</span>, <span class="fl">2.1</span>, <span class="fl">2.1</span><span class="op">)</span><span class="op">)</span></span>
<span><span class="fu"><a href="../../reference/parplot.html">parplot</a></span><span class="op">(</span><span class="va">f_saem_dfop_tc_no_ranef_k2_multi</span>, ylim <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">0.5</span>, <span class="fl">2</span><span class="op">)</span>, las <span class="op">=</span> <span class="fl">2</span>,</span>
<span>  lpos <span class="op">=</span> <span class="st">"bottomright"</span><span class="op">)</span></span></code></pre></div>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/multistart-reduced-par-1.png" alt="Scaled parameters from the multistart runs, reduced model" width="960"><p class="caption">
Scaled parameters from the multistart runs, reduced model
</p>
</div>
<p>When only the parameters of the top 25% of the fits are shown (based
on a feature introduced in mkin 1.2.2 currently under development), the
scatter is even less as shown below.</p>
<div class="sourceCode" id="cb20"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/graphics/par.html" class="external-link">par</a></span><span class="op">(</span>mar <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">6.1</span>, <span class="fl">4.1</span>, <span class="fl">2.1</span>, <span class="fl">2.1</span><span class="op">)</span><span class="op">)</span></span>
<span><span class="fu"><a href="../../reference/parplot.html">parplot</a></span><span class="op">(</span><span class="va">f_saem_dfop_tc_no_ranef_k2_multi</span>, ylim <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">0.5</span>, <span class="fl">2</span><span class="op">)</span>, las <span class="op">=</span> <span class="fl">2</span>, llquant <span class="op">=</span> <span class="fl">0.25</span>,</span>
<span>  lpos <span class="op">=</span> <span class="st">"bottomright"</span><span class="op">)</span></span></code></pre></div>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/multistart-reduced-par-llquant-1.png" alt="Scaled parameters from the multistart runs, reduced model, fits with the top 25\% likelihood values" width="960"><p class="caption">
Scaled parameters from the multistart runs, reduced model, fits with the
top 25% likelihood values
</p>
</div>
</div>
</div>
<div class="section level2">
<h2 id="conclusions">Conclusions<a class="anchor" aria-label="anchor" href="#conclusions"></a>
</h2>
<p>Fitting the four parent degradation models SFO, FOMC, DFOP and HS as
part of hierarchical model fits with two different error models and
normal distributions of the transformed degradation parameters works
without technical problems. The biphasic models DFOP and HS gave the
best fit to the data, but the default parameter distribution model was
not fully identifiable. Removing the random effect for the second
kinetic rate constant of the DFOP model resulted in a reduced model that
was fully identifiable and showed the lowest values for the model
selection criteria AIC and BIC. The reliability of the identification of
all model parameters was confirmed using multiple starting values.</p>
</div>
<div class="section level2">
<h2 id="acknowledgements">Acknowledgements<a class="anchor" aria-label="anchor" href="#acknowledgements"></a>
</h2>
<p>The helpful comments by Janina Wöltjen of the German Environment
Agency are gratefully acknowledged.</p>
</div>
<div class="section level2">
<h2 id="references">References<a class="anchor" aria-label="anchor" href="#references"></a>
</h2>
<div id="refs" class="references csl-bib-body hanging-indent">
<div id="ref-duchesne_2021" class="csl-entry">
Duchesne, Ronan, Anissa Guillemin, Olivier Gandrillon, and Fabien
Crauste. 2021. <span>“Practical Identifiability in the Frame of
Nonlinear Mixed Effects Models: The Example of the in Vitro
Erythropoiesis.”</span> <em>BMC Bioinformatics</em> 22 (478). <a href="https://doi.org/10.1186/s12859-021-04373-4" class="external-link">https://doi.org/10.1186/s12859-021-04373-4</a>.
</div>
</div>
</div>
<div class="section level2">
<h2 id="appendix">Appendix<a class="anchor" aria-label="anchor" href="#appendix"></a>
</h2>
<div class="section level3">
<h3 id="hierarchical-model-fit-listings">Hierarchical model fit listings<a class="anchor" aria-label="anchor" href="#hierarchical-model-fit-listings"></a>
</h3>
<caption>
Hierarchical mkin fit of the SFO model with error model const
</caption>
<pre><code>
saemix version used for fitting:      3.2 
mkin version used for pre-fitting:  1.2.2 
R version used for fitting:         4.2.2 
Date of fit:     Sat Jan 28 11:22:44 2023 
Date of summary: Sat Jan 28 11:23:57 2023 

Equations:
d_DMTA/dt = - k_DMTA * DMTA

Data:
155 observations of 1 variable(s) grouped in 6 datasets

Model predictions using solution type analytical 

Fitted in 0.982 s
Using 300, 100 iterations and 9 chains

Variance model: Constant variance 

Starting values for degradation parameters:
 DMTA_0  k_DMTA 
97.2953  0.0566 

Fixed degradation parameter values:
None

Starting values for random effects (square root of initial entries in omega):
       DMTA_0 k_DMTA
DMTA_0   97.3      0
k_DMTA    0.0      1

Starting values for error model parameters:
a.1 
  1 

Results:

Likelihood computed by importance sampling
    AIC   BIC logLik
  796.3 795.3 -393.2

Optimised parameters:
              est.    lower   upper
DMTA_0    97.28130 95.71113 98.8515
k_DMTA     0.05665  0.02909  0.0842
a.1        2.66442  2.35579  2.9731
SD.DMTA_0  1.54776  0.15447  2.9411
SD.k_DMTA  0.60690  0.26248  0.9513

Correlation: 
       DMTA_0
k_DMTA 0.0168

Random effects:
            est.  lower  upper
SD.DMTA_0 1.5478 0.1545 2.9411
SD.k_DMTA 0.6069 0.2625 0.9513

Variance model:
     est. lower upper
a.1 2.664 2.356 2.973

Estimated disappearance times:
      DT50  DT90
DMTA 12.24 40.65

</code></pre>
<p></p>
<caption>
Hierarchical mkin fit of the SFO model with error model tc
</caption>
<pre><code>
saemix version used for fitting:      3.2 
mkin version used for pre-fitting:  1.2.2 
R version used for fitting:         4.2.2 
Date of fit:     Sat Jan 28 11:22:46 2023 
Date of summary: Sat Jan 28 11:23:57 2023 

Equations:
d_DMTA/dt = - k_DMTA * DMTA

Data:
155 observations of 1 variable(s) grouped in 6 datasets

Model predictions using solution type analytical 

Fitted in 2.39 s
Using 300, 100 iterations and 9 chains

Variance model: Two-component variance function 

Starting values for degradation parameters:
  DMTA_0   k_DMTA 
96.99175  0.05603 

Fixed degradation parameter values:
None

Starting values for random effects (square root of initial entries in omega):
       DMTA_0 k_DMTA
DMTA_0  96.99      0
k_DMTA   0.00      1

Starting values for error model parameters:
a.1 b.1 
  1   1 

Results:

Likelihood computed by importance sampling
    AIC   BIC logLik
  798.3 797.1 -393.2

Optimised parameters:
               est.     lower    upper
DMTA_0    97.271822 95.703157 98.84049
k_DMTA     0.056638  0.029110  0.08417
a.1        2.660081  2.230398  3.08976
b.1        0.001665 -0.006911  0.01024
SD.DMTA_0  1.545520  0.145035  2.94601
SD.k_DMTA  0.606422  0.262274  0.95057

Correlation: 
       DMTA_0
k_DMTA 0.0169

Random effects:
            est.  lower  upper
SD.DMTA_0 1.5455 0.1450 2.9460
SD.k_DMTA 0.6064 0.2623 0.9506

Variance model:
        est.     lower   upper
a.1 2.660081  2.230398 3.08976
b.1 0.001665 -0.006911 0.01024

Estimated disappearance times:
      DT50  DT90
DMTA 12.24 40.65

</code></pre>
<p></p>
<caption>
Hierarchical mkin fit of the FOMC model with error model const
</caption>
<pre><code>
saemix version used for fitting:      3.2 
mkin version used for pre-fitting:  1.2.2 
R version used for fitting:         4.2.2 
Date of fit:     Sat Jan 28 11:22:45 2023 
Date of summary: Sat Jan 28 11:23:57 2023 

Equations:
d_DMTA/dt = - (alpha/beta) * 1/((time/beta) + 1) * DMTA

Data:
155 observations of 1 variable(s) grouped in 6 datasets

Model predictions using solution type analytical 

Fitted in 1.552 s
Using 300, 100 iterations and 9 chains

Variance model: Constant variance 

Starting values for degradation parameters:
 DMTA_0   alpha    beta 
 98.292   9.909 156.341 

Fixed degradation parameter values:
None

Starting values for random effects (square root of initial entries in omega):
       DMTA_0 alpha beta
DMTA_0  98.29     0    0
alpha    0.00     1    0
beta     0.00     0    1

Starting values for error model parameters:
a.1 
  1 

Results:

Likelihood computed by importance sampling
    AIC   BIC logLik
  734.2 732.7 -360.1

Optimised parameters:
              est.   lower   upper
DMTA_0     98.3435 96.9033  99.784
alpha       7.2007  2.5889  11.812
beta      112.8746 34.8816 190.868
a.1         2.0459  1.8054   2.286
SD.DMTA_0   1.4795  0.2717   2.687
SD.alpha    0.6396  0.1509   1.128
SD.beta     0.6874  0.1587   1.216

Correlation: 
      DMTA_0  alpha  
alpha -0.1125        
beta  -0.1227  0.3632

Random effects:
            est.  lower upper
SD.DMTA_0 1.4795 0.2717 2.687
SD.alpha  0.6396 0.1509 1.128
SD.beta   0.6874 0.1587 1.216

Variance model:
     est. lower upper
a.1 2.046 1.805 2.286

Estimated disappearance times:
      DT50  DT90 DT50back
DMTA 11.41 42.53     12.8

</code></pre>
<p></p>
<caption>
Hierarchical mkin fit of the FOMC model with error model tc
</caption>
<pre><code>
saemix version used for fitting:      3.2 
mkin version used for pre-fitting:  1.2.2 
R version used for fitting:         4.2.2 
Date of fit:     Sat Jan 28 11:22:46 2023 
Date of summary: Sat Jan 28 11:23:57 2023 

Equations:
d_DMTA/dt = - (alpha/beta) * 1/((time/beta) + 1) * DMTA

Data:
155 observations of 1 variable(s) grouped in 6 datasets

Model predictions using solution type analytical 

Fitted in 2.764 s
Using 300, 100 iterations and 9 chains

Variance model: Two-component variance function 

Starting values for degradation parameters:
DMTA_0  alpha   beta 
98.772  4.663 92.597 

Fixed degradation parameter values:
None

Starting values for random effects (square root of initial entries in omega):
       DMTA_0 alpha beta
DMTA_0  98.77     0    0
alpha    0.00     1    0
beta     0.00     0    1

Starting values for error model parameters:
a.1 b.1 
  1   1 

Results:

Likelihood computed by importance sampling
    AIC   BIC logLik
  720.4 718.8 -352.2

Optimised parameters:
              est.    lower     upper
DMTA_0    98.99136 97.26011 100.72261
alpha      5.86312  2.57485   9.15138
beta      88.55571 29.20889 147.90254
a.1        1.51063  1.24384   1.77741
b.1        0.02824  0.02040   0.03609
SD.DMTA_0  1.57436 -0.04867   3.19739
SD.alpha   0.59871  0.17132   1.02611
SD.beta    0.72994  0.22849   1.23139

Correlation: 
      DMTA_0  alpha  
alpha -0.1363        
beta  -0.1414  0.2542

Random effects:
            est.    lower upper
SD.DMTA_0 1.5744 -0.04867 3.197
SD.alpha  0.5987  0.17132 1.026
SD.beta   0.7299  0.22849 1.231

Variance model:
       est.  lower   upper
a.1 1.51063 1.2438 1.77741
b.1 0.02824 0.0204 0.03609

Estimated disappearance times:
      DT50 DT90 DT50back
DMTA 11.11 42.6    12.82

</code></pre>
<p></p>
<caption>
Hierarchical mkin fit of the DFOP model with error model const
</caption>
<pre><code>
saemix version used for fitting:      3.2 
mkin version used for pre-fitting:  1.2.2 
R version used for fitting:         4.2.2 
Date of fit:     Sat Jan 28 11:22:45 2023 
Date of summary: Sat Jan 28 11:23:57 2023 

Equations:
d_DMTA/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 *
           time)) / (g * exp(-k1 * time) + (1 - g) * exp(-k2 * time)))
           * DMTA

Data:
155 observations of 1 variable(s) grouped in 6 datasets

Model predictions using solution type analytical 

Fitted in 1.649 s
Using 300, 100 iterations and 9 chains

Variance model: Constant variance 

Starting values for degradation parameters:
  DMTA_0       k1       k2        g 
98.64383  0.09211  0.02999  0.76814 

Fixed degradation parameter values:
None

Starting values for random effects (square root of initial entries in omega):
       DMTA_0 k1 k2 g
DMTA_0  98.64  0  0 0
k1       0.00  1  0 0
k2       0.00  0  1 0
g        0.00  0  0 1

Starting values for error model parameters:
a.1 
  1 

Results:

Likelihood computed by importance sampling
    AIC BIC logLik
  711.8 710 -346.9

Optimised parameters:
               est.     lower    upper
DMTA_0    98.092481 96.573898 99.61106
k1         0.062499  0.030336  0.09466
k2         0.009065 -0.005133  0.02326
g          0.948967  0.862079  1.03586
a.1        1.821671  1.604774  2.03857
SD.DMTA_0  1.677785  0.472066  2.88350
SD.k1      0.634962  0.270788  0.99914
SD.k2      1.033498 -0.205994  2.27299
SD.g       1.710046  0.428642  2.99145

Correlation: 
   DMTA_0  k1      k2     
k1  0.0246                
k2  0.0491  0.0953        
g  -0.0552 -0.0889 -0.4795

Random effects:
           est.   lower  upper
SD.DMTA_0 1.678  0.4721 2.8835
SD.k1     0.635  0.2708 0.9991
SD.k2     1.033 -0.2060 2.2730
SD.g      1.710  0.4286 2.9914

Variance model:
     est. lower upper
a.1 1.822 1.605 2.039

Estimated disappearance times:
      DT50 DT90 DT50back DT50_k1 DT50_k2
DMTA 11.79 42.8    12.88   11.09   76.46

</code></pre>
<p></p>
<caption>
Hierarchical mkin fit of the DFOP model with error model tc
</caption>
<pre><code>
saemix version used for fitting:      3.2 
mkin version used for pre-fitting:  1.2.2 
R version used for fitting:         4.2.2 
Date of fit:     Sat Jan 28 11:22:46 2023 
Date of summary: Sat Jan 28 11:23:57 2023 

Equations:
d_DMTA/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 *
           time)) / (g * exp(-k1 * time) + (1 - g) * exp(-k2 * time)))
           * DMTA

Data:
155 observations of 1 variable(s) grouped in 6 datasets

Model predictions using solution type analytical 

Fitted in 3.288 s
Using 300, 100 iterations and 9 chains

Variance model: Two-component variance function 

Starting values for degradation parameters:
   DMTA_0        k1        k2         g 
98.759266  0.087034  0.009933  0.930827 

Fixed degradation parameter values:
None

Starting values for random effects (square root of initial entries in omega):
       DMTA_0 k1 k2 g
DMTA_0  98.76  0  0 0
k1       0.00  1  0 0
k2       0.00  0  1 0
g        0.00  0  0 1

Starting values for error model parameters:
a.1 b.1 
  1   1 

Results:

Likelihood computed by importance sampling
    AIC   BIC logLik
  665.5 663.4 -322.8

Optimised parameters:
               est.     lower     upper
DMTA_0    98.377019 96.447952 100.30609
k1         0.064843  0.034607   0.09508
k2         0.008895  0.006368   0.01142
g          0.949696  0.903815   0.99558
a.1        1.065241  0.865754   1.26473
b.1        0.029340  0.022336   0.03634
SD.DMTA_0  2.007754  0.387982   3.62753
SD.k1      0.580473  0.250286   0.91066
SD.k2      0.006105 -4.920337   4.93255
SD.g       1.097149  0.412779   1.78152

Correlation: 
   DMTA_0  k1      k2     
k1  0.0235                
k2  0.0595  0.0424        
g  -0.0470 -0.0278 -0.2731

Random effects:
              est.   lower  upper
SD.DMTA_0 2.007754  0.3880 3.6275
SD.k1     0.580473  0.2503 0.9107
SD.k2     0.006105 -4.9203 4.9325
SD.g      1.097149  0.4128 1.7815

Variance model:
       est.   lower   upper
a.1 1.06524 0.86575 1.26473
b.1 0.02934 0.02234 0.03634

Estimated disappearance times:
      DT50  DT90 DT50back DT50_k1 DT50_k2
DMTA 11.36 41.32    12.44   10.69   77.92

</code></pre>
<p></p>
<caption>
Hierarchical mkin fit of the HS model with error model const
</caption>
<pre><code>
saemix version used for fitting:      3.2 
mkin version used for pre-fitting:  1.2.2 
R version used for fitting:         4.2.2 
Date of fit:     Sat Jan 28 11:22:45 2023 
Date of summary: Sat Jan 28 11:23:57 2023 

Equations:
d_DMTA/dt = - ifelse(time &lt;= tb, k1, k2) * DMTA

Data:
155 observations of 1 variable(s) grouped in 6 datasets

Model predictions using solution type analytical 

Fitted in 2.006 s
Using 300, 100 iterations and 9 chains

Variance model: Constant variance 

Starting values for degradation parameters:
  DMTA_0       k1       k2       tb 
97.82176  0.06931  0.02997 11.13945 

Fixed degradation parameter values:
None

Starting values for random effects (square root of initial entries in omega):
       DMTA_0 k1 k2 tb
DMTA_0  97.82  0  0  0
k1       0.00  1  0  0
k2       0.00  0  1  0
tb       0.00  0  0  1

Starting values for error model parameters:
a.1 
  1 

Results:

Likelihood computed by importance sampling
  AIC   BIC logLik
  714 712.1   -348

Optimised parameters:
              est.    lower    upper
DMTA_0    98.16102 96.47747 99.84456
k1         0.07876  0.05261  0.10491
k2         0.02227  0.01706  0.02747
tb        13.99089 -7.40049 35.38228
a.1        1.82305  1.60700  2.03910
SD.DMTA_0  1.88413  0.56204  3.20622
SD.k1      0.34292  0.10482  0.58102
SD.k2      0.19851  0.01718  0.37985
SD.tb      1.68168  0.58064  2.78272

Correlation: 
   DMTA_0  k1      k2     
k1  0.0142                
k2  0.0001 -0.0025        
tb  0.0165 -0.1256 -0.0301

Random effects:
            est.   lower  upper
SD.DMTA_0 1.8841 0.56204 3.2062
SD.k1     0.3429 0.10482 0.5810
SD.k2     0.1985 0.01718 0.3798
SD.tb     1.6817 0.58064 2.7827

Variance model:
     est. lower upper
a.1 1.823 1.607 2.039

Estimated disappearance times:
      DT50  DT90 DT50back DT50_k1 DT50_k2
DMTA 8.801 67.91    20.44   8.801   31.13

</code></pre>
<p></p>
<caption>
Hierarchical mkin fit of the HS model with error model tc
</caption>
<pre><code>
saemix version used for fitting:      3.2 
mkin version used for pre-fitting:  1.2.2 
R version used for fitting:         4.2.2 
Date of fit:     Sat Jan 28 11:22:46 2023 
Date of summary: Sat Jan 28 11:23:57 2023 

Equations:
d_DMTA/dt = - ifelse(time &lt;= tb, k1, k2) * DMTA

Data:
155 observations of 1 variable(s) grouped in 6 datasets

Model predictions using solution type analytical 

Fitted in 3.267 s
Using 300, 100 iterations and 9 chains

Variance model: Two-component variance function 

Starting values for degradation parameters:
  DMTA_0       k1       k2       tb 
98.45190  0.07525  0.02576 19.19375 

Fixed degradation parameter values:
None

Starting values for random effects (square root of initial entries in omega):
       DMTA_0 k1 k2 tb
DMTA_0  98.45  0  0  0
k1       0.00  1  0  0
k2       0.00  0  1  0
tb       0.00  0  0  1

Starting values for error model parameters:
a.1 b.1 
  1   1 

Results:

Likelihood computed by importance sampling
    AIC BIC logLik
  667.1 665 -323.6

Optimised parameters:
              est.    lower    upper
DMTA_0    97.76570 95.81350 99.71791
k1         0.05855  0.03080  0.08630
k2         0.02337  0.01664  0.03010
tb        31.09638 29.38289 32.80987
a.1        1.08835  0.88590  1.29080
b.1        0.02964  0.02257  0.03671
SD.DMTA_0  2.04877  0.42607  3.67147
SD.k1      0.59166  0.25621  0.92711
SD.k2      0.30698  0.09561  0.51835
SD.tb      0.01274 -0.10914  0.13462

Correlation: 
   DMTA_0  k1      k2     
k1  0.0160                
k2 -0.0070 -0.0024        
tb -0.0668 -0.0103 -0.2013

Random effects:
             est.    lower  upper
SD.DMTA_0 2.04877  0.42607 3.6715
SD.k1     0.59166  0.25621 0.9271
SD.k2     0.30698  0.09561 0.5183
SD.tb     0.01274 -0.10914 0.1346

Variance model:
       est.   lower   upper
a.1 1.08835 0.88590 1.29080
b.1 0.02964 0.02257 0.03671

Estimated disappearance times:
      DT50  DT90 DT50back DT50_k1 DT50_k2
DMTA 11.84 51.71    15.57   11.84   29.66

</code></pre>
<p></p>
</div>
<div class="section level3">
<h3 id="hierarchical-model-convergence-plots">Hierarchical model convergence plots<a class="anchor" aria-label="anchor" href="#hierarchical-model-convergence-plots"></a>
</h3>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/convergence-saem-sfo-const-1.png" alt="Convergence plot for the NLHM SFO fit with constant variance" width="864"><p class="caption">
Convergence plot for the NLHM SFO fit with constant variance
</p>
</div>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/convergence-saem-sfo-tc-1.png" alt="Convergence plot for the NLHM SFO fit with two-component error" width="864"><p class="caption">
Convergence plot for the NLHM SFO fit with two-component error
</p>
</div>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/convergence-saem-fomc-const-1.png" alt="Convergence plot for the NLHM FOMC fit with constant variance" width="864"><p class="caption">
Convergence plot for the NLHM FOMC fit with constant variance
</p>
</div>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/convergence-saem-fomc-tc-1.png" alt="Convergence plot for the NLHM FOMC fit with two-component error" width="864"><p class="caption">
Convergence plot for the NLHM FOMC fit with two-component error
</p>
</div>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/convergence-saem-dfop-const-1.png" alt="Convergence plot for the NLHM DFOP fit with constant variance" width="864"><p class="caption">
Convergence plot for the NLHM DFOP fit with constant variance
</p>
</div>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/convergence-saem-dfop-tc-1.png" alt="Convergence plot for the NLHM DFOP fit with two-component error" width="864"><p class="caption">
Convergence plot for the NLHM DFOP fit with two-component error
</p>
</div>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/convergence-saem-hs-const-1.png" alt="Convergence plot for the NLHM HS fit with constant variance" width="864"><p class="caption">
Convergence plot for the NLHM HS fit with constant variance
</p>
</div>
<div class="figure" style="text-align: center">
<img src="2022_dmta_parent_files/figure-html/convergence-saem-hs-tc-1.png" alt="Convergence plot for the NLHM HS fit with two-component error" width="864"><p class="caption">
Convergence plot for the NLHM HS fit with two-component error
</p>
</div>
</div>
<div class="section level3">
<h3 id="session-info">Session info<a class="anchor" aria-label="anchor" href="#session-info"></a>
</h3>
<pre><code>R version 4.2.2 Patched (2022-11-10 r83330)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux bookworm/sid

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas-serial/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-serial/libopenblas-r0.3.21.so

locale:
 [1] LC_CTYPE=de_DE.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=de_DE.UTF-8        LC_COLLATE=de_DE.UTF-8    
 [5] LC_MONETARY=de_DE.UTF-8    LC_MESSAGES=de_DE.UTF-8   
 [7] LC_PAPER=de_DE.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] parallel  stats     graphics  grDevices utils     datasets  methods  
[8] base     

other attached packages:
[1] saemix_3.2 npde_3.3   knitr_1.41 mkin_1.2.2

loaded via a namespace (and not attached):
 [1] deSolve_1.34      zoo_1.8-11        tidyselect_1.2.0  xfun_0.35        
 [5] bslib_0.4.2       purrr_1.0.0       lattice_0.20-45   colorspace_2.0-3 
 [9] vctrs_0.5.1       generics_0.1.3    htmltools_0.5.4   yaml_2.3.6       
[13] utf8_1.2.2        rlang_1.0.6       pkgdown_2.0.7     jquerylib_0.1.4  
[17] pillar_1.8.1      glue_1.6.2        DBI_1.1.3         lifecycle_1.0.3  
[21] stringr_1.5.0     munsell_0.5.0     gtable_0.3.1      ragg_1.2.4       
[25] codetools_0.2-18  memoise_2.0.1     evaluate_0.19     fastmap_1.1.0    
[29] lmtest_0.9-40     fansi_1.0.3       highr_0.9         scales_1.2.1     
[33] cachem_1.0.6      desc_1.4.2        jsonlite_1.8.4    systemfonts_1.0.4
[37] fs_1.5.2          textshaping_0.3.6 gridExtra_2.3     ggplot2_3.4.0    
[41] digest_0.6.31     stringi_1.7.8     dplyr_1.0.10      grid_4.2.2       
[45] rprojroot_2.0.3   cli_3.5.0         tools_4.2.2       magrittr_2.0.3   
[49] sass_0.4.4        tibble_3.1.8      pkgconfig_2.0.3   assertthat_0.2.1 
[53] rmarkdown_2.19    R6_2.5.1          mclust_6.0.0      nlme_3.1-161     
[57] compiler_4.2.2   </code></pre>
</div>
<div class="section level3">
<h3 id="hardware-info">Hardware info<a class="anchor" aria-label="anchor" href="#hardware-info"></a>
</h3>
<pre><code>CPU model: AMD Ryzen 9 7950X 16-Core Processor</code></pre>
<pre><code>MemTotal:       64940452 kB</code></pre>
</div>
</div>
  </div>

  <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">

        <nav id="toc" data-toggle="toc"><h2 data-toc-skip>Contents</h2>
    </nav>
</div>

</div>



      <footer><div class="copyright">
  <p></p>
<p>Developed by Johannes Ranke.</p>
</div>

<div class="pkgdown">
  <p></p>
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
</div>

      </footer>
</div>

  


  

  </body>
</html>

Contact - Imprint