Chapter 8 - Estimation and Hypothesis Testing For Two Population Parameters
Chapter 8 - Estimation and Hypothesis Testing For Two Population Parameters
Population
p means,, Assumptions:
p Population
p means,,
independent Samples are randomly and independent Forming interval
samples independently drawn samples estimates:
both sample
p sizes use sample standard
σ1 and σ2 known σ1 and σ2 known deviation s to estimate σ
are ≥ 30
σ1 andd σ2 unknown,
k
n1 and n2 ≥ 30
* Population standard
deviations are unknown.
σ1 andd σ2 unknown,
k
n1 and n2 ≥ 30
* the
th ttestt statistic
t ti ti is
i a z value.
l
Population
p means,, Population
p means,, Assumptions:
independent Th confidence
The fid iinterval
t l ffor independent
samples μ1 – μ2 is: samples populations are normally
di t ib t d
distributed
σ1 and σ2 unknown,
n1 or n2 < 30
σ1 and σ2 unknown,
n1 or n2 < 30
*
11 of 44 12 of 44
σ1 and σ2 unknown, small samples
(continued)
σ1 and σ2 unknown, small samples
(continued)
Population
p means,, Forming interval Population
p means,,
independent estimates: independent
samples samples
The pooled standard
Th
The population
l ti variances
i deviation is:
are assumed equal, so use
σ1 and σ2 known the two sample standard σ1 and σ2 known
deviations and pool them to
sp =
(n1 − 1)s12 + (n2 − 1)s2 2
estimate σ
σ1 andd σ2 unknown,
k σ1 andd σ2 unknown,
k n1 + n2 − 2
n1 and n2 ≥ 30 n1 and n2 ≥ 30
the test statistic is a t value
σ1 and σ2 unknown,
n1 or n2 < 30
* with (n1 + n2 – 2) degrees
of freedom.
freedom
σ1 and σ2 unknown,
n1 or n2 < 30
*
13 of 44 14 of 44
σ1 and σ2 known (x 1 )
− x 2 ± t α/2 sp
1 1
+
n1 n2
d = x1 - x2
Eliminates Variation Among Subjects
σ1 andd σ2 unknown,
k
n1 and n2 ≥ 30 Assumptions:
Where tα/2 has (n1 + n2 – 2) d.o.f., and:
Both populations are normally distributed
σ1 and σ2 unknown,
n1 or n2 < 30
* sp =
(n1 − 1)s12 + (n2 − 1)s2 2
n1 + n2 − 2
Or, if not normal, use large samples.
15 of 44 16 of 44
Paired Differences Paired Differences
((continued))
The ith paired difference is di , where:
Paired
P i d Paired
P i d The confidence interval for d is:
di = x1i - x2i
samples samples
n sd
The point estimate for
∑ di d ± t α/2
the population mean
paired difference is d :
d = i=1
i= n
n
n
∑(d − d)
n
The sample standard Where tα/2 has 2
d i ti iis:
deviation ∑ (d − d) i
2
sd = i=1 sd = i=1
n −1 n −1
n is the number of pairs in the paired sample. n is the number of pairs in the paired sample.
17 of 44 18 of 44
19 of 44 20 of 44
Hypothesis tests for μ1 – μ2 σ1 and σ2 known
Population means, independent samples
Population
p means,,
independent Th ttestt statistic
The t ti ti for
f
σ1 and σ2 known Use a z test statistic samples μ1 – μ2 is:
Use s to estimate unknown
σ1 and σ2 unknown,
unknown
n1 and n2 ≥ 30
σ , approximate with a z
test statistic
σ1 and σ2 known * z=
(x 1 )
− x 2 − ( μ1 − μ2 )
2 2
σ1 andd σ2 unknown,
k σ1 σ 2
σ1 and σ2 unknown,
n1 or n2 < 30
Use s to estimate unknown
n1 and n2 ≥ 30 +
σ , use a t test statistic and n1 n2
pooled standard deviation
σ1 and σ2 unknown,
n1 or n2 < 30
21 of 44 22 of 44
25 of 44 26 of 44
z=
(x 1 )
− x 2 − (μ1 − μ2 ) (3.27 − 2.53 ) − 0
= = 2.040
HA: μ1 - μ2 ≠ 0 ii.e. ((μ1 ≠ μ2)
α = 0.05 .025 .025
29 of 44 30 of 44
z=
(p 1 )
− p 2 − ( p1 − p 2 )
α α α/2 α/2
⎛1 1⎞
p (1 − p) ⎜⎜ + ⎟⎟
⎝ n1 n2 ⎠ -zα zα -zα/2 zα/2
Reject
j H0 if z < -zα Reject
j H0 if z > zα Reject
j H0 if z < -zα/2
or z > zα/2
37 of 44 38 of 44
Example: Example:
Two population Proportions Two population Proportions ((continued))
=
( .50 − .62 ) − ( 0 ) = − 1.31 If the population variances are unknown, use sample variances.
⎛ 1 1 ⎞ Decision: Do not reject
j H0
.549 (1 − .549) ⎜ + ⎟
⎝ 72 50 ⎠ Conclusion: There is not For paired samples (t test):
significant
i ifi t evidence
id off a – Tools | data analysis… | t-test: paired two sample for means.
Critical Values = ±1.96
For α = .05 difference in proportions
who will vote “yes” between
men and women. 41 of 44 42 of 44
Chapter Summary
Compared two independent samples
Formed confidence intervals for the differences between two
means
Performed Z test for the differences in two means
Performed t test for the differences in two means
Thank You
Compared two related samples (paired samples)
Formed confidence intervals for the paired difference
Performed paired sample t tests for the mean difference
Compared two population proportions
Formed confidence intervals for the difference between two
population proportions
Performed Z-test for two p
population
p p
proportions.
p
43 of 44 44 of 44