aboutsummaryrefslogtreecommitdiff
path: root/vignettes
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2014-10-14 20:36:36 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2014-10-14 20:36:36 +0200
commit63e0ce4866e63cc6a844bfcb7b98c98619dd2831 (patch)
tree2a65a3fe168fa59e855c1ef683a23724d6c90e61 /vignettes
parenta0e726414530f1cfc971f8381a2cfd8313326092 (diff)
Add a note about transforming fractions
Diffstat (limited to 'vignettes')
-rw-r--r--vignettes/gmkin_manual.Rmd8
-rw-r--r--vignettes/gmkin_manual.html3
2 files changed, 9 insertions, 2 deletions
diff --git a/vignettes/gmkin_manual.Rmd b/vignettes/gmkin_manual.Rmd
index 8dd4c54..39669e8 100644
--- a/vignettes/gmkin_manual.Rmd
+++ b/vignettes/gmkin_manual.Rmd
@@ -282,7 +282,8 @@ plot of the model and the data using the specified initial parameter values.
If a similar model with a partially overlapping model definition has already be fitted,
initial values for parameters with the same name in both models can also be retrieved
-from previous fits. This facilitates stepwise fitting of more complex degradation pathways.
+from previous fits by selecting the fit and pressing the button "Get initials
+from". This facilitates stepwise fitting of more complex degradation pathways.
After the model has been successfully fitted by pressing the "Run" button, the optimised
parameter values are added to the parameter table.
@@ -310,6 +311,11 @@ as defined in the model, or if they are internally transformed during the fittin
order to improve the estimation of standard errors and confidence intervals which are based
on a linear approximation at the optimum found by the fitting algorithm.
+If fitting with transformed fractions leads to a suboptimal fit, doing a first
+run without transforming fractions may help. A final run using the optimised
+parameters from the previous run as starting values (see comment on "Get
+initials from" above) can then be performed with transformed fractions.
+
The dropdown box "weight" specifies if and how the observed values should be weighted
in the fitting process. If "manual" is chosen, the values in the "err" column of the
dataset are used, which are set to unity by default. Setting these to higher values
diff --git a/vignettes/gmkin_manual.html b/vignettes/gmkin_manual.html
index 63ed263..cd66327 100644
--- a/vignettes/gmkin_manual.html
+++ b/vignettes/gmkin_manual.html
@@ -182,7 +182,7 @@ if (window.hljs && document.readyState && document.readyState === "complete") {
<h3>Parameters</h3>
<p>In the right hand area, initially the tab with the parameter list is displayed. While name and type of the parameters should not be edited, their initial values can be edited by clicking on a row. Also, it can be specified if the parameters should be fixed in the optimisation process.</p>
<p>If the initial values for the parameters were changed, the resulting model solution can be visually checked by pressing the button “Show initial”. This will update the plot of the model and the data using the specified initial parameter values.</p>
-<p>If a similar model with a partially overlapping model definition has already be fitted, initial values for parameters with the same name in both models can also be retrieved from previous fits. This facilitates stepwise fitting of more complex degradation pathways.</p>
+<p>If a similar model with a partially overlapping model definition has already be fitted, initial values for parameters with the same name in both models can also be retrieved from previous fits by selecting the fit and pressing the button “Get initials from”. This facilitates stepwise fitting of more complex degradation pathways.</p>
<p>After the model has been successfully fitted by pressing the “Run” button, the optimised parameter values are added to the parameter table.</p>
</div>
<div id="fit-options" class="section level3">
@@ -192,6 +192,7 @@ if (window.hljs && document.readyState && document.readyState === "complete") {
<p>The “solution_type” can either be “auto”, which means that the most effective solution method is chosen for the model, in the order of “analytical” (for parent only degradation data), “eigen” (for differential equation models with only linear terms, i.e. without FOMC, DFOP or HS submodels) or “deSolve”, which can handle all model definitions generated by the <code>mkin</code> package.</p>
<p>The parameters “atol” and “rtol” are only effective if the solution type is “deSolve”. They control the precision of the iterative numerical solution of the differential equation model.</p>
<p>The checkboxes “transform_rates” and “transform_fractions” control if the parameters are fitted as defined in the model, or if they are internally transformed during the fitting process in order to improve the estimation of standard errors and confidence intervals which are based on a linear approximation at the optimum found by the fitting algorithm.</p>
+<p>If fitting with transformed fractions leads to a suboptimal fit, doing a first run without transforming fractions may help. A final run using the optimised parameters from the previous run as starting values (see comment on “Get initials from” above) can then be performed with transformed fractions.</p>
<p>The dropdown box “weight” specifies if and how the observed values should be weighted in the fitting process. If “manual” is chosen, the values in the “err” column of the dataset are used, which are set to unity by default. Setting these to higher values gives lower weight and vice versa. If “none” is chosen, observed values are not weighted. Please refer to the documentation of the <code>modFit</code> function from the <code>FME</code> package for the meaning of options “std” and “mean”.</p>
<p>The options “reweight.method”, “reweight.tol” and “reweight.max.iter” enable the use of iteratively reweighted least squares fitting, if the reweighting method is set to “obs”. Please refer to the <code>mkinfit</code> <a href="http://kinfit.r-forge.r-project.org/mkin_static/mkinfit.html">documentation</a> for more details.</p>
<p>The drop down box “method.modFit” makes it possible to choose between the optimisation algorithms “Marq” (the default Levenberg-Marquardt implementation from the R package <code>minpack.lm</code>), “Port” (an alternative, also local optimisation algorithm) and “SANN” (the simulated annealing method - robust but inefficient and without a convergence criterion).</p>

Contact - Imprint