SlideShare a Scribd company logo
1 of 42
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Statistics for
Business and Economics
7th Edition
Chapter 10
Hypothesis Testing:
Additional Topics
Ch. 10-1
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
 Complete an F test for the equality of two variances
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 10-2
Two Sample Tests
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Two Sample Tests
Population
Means,
Independent
Samples
Population
Means,
Dependent
Samples
Population
Variances
Group 1 vs.
independent
Group 2
Same group
before vs. after
treatment
Variance 1 vs.
Variance 2
Examples:
Population
Proportions
Proportion 1 vs.
Proportion 2
Ch. 10-3
Dependent Samples
Tests Means of 2 Related Populations
 Paired or matched samples
 Repeated measures (before/after)
 Use difference between paired values:
 Assumptions:
 Both Populations Are Normally Distributed
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Dependent
Samples
di = xi - yi
Ch. 10-4
10.1
Test Statistic:
Dependent Samples
The test statistic for the mean
difference is a t value, with
n – 1 degrees of freedom:
where
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
n
s
Dd
t
d
0

D0 = hypothesized mean difference
sd = sample standard dev. of differences
n = the sample size (number of pairs)
Dependent
Samples
Ch. 10-5
yx
n
d
d i


Decision Rules: Matched Pairs
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Lower-tail test:
H0: μx – μy  0
H1: μx – μy < 0
Upper-tail test:
H0: μx – μy ≤ 0
H1: μx – μy > 0
Two-tail test:
H0: μx – μy = 0
H1: μx – μy ≠ 0
Matched or Paired Samples
a a/2 a/2a
-ta -ta/2ta ta/2
Reject H0 if t < -tn-1, a Reject H0 if t > tn-1, a Reject H0 if t < -tn-1 , a/2
or t > tn-1 , a/2
Where
n
s
Dd
t
d
0

has n - 1 d.f.
Ch. 10-6
 Assume you send your salespeople to a “customer
service” training workshop. Has the training made a
difference in the number of complaints? You collect
the following data:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Matched Pairs Example
Number of Complaints: (2) - (1)
Salesperson Before (1) After (2) Difference, di
C.B. 6 4 - 2
T.F. 20 6 -14
M.H. 3 2 - 1
R.K. 0 0 0
M.O. 4 0 - 4
-21
d =
 di
n
5.67
1n
)d(d
S
2
i
d





= - 4.2
Ch. 10-7
 Has the training made a difference in the number of
complaints (at the a = 0.05 level)?
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
- 4.2d =
1.66
55.67/
04.2
n/s
Dd
t
d
0





H0: μx – μy = 0
H1: μx – μy  0
Test Statistic:
Critical Value = ± 2.776
d.f. = n − 1 = 4
Reject
a/2
- 2.776 2.776
Decision: Do not reject H0
(t stat is not in the reject region)
Conclusion: There is not a
significant change in the
number of complaints.
Matched Pairs: Solution
Reject
a/2
- 1.66
a = .05
Ch. 10-8
Difference Between Two Means
 Different populations
 Unrelated
 Independent
 Sample selected from one population has no effect on the
sample selected from the other population
 Normally distributed
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
Goal: Form a confidence interval
for the difference between two
population means, μx – μy
Ch. 10-9
10.2
Difference Between Two Means
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
Test statistic is a z value
Test statistic is a a value from the
Student’s t distribution
σx
2 and σy
2
assumed equal
σx
2 and σy
2 known
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
(continued)
Ch. 10-10
σx
2 and σy
2 Known
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
Assumptions:
 Samples are randomly and
independently drawn
 both population distributions
are normal
 Population variances are
known
*σx
2 and σy
2 known
σx
2 and σy
2 unknown
Ch. 10-11
σx
2 and σy
2 Known
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
…and the random variable
has a standard normal distribution
When σx
2 and σy
2 are known and
both populations are normal, the
variance of X – Y is
y
2
y
x
2
x2
YX
n
σ
n
σ
σ 
(continued)
*
Y
2
y
X
2
x
YX
n
σ
n
σ
)μ(μ)yx(
Z



σx
2 and σy
2 known
σx
2 and σy
2 unknown
Ch. 10-12
Test Statistic,
σx
2 and σy
2 Known
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
*σx
2 and σy
2 known
σx
2 and σy
2 unknown  
y
2
y
x
2
x
0
n
σ
n
σ
Dyx
z



The test statistic for
μx – μy is:
Ch. 10-13
0yx0 Dμμ:H 
Hypothesis Tests for
Two Population Means
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Lower-tail test:
H0: μx  μy
H1: μx < μy
i.e.,
H0: μx – μy  0
H1: μx – μy < 0
Upper-tail test:
H0: μx ≤ μy
H1: μx > μy
i.e.,
H0: μx – μy ≤ 0
H1: μx – μy > 0
Two-tail test:
H0: μx = μy
H1: μx ≠ μy
i.e.,
H0: μx – μy = 0
H1: μx – μy ≠ 0
Two Population Means, Independent Samples
Ch. 10-14
Decision Rules
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Two Population Means, Independent
Samples, Variances Known
Lower-tail test:
H0: μx – μy  0
H1: μx – μy < 0
Upper-tail test:
H0: μx – μy ≤ 0
H1: μx – μy > 0
Two-tail test:
H0: μx – μy = 0
H1: μx – μy ≠ 0
a a/2 a/2a
-za -za/2za za/2
Reject H0 if z < -za Reject H0 if z > za Reject H0 if z < -za/2
or z > za/2
Ch. 10-15
σx
2 and σy
2 Unknown,
Assumed Equal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
Assumptions:
 Samples are randomly and
independently drawn
 Populations are normally
distributed
 Population variances are
unknown but assumed equal
*σx
2 and σy
2
assumed equal
σx
2 and σy
2 known
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
Ch. 10-16
σx
2 and σy
2 Unknown,
Assumed Equal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
(continued)
 The population variances
are assumed equal, so use
the two sample standard
deviations and pool them to
estimate σ
 use a t value with
(nx + ny – 2) degrees of
freedom*σx
2 and σy
2
assumed equal
σx
2 and σy
2 known
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
Ch. 10-17
Test Statistic,
σx
2 and σy
2 Unknown, Equal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
*σx
2 and σy
2
assumed equal
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
2nn
1)s(n1)s(n
s
yx
2
yy
2
xx2
p



Where t has (n1 + n2 – 2) d.f.,
and
   
y
2
p
x
2
p
yx
n
s
n
s
μμyx
t



The test statistic for
μx – μy is:
Ch. 10-18
Decision Rules
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Lower-tail test:
H0: μx – μy  0
H1: μx – μy < 0
Upper-tail test:
H0: μx – μy ≤ 0
H1: μx – μy > 0
Two-tail test:
H0: μx – μy = 0
H1: μx – μy ≠ 0
a a/2 a/2a
-ta -ta/2ta ta/2
Reject H0 if
t < -t (n1+n2 – 2), a
Reject H0 if
t > t (n1+n2 – 2), a
Reject H0 if
t < -t (n1+n2 – 2), a/2 or
t > t (n1+n2 – 2), a/2
Two Population Means, Independent
Samples, Variances Unknown
Ch. 10-19
Pooled Variance t Test: Example
You are a financial analyst for a brokerage firm. Is there
a difference in dividend yield between stocks listed on the
NYSE & NASDAQ? You collect the following data:
NYSE NASDAQ
Number 21 25
Sample mean 3.27 2.53
Sample std dev 1.30 1.16
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Assuming both populations are
approximately normal with
equal variances, is
there a difference in average
yield (a = 0.05)?
Ch. 10-20
Calculating the Test Statistic
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
        1.5021
1)25(1)-(21
1.161251.30121
1)n()1(n
S1nS1n
S
22
21
2
22
2
112
p 






      2.040
25
1
21
1
5021.1
02.533.27
n
1
n
1
S
μμXX
t
21
2
p
2121



















The test statistic is:
Ch. 10-21
Solution
H0: μ1 - μ2 = 0 i.e. (μ1 = μ2)
H1: μ1 - μ2 ≠ 0 i.e. (μ1 ≠ μ2)
a = 0.05
df = 21 + 25 − 2 = 44
Critical Values: t = ± 2.0154
Test Statistic:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Decision:
Conclusion:
Reject H0 at a = 0.05
There is evidence of a
difference in means.
t0 2.0154-2.0154
.025
Reject H0 Reject H0
.025
2.040
2.040
25
1
21
1
5021.1
2.533.27
t 









Ch. 10-22
σx
2 and σy
2 Unknown,
Assumed Unequal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
Assumptions:
 Samples are randomly and
independently drawn
 Populations are normally
distributed
 Population variances are
unknown and assumed
unequal
*
σx
2 and σy
2
assumed equal
σx
2 and σy
2 known
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
Ch. 10-23
σx
2 and σy
2 Unknown,
Assumed Unequal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
(continued)
Forming interval estimates:
 The population variances are
assumed unequal, so a pooled
variance is not appropriate
 use a t value with  degrees
of freedom, where
σx
2 and σy
2 known
σx
2 and σy
2 unknown
*
σx
2 and σy
2
assumed equal
σx
2 and σy
2
assumed unequal
1)/(n
n
s
1)/(n
n
s
)
n
s
()
n
s
(
y
2
y
2
y
x
2
x
2
x
2
y
2
y
x
2
x
























v
Ch. 10-24
Test Statistic,
σx
2 and σy
2 Unknown, Unequal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
*
σx
2 and σy
2
assumed equal
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
1)/(n
n
s
1)/(n
n
s
)
n
s
()
n
s
(
y
2
y
2
y
x
2
x
2
x
2
y
2
y
x
2
x
























vWhere t has  degrees of freedom:
The test statistic for
μx – μy is:
Y
2
y
X
2
x
0
n
s
n
s
D)yx(
t



Ch. 10-25
Two Population Proportions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Goal: Test hypotheses for the
difference between two population
proportions, Px – Py
Population
proportions
Assumptions:
Both sample sizes are large,
nP(1 – P) > 5
Ch. 10-26
10.3
Two Population Proportions
 The random variable
is approximately normally distributed
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population
proportions
(continued)
y
yy
x
xx
yxyx
n
)p(1p
n
)p(1p
)p(p)pp(
Z
ˆˆˆˆ
ˆˆ





Ch. 10-27
Test Statistic for
Two Population Proportions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population
proportions
The test statistic for
H0: Px – Py = 0
is a z value:
 
y
00
x
00
yx
n
)p(1p
n
)p(1p
pp
z
ˆˆˆˆ
ˆˆ





yx
yyxx
0
nn
pnpn
p



ˆˆ
ˆWhere
Ch. 10-28
Decision Rules: Proportions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population proportions
Lower-tail test:
H0: Px – Py  0
H1: Px – Py < 0
Upper-tail test:
H0: Px – Py ≤ 0
H1: Px – Py > 0
Two-tail test:
H0: Px – Py = 0
H1: Px – Py ≠ 0
a a/2 a/2a
-za -za/2za za/2
Reject H0 if z < -za Reject H0 if z > za Reject H0 if z < -za/2
or z > za/2
Ch. 10-29
Example:
Two Population Proportions
Is there a significant difference between the
proportion of men and the proportion of
women who will vote Yes on Proposition A?
 In a random sample, 36 of 72 men and 31 of
50 women indicated they would vote Yes
 Test at the .05 level of significance
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 10-30
 The hypothesis test is:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
H0: PM – PW = 0 (the two proportions are equal)
H1: PM – PW ≠ 0 (there is a significant difference between
proportions)
 The sample proportions are:
 Men: = 36/72 = .50
 Women: = 31/50 = .62
.549
122
67
5072
50(31/50)72(36/72)
nn
pnpn
p
WM
WWMM
0 






ˆˆ
ˆ
 The estimate for the common overall proportion is:
Example:
Two Population Proportions
(continued)
Mpˆ
Wpˆ
Ch. 10-31
Example:
Two Population Proportions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
The test statistic for PM – PW = 0 is:
(continued)
.025
-1.96 1.96
.025
-1.31
Decision: Do not reject H0
Conclusion: There is not
significant evidence of a
difference between men
and women in proportions
who will vote yes.
 
 
1.31
50
.549)(1.549
72
.549)(1.549
.62.50
n
)p(1p
n
)p(1p
pp
z
2
00
1
00
WM






 









ˆˆˆˆ
ˆˆ
Reject H0 Reject H0
Critical Values = ±1.96
For a = .05
Ch. 10-32
Hypothesis Tests for Two Variances
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Tests for Two
Population
Variances
F test statistic
H0: σx
2 = σy
2
H1: σx
2 ≠ σy
2 Two-tail test
Lower-tail test
Upper-tail test
H0: σx
2  σy
2
H1: σx
2 < σy
2
H0: σx
2 ≤ σy
2
H1: σx
2 > σy
2
 Goal: Test hypotheses about two
population variances
The two populations are assumed to be
independent and normally distributed
Ch. 10-33
10.4
Hypothesis Tests for Two Variances
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Tests for Two
Population
Variances
F test statistic
2
y
2
y
2
x
2
x
/σs
/σs
F 
The random variable
Has an F distribution with (nx – 1)
numerator degrees of freedom and
(ny – 1) denominator degrees of
freedom
Denote an F value with 1 numerator and 2
denominator degrees of freedom by
(continued)
Ch. 10-34
21,ννF
Test Statistic
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Tests for Two
Population
Variances
F test statistic 2
y
2
x
s
s
F 
The critical value for a hypothesis test
about two population variances is
where F has (nx – 1) numerator
degrees of freedom and (ny – 1)
denominator degrees of freedom
Ch. 10-35
Decision Rules: Two Variances
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
 rejection region for a two-
tail test is:
F
0
a
Reject H0Do not
reject H0
F0
a/2
Reject H0Do not
reject H0
H0: σx
2 = σy
2
H1: σx
2 ≠ σy
2
H0: σx
2 ≤ σy
2
H1: σx
2 > σy
2
Use sx
2 to denote the larger variance.
α1,n1,n yx
F 
2/α1,n1,n0 yx
FFifHReject 
2/α1,n1,n yx
F 
where sx
2 is the larger of
the two sample variances
α1,n1,n0 yx
FFifHReject 
Ch. 10-36
Example: F Test
You are a financial analyst for a brokerage firm. You
want to compare dividend yields between stocks listed
on the NYSE & NASDAQ. You collect the following data:
NYSE NASDAQ
Number 21 25
Mean 3.27 2.53
Std dev 1.30 1.16
Is there a difference in the
variances between the NYSE
& NASDAQ at the a = 0.10 level?
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 10-37
F Test: Example Solution
 Form the hypothesis test:
H0: σx
2 = σy
2 (there is no difference between variances)
H1: σx
2 ≠ σy
2 (there is a difference between variances)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Degrees of Freedom:
 Numerator
(NYSE has the larger
standard deviation):
 nx – 1 = 21 – 1 = 20 d.f.
 Denominator:
 ny – 1 = 25 – 1 = 24 d.f.
 Find the F critical values for a = .10/2:
2.03F
F
0.10/2,24,20
,1n,1n yx

 2/α
Ch. 10-38
F Test: Example Solution
 The test statistic is:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
1.256
1.16
1.30
s
s
F 2
2
2
y
2
x

a/2 = .05
Reject H0
Do not
reject H0
H0: σx
2 = σy
2
H1: σx
2 ≠ σy
2
 F = 1.256 is not in the rejection
region, so we do not reject H0
(continued)
 Conclusion: There is not sufficient evidence
of a difference in variances at a = .10
F
2.03F 0.10/2,24,20 
Ch. 10-39
Two-Sample Tests in
EXCEL 2007
For paired samples (t test):
 Data | data analysis… | t-test: paired two sample for means
For independent samples:
 Independent sample Z test with variances known:
 Data | data analysis | z-test: two sample for means
For variances…
 F test for two variances:
 Data | data analysis | F-test: two sample for variances
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 10-40
Chapter Summary
 Compared two dependent samples (paired
samples)
 Performed paired sample t test for the mean
difference
 Compared two independent samples
 Performed z test for the differences in two means
 Performed pooled variance t test for the differences
in two means
 Compared two population proportions
 Performed z-test for two population proportions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 10-41
Chapter Summary
 Performed F tests for the difference between
two population variances
 Used the F table to find F critical values
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
(continued)
Ch. 10-42

More Related Content

What's hot

LECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptLECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptKEHKASHANNIZAM
 
Double Moving Average (DMA) Dengan R
Double Moving Average (DMA) Dengan RDouble Moving Average (DMA) Dengan R
Double Moving Average (DMA) Dengan RReni Anggriani
 
Applied Multivariate Statistical Analysis 6th Edition Johnson Solutions Manual
Applied Multivariate Statistical Analysis 6th Edition Johnson Solutions ManualApplied Multivariate Statistical Analysis 6th Edition Johnson Solutions Manual
Applied Multivariate Statistical Analysis 6th Edition Johnson Solutions Manualnumulotap
 
Chap14 multiple regression model building
Chap14 multiple regression model buildingChap14 multiple regression model building
Chap14 multiple regression model buildingUni Azza Aunillah
 
Chap13 intro to multiple regression
Chap13 intro to multiple regressionChap13 intro to multiple regression
Chap13 intro to multiple regressionUni Azza Aunillah
 
When to use, What Statistical Test for data Analysis modified.pptx
When to use, What Statistical Test for data Analysis modified.pptxWhen to use, What Statistical Test for data Analysis modified.pptx
When to use, What Statistical Test for data Analysis modified.pptxAsokan R
 
Chap02 describing data; numerical
Chap02 describing data; numericalChap02 describing data; numerical
Chap02 describing data; numericalJudianto Nugroho
 
03 - Ukuran Lokasi dan Dispersi.pdf
03 - Ukuran Lokasi dan Dispersi.pdf03 - Ukuran Lokasi dan Dispersi.pdf
03 - Ukuran Lokasi dan Dispersi.pdfElvi Rahmi
 
Chap08 fundamentals of hypothesis
Chap08 fundamentals of  hypothesisChap08 fundamentals of  hypothesis
Chap08 fundamentals of hypothesisUni Azza Aunillah
 
05 confidence interval & probability statements
05 confidence interval & probability statements05 confidence interval & probability statements
05 confidence interval & probability statementsDrZahid Khan
 
Newbold_chap08.ppt
Newbold_chap08.pptNewbold_chap08.ppt
Newbold_chap08.pptcfisicaster
 
Chap05 discrete probability distributions
Chap05 discrete probability distributionsChap05 discrete probability distributions
Chap05 discrete probability distributionsUni Azza Aunillah
 
Transformation of random variables
Transformation of random variablesTransformation of random variables
Transformation of random variablesTarun Gehlot
 
Tbs910 regression models
Tbs910 regression modelsTbs910 regression models
Tbs910 regression modelsStephen Ong
 
Some Important Discrete Probability Distributions
Some Important Discrete Probability DistributionsSome Important Discrete Probability Distributions
Some Important Discrete Probability DistributionsYesica Adicondro
 
P value in z statistic
P value in z statisticP value in z statistic
P value in z statisticNadeem Uddin
 

What's hot (20)

LECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptLECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.ppt
 
Double Moving Average (DMA) Dengan R
Double Moving Average (DMA) Dengan RDouble Moving Average (DMA) Dengan R
Double Moving Average (DMA) Dengan R
 
Applied Multivariate Statistical Analysis 6th Edition Johnson Solutions Manual
Applied Multivariate Statistical Analysis 6th Edition Johnson Solutions ManualApplied Multivariate Statistical Analysis 6th Edition Johnson Solutions Manual
Applied Multivariate Statistical Analysis 6th Edition Johnson Solutions Manual
 
Regression
RegressionRegression
Regression
 
Chap14 multiple regression model building
Chap14 multiple regression model buildingChap14 multiple regression model building
Chap14 multiple regression model building
 
Chap13 intro to multiple regression
Chap13 intro to multiple regressionChap13 intro to multiple regression
Chap13 intro to multiple regression
 
When to use, What Statistical Test for data Analysis modified.pptx
When to use, What Statistical Test for data Analysis modified.pptxWhen to use, What Statistical Test for data Analysis modified.pptx
When to use, What Statistical Test for data Analysis modified.pptx
 
Chap02 describing data; numerical
Chap02 describing data; numericalChap02 describing data; numerical
Chap02 describing data; numerical
 
03 - Ukuran Lokasi dan Dispersi.pdf
03 - Ukuran Lokasi dan Dispersi.pdf03 - Ukuran Lokasi dan Dispersi.pdf
03 - Ukuran Lokasi dan Dispersi.pdf
 
Chap08 fundamentals of hypothesis
Chap08 fundamentals of  hypothesisChap08 fundamentals of  hypothesis
Chap08 fundamentals of hypothesis
 
Les5e ppt 07
Les5e ppt 07Les5e ppt 07
Les5e ppt 07
 
kolmogorov smirnov PPT
kolmogorov smirnov PPTkolmogorov smirnov PPT
kolmogorov smirnov PPT
 
05 confidence interval & probability statements
05 confidence interval & probability statements05 confidence interval & probability statements
05 confidence interval & probability statements
 
Newbold_chap08.ppt
Newbold_chap08.pptNewbold_chap08.ppt
Newbold_chap08.ppt
 
Chap05 discrete probability distributions
Chap05 discrete probability distributionsChap05 discrete probability distributions
Chap05 discrete probability distributions
 
Transformation of random variables
Transformation of random variablesTransformation of random variables
Transformation of random variables
 
Tbs910 regression models
Tbs910 regression modelsTbs910 regression models
Tbs910 regression models
 
Practice Test 2 Solutions
Practice Test 2  SolutionsPractice Test 2  Solutions
Practice Test 2 Solutions
 
Some Important Discrete Probability Distributions
Some Important Discrete Probability DistributionsSome Important Discrete Probability Distributions
Some Important Discrete Probability Distributions
 
P value in z statistic
P value in z statisticP value in z statistic
P value in z statistic
 

Similar to Chap10 hypothesis testing ; additional topics

Newbold_chap11.ppt
Newbold_chap11.pptNewbold_chap11.ppt
Newbold_chap11.pptcfisicaster
 
Hypothesis Testing -2.ppt
Hypothesis Testing -2.pptHypothesis Testing -2.ppt
Hypothesis Testing -2.pptTasrovaUrmi
 
Chap08 estimation additional topics
Chap08 estimation additional topicsChap08 estimation additional topics
Chap08 estimation additional topicsJudianto Nugroho
 
Bbs11 ppt ch10
Bbs11 ppt ch10Bbs11 ppt ch10
Bbs11 ppt ch10Tuul Tuul
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 
Lesson06_new
Lesson06_newLesson06_new
Lesson06_newshengvn
 
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxAirlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxdaniahendric
 
Newbold_chap09.ppt
Newbold_chap09.pptNewbold_chap09.ppt
Newbold_chap09.pptcfisicaster
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
 
Two Sample Tests
Two Sample TestsTwo Sample Tests
Two Sample Testssanketd1983
 
Experimental design data analysis
Experimental design data analysisExperimental design data analysis
Experimental design data analysismetalkid132
 
Chap15 analysis of variance
Chap15 analysis of varianceChap15 analysis of variance
Chap15 analysis of varianceJudianto Nugroho
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxrathorebhagwan07
 
Lecture 11 Paired t test.pptx
Lecture 11 Paired t test.pptxLecture 11 Paired t test.pptx
Lecture 11 Paired t test.pptxshakirRahman10
 
Lesson06_static11
Lesson06_static11Lesson06_static11
Lesson06_static11thangv
 

Similar to Chap10 hypothesis testing ; additional topics (20)

Newbold_chap11.ppt
Newbold_chap11.pptNewbold_chap11.ppt
Newbold_chap11.ppt
 
Hypothesis Testing -2.ppt
Hypothesis Testing -2.pptHypothesis Testing -2.ppt
Hypothesis Testing -2.ppt
 
Chap08 estimation additional topics
Chap08 estimation additional topicsChap08 estimation additional topics
Chap08 estimation additional topics
 
Bbs11 ppt ch10
Bbs11 ppt ch10Bbs11 ppt ch10
Bbs11 ppt ch10
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
 
Lesson06_new
Lesson06_newLesson06_new
Lesson06_new
 
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxAirlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
 
Two Sample Tests
Two Sample TestsTwo Sample Tests
Two Sample Tests
 
Newbold_chap09.ppt
Newbold_chap09.pptNewbold_chap09.ppt
Newbold_chap09.ppt
 
Chap09
Chap09Chap09
Chap09
 
qm2CHAP10.pdf
qm2CHAP10.pdfqm2CHAP10.pdf
qm2CHAP10.pdf
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
Two Sample Tests
Two Sample TestsTwo Sample Tests
Two Sample Tests
 
Experimental design data analysis
Experimental design data analysisExperimental design data analysis
Experimental design data analysis
 
Chap15 analysis of variance
Chap15 analysis of varianceChap15 analysis of variance
Chap15 analysis of variance
 
Stat2013
Stat2013Stat2013
Stat2013
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
 
Lecture 11 Paired t test.pptx
Lecture 11 Paired t test.pptxLecture 11 Paired t test.pptx
Lecture 11 Paired t test.pptx
 
Lesson06_static11
Lesson06_static11Lesson06_static11
Lesson06_static11
 

More from Judianto Nugroho (20)

Chap14 en-id
Chap14 en-idChap14 en-id
Chap14 en-id
 
Chap19 en-id
Chap19 en-idChap19 en-id
Chap19 en-id
 
Chap18 en-id
Chap18 en-idChap18 en-id
Chap18 en-id
 
Chap16 en-id
Chap16 en-idChap16 en-id
Chap16 en-id
 
Chap15 en-id
Chap15 en-idChap15 en-id
Chap15 en-id
 
Chap17 en-id
Chap17 en-idChap17 en-id
Chap17 en-id
 
Chap13 en-id
Chap13 en-idChap13 en-id
Chap13 en-id
 
Chap12 en-id
Chap12 en-idChap12 en-id
Chap12 en-id
 
Chap11 en-id
Chap11 en-idChap11 en-id
Chap11 en-id
 
Chap10 en-id
Chap10 en-idChap10 en-id
Chap10 en-id
 
Chap09 en-id
Chap09 en-idChap09 en-id
Chap09 en-id
 
Chap08 en-id
Chap08 en-idChap08 en-id
Chap08 en-id
 
Chap05 en-id
Chap05 en-idChap05 en-id
Chap05 en-id
 
Chap07 en-id
Chap07 en-idChap07 en-id
Chap07 en-id
 
Chap06 en-id
Chap06 en-idChap06 en-id
Chap06 en-id
 
Chap04 en-id
Chap04 en-idChap04 en-id
Chap04 en-id
 
Chap03 en-id
Chap03 en-idChap03 en-id
Chap03 en-id
 
Chap02 en-id
Chap02 en-idChap02 en-id
Chap02 en-id
 
Chap01 en-id
Chap01 en-idChap01 en-id
Chap01 en-id
 
Spss session 1 and 2
Spss session 1 and 2Spss session 1 and 2
Spss session 1 and 2
 

Recently uploaded

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 

Recently uploaded (20)

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 

Chap10 hypothesis testing ; additional topics

  • 1. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7th Edition Chapter 10 Hypothesis Testing: Additional Topics Ch. 10-1
  • 2. 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  Complete an F test for the equality of two variances Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 10-2
  • 3. Two Sample Tests Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Two Sample Tests Population Means, Independent Samples Population Means, Dependent Samples Population Variances Group 1 vs. independent Group 2 Same group before vs. after treatment Variance 1 vs. Variance 2 Examples: Population Proportions Proportion 1 vs. Proportion 2 Ch. 10-3
  • 4. Dependent Samples Tests Means of 2 Related Populations  Paired or matched samples  Repeated measures (before/after)  Use difference between paired values:  Assumptions:  Both Populations Are Normally Distributed Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Dependent Samples di = xi - yi Ch. 10-4 10.1
  • 5. Test Statistic: Dependent Samples The test statistic for the mean difference is a t value, with n – 1 degrees of freedom: where Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall n s Dd t d 0  D0 = hypothesized mean difference sd = sample standard dev. of differences n = the sample size (number of pairs) Dependent Samples Ch. 10-5 yx n d d i  
  • 6. Decision Rules: Matched Pairs Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Lower-tail test: H0: μx – μy  0 H1: μx – μy < 0 Upper-tail test: H0: μx – μy ≤ 0 H1: μx – μy > 0 Two-tail test: H0: μx – μy = 0 H1: μx – μy ≠ 0 Matched or Paired Samples a a/2 a/2a -ta -ta/2ta ta/2 Reject H0 if t < -tn-1, a Reject H0 if t > tn-1, a Reject H0 if t < -tn-1 , a/2 or t > tn-1 , a/2 Where n s Dd t d 0  has n - 1 d.f. Ch. 10-6
  • 7.  Assume you send your salespeople to a “customer service” training workshop. Has the training made a difference in the number of complaints? You collect the following data: Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Matched Pairs Example Number of Complaints: (2) - (1) Salesperson Before (1) After (2) Difference, di C.B. 6 4 - 2 T.F. 20 6 -14 M.H. 3 2 - 1 R.K. 0 0 0 M.O. 4 0 - 4 -21 d =  di n 5.67 1n )d(d S 2 i d      = - 4.2 Ch. 10-7
  • 8.  Has the training made a difference in the number of complaints (at the a = 0.05 level)? Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall - 4.2d = 1.66 55.67/ 04.2 n/s Dd t d 0      H0: μx – μy = 0 H1: μx – μy  0 Test Statistic: Critical Value = ± 2.776 d.f. = n − 1 = 4 Reject a/2 - 2.776 2.776 Decision: Do not reject H0 (t stat is not in the reject region) Conclusion: There is not a significant change in the number of complaints. Matched Pairs: Solution Reject a/2 - 1.66 a = .05 Ch. 10-8
  • 9. Difference Between Two Means  Different populations  Unrelated  Independent  Sample selected from one population has no effect on the sample selected from the other population  Normally distributed Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples Goal: Form a confidence interval for the difference between two population means, μx – μy Ch. 10-9 10.2
  • 10. Difference Between Two Means Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples Test statistic is a z value Test statistic is a a value from the Student’s t distribution σx 2 and σy 2 assumed equal σx 2 and σy 2 known σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal (continued) Ch. 10-10
  • 11. σx 2 and σy 2 Known Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples Assumptions:  Samples are randomly and independently drawn  both population distributions are normal  Population variances are known *σx 2 and σy 2 known σx 2 and σy 2 unknown Ch. 10-11
  • 12. σx 2 and σy 2 Known Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples …and the random variable has a standard normal distribution When σx 2 and σy 2 are known and both populations are normal, the variance of X – Y is y 2 y x 2 x2 YX n σ n σ σ  (continued) * Y 2 y X 2 x YX n σ n σ )μ(μ)yx( Z    σx 2 and σy 2 known σx 2 and σy 2 unknown Ch. 10-12
  • 13. Test Statistic, σx 2 and σy 2 Known Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples *σx 2 and σy 2 known σx 2 and σy 2 unknown   y 2 y x 2 x 0 n σ n σ Dyx z    The test statistic for μx – μy is: Ch. 10-13 0yx0 Dμμ:H 
  • 14. Hypothesis Tests for Two Population Means Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Lower-tail test: H0: μx  μy H1: μx < μy i.e., H0: μx – μy  0 H1: μx – μy < 0 Upper-tail test: H0: μx ≤ μy H1: μx > μy i.e., H0: μx – μy ≤ 0 H1: μx – μy > 0 Two-tail test: H0: μx = μy H1: μx ≠ μy i.e., H0: μx – μy = 0 H1: μx – μy ≠ 0 Two Population Means, Independent Samples Ch. 10-14
  • 15. Decision Rules Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Two Population Means, Independent Samples, Variances Known Lower-tail test: H0: μx – μy  0 H1: μx – μy < 0 Upper-tail test: H0: μx – μy ≤ 0 H1: μx – μy > 0 Two-tail test: H0: μx – μy = 0 H1: μx – μy ≠ 0 a a/2 a/2a -za -za/2za za/2 Reject H0 if z < -za Reject H0 if z > za Reject H0 if z < -za/2 or z > za/2 Ch. 10-15
  • 16. σx 2 and σy 2 Unknown, Assumed Equal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples Assumptions:  Samples are randomly and independently drawn  Populations are normally distributed  Population variances are unknown but assumed equal *σx 2 and σy 2 assumed equal σx 2 and σy 2 known σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal Ch. 10-16
  • 17. σx 2 and σy 2 Unknown, Assumed Equal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples (continued)  The population variances are assumed equal, so use the two sample standard deviations and pool them to estimate σ  use a t value with (nx + ny – 2) degrees of freedom*σx 2 and σy 2 assumed equal σx 2 and σy 2 known σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal Ch. 10-17
  • 18. Test Statistic, σx 2 and σy 2 Unknown, Equal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall *σx 2 and σy 2 assumed equal σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal 2nn 1)s(n1)s(n s yx 2 yy 2 xx2 p    Where t has (n1 + n2 – 2) d.f., and     y 2 p x 2 p yx n s n s μμyx t    The test statistic for μx – μy is: Ch. 10-18
  • 19. Decision Rules Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Lower-tail test: H0: μx – μy  0 H1: μx – μy < 0 Upper-tail test: H0: μx – μy ≤ 0 H1: μx – μy > 0 Two-tail test: H0: μx – μy = 0 H1: μx – μy ≠ 0 a a/2 a/2a -ta -ta/2ta ta/2 Reject H0 if t < -t (n1+n2 – 2), a Reject H0 if t > t (n1+n2 – 2), a Reject H0 if t < -t (n1+n2 – 2), a/2 or t > t (n1+n2 – 2), a/2 Two Population Means, Independent Samples, Variances Unknown Ch. 10-19
  • 20. Pooled Variance t Test: Example You are a financial analyst for a brokerage firm. Is there a difference in dividend yield between stocks listed on the NYSE & NASDAQ? You collect the following data: NYSE NASDAQ Number 21 25 Sample mean 3.27 2.53 Sample std dev 1.30 1.16 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Assuming both populations are approximately normal with equal variances, is there a difference in average yield (a = 0.05)? Ch. 10-20
  • 21. Calculating the Test Statistic Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall         1.5021 1)25(1)-(21 1.161251.30121 1)n()1(n S1nS1n S 22 21 2 22 2 112 p              2.040 25 1 21 1 5021.1 02.533.27 n 1 n 1 S μμXX t 21 2 p 2121                    The test statistic is: Ch. 10-21
  • 22. Solution H0: μ1 - μ2 = 0 i.e. (μ1 = μ2) H1: μ1 - μ2 ≠ 0 i.e. (μ1 ≠ μ2) a = 0.05 df = 21 + 25 − 2 = 44 Critical Values: t = ± 2.0154 Test Statistic: Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Decision: Conclusion: Reject H0 at a = 0.05 There is evidence of a difference in means. t0 2.0154-2.0154 .025 Reject H0 Reject H0 .025 2.040 2.040 25 1 21 1 5021.1 2.533.27 t           Ch. 10-22
  • 23. σx 2 and σy 2 Unknown, Assumed Unequal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples Assumptions:  Samples are randomly and independently drawn  Populations are normally distributed  Population variances are unknown and assumed unequal * σx 2 and σy 2 assumed equal σx 2 and σy 2 known σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal Ch. 10-23
  • 24. σx 2 and σy 2 Unknown, Assumed Unequal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples (continued) Forming interval estimates:  The population variances are assumed unequal, so a pooled variance is not appropriate  use a t value with  degrees of freedom, where σx 2 and σy 2 known σx 2 and σy 2 unknown * σx 2 and σy 2 assumed equal σx 2 and σy 2 assumed unequal 1)/(n n s 1)/(n n s ) n s () n s ( y 2 y 2 y x 2 x 2 x 2 y 2 y x 2 x                         v Ch. 10-24
  • 25. Test Statistic, σx 2 and σy 2 Unknown, Unequal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall * σx 2 and σy 2 assumed equal σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal 1)/(n n s 1)/(n n s ) n s () n s ( y 2 y 2 y x 2 x 2 x 2 y 2 y x 2 x                         vWhere t has  degrees of freedom: The test statistic for μx – μy is: Y 2 y X 2 x 0 n s n s D)yx( t    Ch. 10-25
  • 26. Two Population Proportions Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Goal: Test hypotheses for the difference between two population proportions, Px – Py Population proportions Assumptions: Both sample sizes are large, nP(1 – P) > 5 Ch. 10-26 10.3
  • 27. Two Population Proportions  The random variable is approximately normally distributed Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population proportions (continued) y yy x xx yxyx n )p(1p n )p(1p )p(p)pp( Z ˆˆˆˆ ˆˆ      Ch. 10-27
  • 28. Test Statistic for Two Population Proportions Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population proportions The test statistic for H0: Px – Py = 0 is a z value:   y 00 x 00 yx n )p(1p n )p(1p pp z ˆˆˆˆ ˆˆ      yx yyxx 0 nn pnpn p    ˆˆ ˆWhere Ch. 10-28
  • 29. Decision Rules: Proportions Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population proportions Lower-tail test: H0: Px – Py  0 H1: Px – Py < 0 Upper-tail test: H0: Px – Py ≤ 0 H1: Px – Py > 0 Two-tail test: H0: Px – Py = 0 H1: Px – Py ≠ 0 a a/2 a/2a -za -za/2za za/2 Reject H0 if z < -za Reject H0 if z > za Reject H0 if z < -za/2 or z > za/2 Ch. 10-29
  • 30. Example: Two Population Proportions Is there a significant difference between the proportion of men and the proportion of women who will vote Yes on Proposition A?  In a random sample, 36 of 72 men and 31 of 50 women indicated they would vote Yes  Test at the .05 level of significance Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 10-30
  • 31.  The hypothesis test is: Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall H0: PM – PW = 0 (the two proportions are equal) H1: PM – PW ≠ 0 (there is a significant difference between proportions)  The sample proportions are:  Men: = 36/72 = .50  Women: = 31/50 = .62 .549 122 67 5072 50(31/50)72(36/72) nn pnpn p WM WWMM 0        ˆˆ ˆ  The estimate for the common overall proportion is: Example: Two Population Proportions (continued) Mpˆ Wpˆ Ch. 10-31
  • 32. Example: Two Population Proportions Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall The test statistic for PM – PW = 0 is: (continued) .025 -1.96 1.96 .025 -1.31 Decision: Do not reject H0 Conclusion: There is not significant evidence of a difference between men and women in proportions who will vote yes.     1.31 50 .549)(1.549 72 .549)(1.549 .62.50 n )p(1p n )p(1p pp z 2 00 1 00 WM                  ˆˆˆˆ ˆˆ Reject H0 Reject H0 Critical Values = ±1.96 For a = .05 Ch. 10-32
  • 33. Hypothesis Tests for Two Variances Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Tests for Two Population Variances F test statistic H0: σx 2 = σy 2 H1: σx 2 ≠ σy 2 Two-tail test Lower-tail test Upper-tail test H0: σx 2  σy 2 H1: σx 2 < σy 2 H0: σx 2 ≤ σy 2 H1: σx 2 > σy 2  Goal: Test hypotheses about two population variances The two populations are assumed to be independent and normally distributed Ch. 10-33 10.4
  • 34. Hypothesis Tests for Two Variances Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Tests for Two Population Variances F test statistic 2 y 2 y 2 x 2 x /σs /σs F  The random variable Has an F distribution with (nx – 1) numerator degrees of freedom and (ny – 1) denominator degrees of freedom Denote an F value with 1 numerator and 2 denominator degrees of freedom by (continued) Ch. 10-34 21,ννF
  • 35. Test Statistic Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Tests for Two Population Variances F test statistic 2 y 2 x s s F  The critical value for a hypothesis test about two population variances is where F has (nx – 1) numerator degrees of freedom and (ny – 1) denominator degrees of freedom Ch. 10-35
  • 36. Decision Rules: Two Variances Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall  rejection region for a two- tail test is: F 0 a Reject H0Do not reject H0 F0 a/2 Reject H0Do not reject H0 H0: σx 2 = σy 2 H1: σx 2 ≠ σy 2 H0: σx 2 ≤ σy 2 H1: σx 2 > σy 2 Use sx 2 to denote the larger variance. α1,n1,n yx F  2/α1,n1,n0 yx FFifHReject  2/α1,n1,n yx F  where sx 2 is the larger of the two sample variances α1,n1,n0 yx FFifHReject  Ch. 10-36
  • 37. Example: F Test You are a financial analyst for a brokerage firm. You want to compare dividend yields between stocks listed on the NYSE & NASDAQ. You collect the following data: NYSE NASDAQ Number 21 25 Mean 3.27 2.53 Std dev 1.30 1.16 Is there a difference in the variances between the NYSE & NASDAQ at the a = 0.10 level? Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 10-37
  • 38. F Test: Example Solution  Form the hypothesis test: H0: σx 2 = σy 2 (there is no difference between variances) H1: σx 2 ≠ σy 2 (there is a difference between variances) Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Degrees of Freedom:  Numerator (NYSE has the larger standard deviation):  nx – 1 = 21 – 1 = 20 d.f.  Denominator:  ny – 1 = 25 – 1 = 24 d.f.  Find the F critical values for a = .10/2: 2.03F F 0.10/2,24,20 ,1n,1n yx   2/α Ch. 10-38
  • 39. F Test: Example Solution  The test statistic is: Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1.256 1.16 1.30 s s F 2 2 2 y 2 x  a/2 = .05 Reject H0 Do not reject H0 H0: σx 2 = σy 2 H1: σx 2 ≠ σy 2  F = 1.256 is not in the rejection region, so we do not reject H0 (continued)  Conclusion: There is not sufficient evidence of a difference in variances at a = .10 F 2.03F 0.10/2,24,20  Ch. 10-39
  • 40. Two-Sample Tests in EXCEL 2007 For paired samples (t test):  Data | data analysis… | t-test: paired two sample for means For independent samples:  Independent sample Z test with variances known:  Data | data analysis | z-test: two sample for means For variances…  F test for two variances:  Data | data analysis | F-test: two sample for variances Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 10-40
  • 41. Chapter Summary  Compared two dependent samples (paired samples)  Performed paired sample t test for the mean difference  Compared two independent samples  Performed z test for the differences in two means  Performed pooled variance t test for the differences in two means  Compared two population proportions  Performed z-test for two population proportions Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 10-41
  • 42. Chapter Summary  Performed F tests for the difference between two population variances  Used the F table to find F critical values Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall (continued) Ch. 10-42