Professional Documents
Culture Documents
1
Statistical Hypothesis Testing
2
Statistical Hypothesis Testing
3
Statistical Hypothesis Testing
4
Statistical Hypothesis Testing
5
Statistical Hypothesis Testing
6
Statistical Hypothesis Testing
7
Statistical Hypothesis Testing
2. The difference –0 that can be tolerated for accepting the hypothesis H0
is related to the level of significance «α» for which the test is performed.
Once the value of α is chosen, the sampling distribution of the statistic b
drawn with the mean 0 is divided into the regions of acceptance and
rejection. The acceptance region is near the value 0. The rejection region,
with an area equal to α (the probability of the statistic to be in this critical
region) is farther from 0. This region is either on one tail, or on both tails
of the sampling distribution, depending upon the type of the alternate
hypothesis H1.
8
Statistical Hypothesis Testing
I. Two–tailed test
9
Statistical Hypothesis Testing
II. One–tailed test
If the hypothesis H0:=0 is to be checked against the hypothesis H1, then the
null hypothesis will be rejected only when the observed value of b is H1:>0
(or <0), much larger (or much smaller). Therefore the critical (rejection)
region is on the right (left) tail of the sampling distribution. It is to the right of
the value of the statistic with the exceedance probability of (or to the left
of the value of the statistic with the exceedance probability of 1–). If the
observed value of the statistic lies in this region of rejection the null
hypothesis is rejected (the alternate hypothesis H1 is accepted), otherwise H0
is accepted.
10
Statistical Hypothesis Testing
11
Statistical Hypothesis Testing
It is seen that two kinds of errors may exist in the decisions made in
hypothesis testing. Type I error corresponds to the rejection of the null
hypothesis when it is in fact true. Type II error is made when we accept the
null hypothesis although it is in fact false.
13
Applications
In the test the result may differ according to the selected level of
significance. In practice the value of α is usually taken as 0.05 or 0.10. Such a
standard value of the significant level facilitates the transmission of
information. The reduction of the value of α decreases the probability that
an error is made (error type I) when the null hypothesis is rejected but
increases the probability of error type II.
14
Example 1
15
Example 2
16
Example 2
17
Example 2
18
Example 3
19
Example 4
20
Other Applications of t-test
t-test can also be applied for comparing the data of two different groups and for
identifying whether there’s a statistically significant difference or not between
them. Two tests are used for this purpose.
1. Comparison test
2. Paired t - test
21
Comparison Test
- To compare the durability of products from two factories which have the same
type of manufacture.
22
Comparison Test
23
Comparison Test
24
Comparison Test
25
Comparison Test
4) Comparison is done
H0 is accepted
H0 is rejected
26
Comparison Test
27
Example 5
28
Example 5
Fuel A
Fuel B
29
Example 5
30
Paired t-Test
There’s a dependency between the data in cases where paired t-test is applied.
Twinning test is applied generally to the data from three cases.
Before starting the test, the differences of the pairs (first measurement-second
measurement, right side-left side, first child-second child of twins) are taken,
and then average 𝑥𝑓ҧ and variance (𝑆𝑓2 ) of the differences are calculated.
32
Paired t-Test
33
Paired t-Test
34
Paired t-Test
35
Paired t-Test
4) Comparison is done
H0 is accepted
H0 is rejected
36
Paired t-Test
37
Example 6
38
Example 6
σ 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑐𝑒𝑠 (3 + 2 + (−5) ⋯ + 2) 10
𝑥𝑓ҧ = = = =1
𝑛 10 10
(𝑥𝑖 −𝑥𝑓ҧ )2
𝑆𝑓2 = = 6.67
𝑛−1
39
Example 6