Lecture 3 2014 Statistical Data Treatment and Evaluation
Lecture 3 2014 Statistical Data Treatment and Evaluation
d Evaluation
Lecture 3
Confidence Intervals
Confidence level
We may assume that 90 times out of 100, true mean, , will be within
1.64 of any measurement that we make.
Confidence level is 90% and the confidence interval is z = 1.64
Single measurement:
CI for = z
n measurement:
CI for = z
Keep in mind at all times that
confidence interval based on the
above equation apply only in the
absence of bias and only if we can
assume that s
Confidence
Level, %
50.0
0.67
68.0
1.00
80.0
1.28
90.0
1.64
95.0
1.96
95.4
2.00
99.0
2.58
99.7
3.00
99.9
3.29
EXAMPLE A
CI for =
N.B. t z as the number of degree of freedom becomes infinite
Example of calculating a
confidence interval
Consider measurement of dissolved Ti in a standard seawater (NASS3):
Data: 1.34, 1.15, 1.28, 1.18, 1.33, 1.65, 1.48 nM
xDF = n 1 = 7 1 = 6
= 1.34 nM
s = 0.17
ts
80%
90%
95%
99%
99.9%
3.08
6.31
12.7
63.7
637
1.89
2.92
4.30
9.92
31.6
1.64
2.35
3.18
5.84
12.9
1.53
2.13
2.78
4.60
8.61
1.48
2.02
2.57
4.03
6.87
1.44
1.94
2.45
3.71
5.96
1.42
1.90
2.36
3.50
5.41
1.40
1.86
2.31
3.36
5.04
1.38
1.83
2.26
3.25
4.78
10
1.37
1.81
2.23
3.17
4.59
15
1.34
1.75
2.13
2.95
4.07
20
1.32
1.73
2.09
2.84
3.85
40
1.30
1.68
2.02
2.70
3.55
60
1.30
1.67
2.00
2.62
3.46
1.28
1.64
1.96
2.58
3.29
Null hypothesis
Hypothesis testing
Significance level
The significance level of a test is the probability that the test statistic wi
ll reject the null hypothesis when the hypothesis is true.
In hypothesis testing, the significance level is the criterion used for reje
cting the null hypothesis.
Firstly, the difference between the results of the experiment and the null hypothe
sis is determined.
Then, assuming the null hypothesis is true, the probability of a difference that lar
ge is computed.
Comparing an Experimental Me
an with the True Value
Bias affects all the data in the set in the same way and that it can be
either positive or negative.
- xt = t s / n
x 37.8%
xi 113.4
s
x x t 11%
.
xi2 4208.30
4208.30 (113.4) 2 3
0.943%
2
x xt ts
ts N 4.30 0.943
x xt 1.1%
x xt ts
3 2.342%
t calc
s pooled
x1 x 2
n1 n2
s pooled
n1 n2
s12 (n1 1) s 22 (n 2 1)
n1 n2 2
N.B.
x1
s1
n1
= 3.94 mg/g
= 0.07 mg/g
=4
x2
= 3.59 mg/g
s2
= 0.12 mg/g
n2 = 4
tcalc
x1 x2
n1 n2
s pooled
n1 n2
(0.073) 2 (4 1) (0.13) 2 (4 1)
442
3.94 3.59
0.0993
(4)( 4)
44
0.0993
5.056
How do you test to see if the two std. devs. are different?
10
12
20
19.00
19.16
19.25
19.30
19.33
19.40
19.41
19.45
19.50
9.55
9.28
9.12
9.01
8.94
8.79
8.74
8.66
8.53
6.94
6.59
6.39
6.26
6.16
5.96
5.91
5.80
5.63
5.79
5.41
5.19
5.05
4.95
4.74
4.68
4.56
4.36
5.14
4.76
4.53
4.39
4.28
4.06
4.00
3.87
3.67
10
4.10
3.71
3.48
3.33
3.22
2.98
2.91
2.77
2.54
12
3.89
3.49
3.26
3.11
3.00
2.75
2.69
2.54
2.30
20
3.49
3.10
2.87
2.71
2.60
2.35
2.28
2.12
1.84
3.00
2.60
2.37
2.21
2.10
1.83
1.75
1.57
1.00
Fcalc
s12
s22
(0.12) 2
(0.073) 2
2.70
tcalc
x1 x2
s12 / n1 s22 / n2
DF
( s / n1 s / n2 )
2
2
2
2
( s1 / n1 )
( s2 / n2 )
n1 1
n2 1
2
1
2
2
Note that the F-test can be used to simply test whether or not
two sets of data have statistically similar precisions or not.
Can be used to answer a question such as: Do method one a
nd method two provide similar precisions for the analysis of
the same analyte?
Type I error:
Type II error:
If a type I error is much more likely to have serious consequences than a type II
error, it is reasonable to choose a small value of .
On the other hand, in some situations a type II error would be quite serious, and
so a larger value of is employed to keep the type II error rate under control.
As a general rule of thumb, the largest that is tolerable for the situatio
n should be used
Next Class
Q Test
Laboratory Management