aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/mkinfit.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/mkinfit.html')
-rw-r--r--docs/reference/mkinfit.html22
1 files changed, 4 insertions, 18 deletions
diff --git a/docs/reference/mkinfit.html b/docs/reference/mkinfit.html
index 4fb5ef9a..10052053 100644
--- a/docs/reference/mkinfit.html
+++ b/docs/reference/mkinfit.html
@@ -27,20 +27,6 @@
<script src="../pkgdown.js"></script>
-<meta property="og:title" content="Fit a kinetic model to data with one or more state variables — mkinfit" />
-
-<meta property="og:description" content="This function uses the Flexible Modelling Environment package
- FME to create a function calculating the model cost, i.e. the
- deviation between the kinetic model and the observed data. This model cost is
- then minimised using the Port algorithm nlminb,
- using the specified initial or fixed parameters and starting values.
- Per default, parameters in the kinetic models are internally transformed in order
- to better satisfy the assumption of a normal distribution of their estimators.
- In each step of the optimsation, the kinetic model is solved using the
- function mkinpredict. The variance of the residuals for each
- observed variable can optionally be iteratively reweighted until convergence
- using the argument reweight.method = "obs"." />
-<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
@@ -414,15 +400,15 @@
<span class='no'>fit</span> <span class='kw'>&lt;-</span> <span class='fu'>mkinfit</span>(<span class='st'>"FOMC"</span>, <span class='no'>FOCUS_2006_C</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'>summary</span>(<span class='no'>fit</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.47.1
#&gt; R version used for fitting: 3.4.3
-#&gt; Date of fit: Thu Mar 1 14:26:18 2018
-#&gt; Date of summary: Thu Mar 1 14:26:18 2018
+#&gt; Date of fit: Fri Mar 9 23:08:20 2018
+#&gt; Date of summary: Fri Mar 9 23:08:20 2018
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent
#&gt;
#&gt; Model predictions using solution type analytical
#&gt;
-#&gt; Fitted with method Port using 64 model solutions performed in 0.135 s
+#&gt; Fitted with method Port using 64 model solutions performed in 0.148 s
#&gt;
#&gt; Weighting: none
#&gt;
@@ -491,7 +477,7 @@
<span class='kw'>m1</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"SFO"</span>))</div><div class='output co'>#&gt; <span class='message'>Successfully compiled differential equation model from auto-generated C code.</span></div><div class='input'><span class='co'># Fit the model to the FOCUS example dataset D using defaults</span>
<span class='fu'>print</span>(<span class='fu'>system.time</span>(<span class='no'>fit</span> <span class='kw'>&lt;-</span> <span class='fu'>mkinfit</span>(<span class='no'>SFO_SFO</span>, <span class='no'>FOCUS_2006_D</span>,
<span class='kw'>solution_type</span> <span class='kw'>=</span> <span class='st'>"eigen"</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)))</div><div class='output co'>#&gt; user system elapsed
-#&gt; 0.84 0.00 0.84 </div><div class='input'><span class='fu'>coef</span>(<span class='no'>fit</span>)</div><div class='output co'>#&gt; parent_0 log_k_parent_sink log_k_parent_m1 log_k_m1_sink
+#&gt; 0.839 0.000 0.840 </div><div class='input'><span class='fu'>coef</span>(<span class='no'>fit</span>)</div><div class='output co'>#&gt; parent_0 log_k_parent_sink log_k_parent_m1 log_k_m1_sink
#&gt; 99.59848 -3.03822 -2.98030 -5.24750 </div><div class='input'><span class='fu'><a href='endpoints.html'>endpoints</a></span>(<span class='no'>fit</span>)</div><div class='output co'>#&gt; $ff
#&gt; parent_sink parent_m1 m1_sink
#&gt; 0.485524 0.514476 1.000000

Contact - Imprint