Two-Sample Test of
Hypothesis
Tutorial - I
Jun Akizaki
The Power of PowerPoint – [Link]
Outline
Inference Concerning the
Difference between Two
Proprotions
Inference Concerning
Inference
Mean Differences
Matched-pairs sampling
03
02
Concerning the
Difference between Two
Means
Independent random samples
01
The Power of PowerPoint |
[Link]
2
Inference Concerning
the Difference between
Two means
Definitio
n Two (or more) random samples are considered
independent if the process that generates one
sample is completely separate from the process
that generates the other sample
The Power of PowerPoint |
[Link]
4
Confidence interval
Point estimate ± Margin of error
If the population
variances are known
If the population variances are unknown
(assumed equal)
If the population variances are unknown (can’t
be assumed equal
The Power of PowerPoint |
[Link]
5
Example 1.1
The Power of PowerPoint |
[Link]
6
Hypothesis Test
The Power of PowerPoint |
[Link]
7
Example 1.2
The Power of PowerPoint |
[Link]
8
The Test Statistic
If variances are
known
If variances are
unknown (assumed
equal)
If variances are
unknown (can’t be
assumed equal)
The Power of PowerPoint |
[Link]
9
Example 1.3
The Power of PowerPoint |
[Link]
10
Inference Concerning
Mean Differences
Definitio
n Dependent sampling – the samples are paired or matched when:
• Characterized by a measurement (before and after)
• Characterized by a pairing of observations
The Power of PowerPoint |
[Link]
12
Confidence interval
d bar – mean
D = X1 bar – X2 bar
Df = n - 1
The Power of PowerPoint |
[Link]
13
Hypothesis Test
The Power of PowerPoint |
[Link]
14
The Test Statistics
The Power of PowerPoint |
[Link]
15
Example 1.4
The Power of PowerPoint |
[Link]
16
Inference Concerning the
Difference between Two
Proprotions
Confidence interval
The Power of PowerPoint |
[Link]
18
Example 1.5
The Power of PowerPoint |
[Link]
19
Hypothesis Test
The Power of PowerPoint |
[Link]
20
The Test Statistics
If the hypothesized
difference is zero
If the hypothesized
difference is not zero
The Power of PowerPoint |
[Link]
21
Example 1.6
The Power of PowerPoint |
[Link]
22
The Power of PowerPoint |
[Link]
23
Exercise
The Power of PowerPoint |
[Link]
24