aboutsummaryrefslogtreecommitdiff
path: root/man/synthetic_data_for_UBA.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-05-21 08:54:16 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2019-05-21 08:54:16 +0200
commit84abde72967691d82bbad66eeff4d1ab161530dd (patch)
treec3cfbdaa8b5f35f733d43a50316cade40cdc0b05 /man/synthetic_data_for_UBA.Rd
parent203364b072697ac154b25569bd9c1a7ba487c9d5 (diff)
Clarify the relation of the two-component error model
in relation to the original version by Rocke and Lorenzato
Diffstat (limited to 'man/synthetic_data_for_UBA.Rd')
-rw-r--r--man/synthetic_data_for_UBA.Rd5
1 files changed, 3 insertions, 2 deletions
diff --git a/man/synthetic_data_for_UBA.Rd b/man/synthetic_data_for_UBA.Rd
index f9d3c77b..e910297d 100644
--- a/man/synthetic_data_for_UBA.Rd
+++ b/man/synthetic_data_for_UBA.Rd
@@ -14,7 +14,7 @@
Variance component 'c' is based on the error model from Rocke and Lorenzato (1995), with the
minimum standard deviation (for small y values) of 0.5, and a proportionality constant of 0.07
for the increase of the standard deviation with y. Note that this is a simplified version
- of the error model proposed by Rocke and Lorenzato (1995), as in their model the error of the
+ of the error model proposed by Rocke and Lorenzato (1995), as in their model the error of the
measured values approximates lognormal distribution for high values, whereas we are using
normally distributed error components all along.
@@ -116,7 +116,8 @@ add_err = function(d, sdfunc, LOD = 0.1, reps = 2, seed = 123456789)
return(d_NA)
}
-# The following is the two-component model of Rocke and Lorenzato (1995)
+# The following is the simplified version of the two-component model of Rocke
+# and Lorenzato (1995)
sdfunc_twocomp = function(value, sd_low, rsd_high) {
sqrt(sd_low^2 + value^2 * rsd_high^2)
}

Contact - Imprint