diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2018-07-16 17:17:26 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2018-07-16 17:17:26 +0200 |
commit | e636c17f0d354a8e74546fc1469431dbe502dc76 (patch) | |
tree | cb8420a0fef18d1fcab522146119ef35291fd495 /vignettes | |
parent | e6237f287f68423dcca9f475bb81dd9c6f3740b1 (diff) |
Attempt to fix the problem discovered by Anna Burniol Figols
but then the tests fail...
Diffstat (limited to 'vignettes')
-rw-r--r-- | vignettes/chemCal.Rmd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vignettes/chemCal.Rmd b/vignettes/chemCal.Rmd index cea1678..2515abb 100644 --- a/vignettes/chemCal.Rmd +++ b/vignettes/chemCal.Rmd @@ -107,9 +107,9 @@ with s_e = \sqrt{ \frac{\sum w_i (y_i - \hat{y_i})^2}{n - 2}} \end{equation} -where $w_i$ is the weight for calibration standard $i$, $y_i$ is the mean $y$ -value (!) observed for standard $i$, $\hat{y_i}$ is the estimated value for -standard $i$, $n$ is the number calibration standards, $w_s$ is the weight +where $w_i$ is the weight for calibration standard $i$, $y_i$ is the $y$ +value observed for standard $i$, $\hat{y_i}$ is the estimated value for +standard $i$, $n$ is the number of calibration samples, $w_s$ is the weight attributed to the sample $s$, $m$ is the number of replicate measurements of sample $s$, $\bar{y_s}$ is the mean response for the sample, $\bar{y_w} = \frac{\sum{w_i y_i}}{\sum{w_i}}$ is the weighted mean of responses |