Professional Documents
Culture Documents
Chap 11
Chap 11
Chapter 11
Hypothesis Testing II
Chapter Goals
After completing this chapter, you should be able to:
■ Test hypotheses for the difference between two population means
■ Two means, matched pairs
■ Independent populations, population variances known
■ Independent populations, population variances unknown but
equal
■ Complete a hypothesis test for the difference between two
proportions (large samples)
■ Use the chi-square distribution for tests of the variance of a normal
distribution
■ Use the F table to find critical F values
Statistics for Business and
■ Complete an F test for the equality of two variances
Economics, 6e © 2007 Pearson
Education, Inc. 2
Two Sample Tests
Population Population
Means, Means, Population Population
Matched Independent Proportions Variances
Pairs Samples
Examples:
Same group Group 1 vs. Proportion 1 vs. Variance 1 vs.
before vs. after independent Proportion 2 Variance 2
treatment Group 2
Statistics for Business and
Economics, 6e © 2007 Pearson
(Note similarities to Chapter 9)
Education, Inc. 3
Matched Pairs
Tests Means of 2 Related Populations
Matched ■ Paired or matched samples
■ Repeated measures (before/after)
Pairs
■ Use difference between paired values:
di = xi - yi
■ Assumptions:
■ Both Populations Are Normally Distributed
Where
D0 = hypothesized mean difference
sd = sample standard dev. of differences
n = the sample size (number of pairs)
5
Decision Rules: Matched Pairs
Paired Samples
Lower-tail test: Upper-tail test: Two-tail test:
H0: μx – μy ≥ 0 H0: μx – μy ≤ 0 H0: μx – μy = 0
H1: μx – μy < 0 H1: μx – μy > 0 H1: μx – μy ≠ 0
α α α/2 α/2
Population means,
independent
samples
Population means,
independent The test statistic for
samples μx – μy is:
α α α/2 α/2
Population means,
Forming interval estimates:
independent
samples ▪ The population variances are
assumed unequal, so a pooled
variance is not appropriate
σx2 and σy2 known
▪ use a t value with ν degrees
σx2 and σy2 unknown of freedom, where
21
Decision Rules
Two Population Means, Independent
Samples, Variances Unknown
Lower-tail test: Upper-tail test: Two-tail test:
H0: μx – μy ≥ 0 H0: μx – μy ≤ 0 H0: μx – μy = 0
H1: μx – μy < 0 H1: μx – μy > 0 H1: μx – μy ≠ 0
α α α/2 α/2
Assumptions:
Both sample sizes are large,
nP(1 – P) > 9
α α α/2 α/2
31
Example:
Two Population Proportions
(continued)
Reject H0 Reject H0
-1.96 1.96
-1.31
α α α/2 α/2
F test statistic
Has an F distribution with (nx – 1)
numerator degrees of freedom and (ny
– 1) denominator degrees of freedom
F test statistic
0 0 F
Do not
reject H0
Reject H0 F Do not
reject H0
Reject H0
α/2 = .05
Do not
F
Reject H0
reject H0
■ F = 1.256 is not in the
rejection region, so we do not
reject H0
■ Conclusion: There is not sufficient evidence
Statistics for Business
of a difference and
in variances at α = .10
Economics, 6e © 2007 Pearson
Education, Inc. 42
Two-Sample Tests in EXCEL
For variances…
■ F test for two variances:
■ Tools | data analysis | F-test: two sample for variances
Statistics for Business and
Economics, 6e © 2007 Pearson
Education, Inc. 43
Two-Sample Tests in PHStat
Input
Output
Input
Output