Professional Documents
Culture Documents
•• HH00and
andHH1are:
1
are:
–– Mutually
Mutuallyexclusive
exclusive
–– Only
Onlyoneonecan
canbe
betrue.
true.
–– Exhaustive
Exhaustive
Togetherthey
–– Together theycover
coverall
allpossibilities,
possibilities,so
soone
oneor
orthe
theother
othermust
mustbe
be
true.
true.
The null hypothesis:
Often represents the status situation or an
existing belief.
Is maintained, or held to be true, until a
test leads to its rejection in favor of the
alternative hypothesis.
Is accepted as true or rejected as false on
the basis of a consideration of a test
statistic.
A test statistic is a sample statistic computed
from sample data. The value of the test statistic is
used in determining whether or not we may reject
the null hypothesis.
The decision rule of a statistical hypothesis test is
a rule that specifies the conditions under which the
null hypothesis may be rejected.
ConsiderHH00::µµ =100
Consider =100.. We
Wemay
mayhave
haveaadecision
decisionrule
rulethat
thatsays:
says:“Reject
“Reject
HH00ifif the
thesample
samplemean
meanisisless
lessthan
than95
95or
ormore
morethan
than105.”
105.”
Inaacourtroom
In courtroomwe
wemay
maysay:
say:“The
“Theaccused
accusedisisinnocent
innocentuntil
untilproven
proven
guiltybeyond
guilty beyondaareasonable
reasonabledoubt.”
doubt.”
A contingency
A contingency tabletable illustrates
illustrates the
the possible
possible outcomes
outcomes
of aa statistical
of statistical hypothesis
hypothesis test.
test.
1) As part of a survey to determine the extent of required in-cabin storage capacity, a
researcher needs to test the null hypothesis that the average weight of carry-on baggage per
person is µ 0 = 12 pounds, versus the alternative hypothesis that the average weight is not
12 pounds. The analyst wants to test the null hypothesis at α = 0.05.
2) An insurance company believes that, over the last few years, the average liability
insurance per board seat in companies defined as “small companies” has been $2000.
Using α = 0.01, test this hypothesis using n=100, x bar =2700 and s = 947
n = 144
x = 14.6
s = 7.8
• There are two possible states of nature:
– H0 is true
– H0 is false
• There are two possible decisions:
– Fail to reject H0 as true
– Reject H0 as false
• A decision may be correct in two ways:
– Fail to reject a true H0
– Reject a false H0
• A decision may be incorrect in two ways:
– Type I Error: Reject a true H0
• The Probability of a Type I error is denoted
by α .
– Type II Error: Fail to reject a false H0
• The Probability of a Type II error is denoted
by β .
A decision may be incorrect in two ways:
Type I Error: Reject a true H0
The Probability of a Type I error is denoted by α .
α is called the level of significance of the test
Type II Error: Accept a false H0
The Probability of a Type II error is denoted by β .
1 - β is called the power of the test.
α and β are conditional probabilities:
α = P(RejectH 0 H 0 is true)
H0: µ = 28
H1: µ ≠ 28
. ± .98 = [ 3052
= 315 . , 32.48]
Collect sample data: We can be 95% sure that the average time for
n = 100 all packages is between 30.52 and 32.48
x = 31.5 minutes.
s=5
Since the asserted value, 28 minutes, is not
Construct a 95% confidence interval for in this 95% confidence interval, we may
the average delivery times of all packages: reasonably reject the null hypothesis.
95% confidence
Population interval around
mean under H0 observed sample mean
Note that the population mean may be 28 (the null hypothesis might be true), but
then the observed sample mean, 31.5, would be a very unlikely occurrence.
There’s still the small chance (α = .05) that we might reject the true null
hypothesis.
α represents the level of significance of the test.
If the observed sample mean falls within the nonrejection region, then you fail
to reject the null hypothesis as true. Construct a 95% nonrejection region
around the hypothesized population mean, and compare it with the 95%
confidence interval around the observed sample mean:
s 5 s 5
µ 0 ± z.025 = 28 ± 1.96 95% non- 95% Confidence x ± z .025 = 315
. ± 1.96
n 100 rejection region Interval n 100
around the around the
= 28±.98 = [ 27,02 ,28.98] population Mean Sample Mean . ±.98 = [ 30.52 ,32.48]
= 315
The nonrejection region and the confidence interval are the same width, but
centered on different points. In this instance, the nonrejection region does not
include the observed sample mean, and the confidence interval does not include
the hypothesized population mean.
The rejection region of a statistical
hypothesis test is the range of numbers that will
lead us to reject the null hypothesis in case the
test statistic falls within this range. The
rejection region, also called the critical region,
is defined by the critical points. The rejection
region is defined so that, before the sampling
takes place, our test statistic will have a
probability α of falling within the rejection
region if the null hypothesis is true.
The nonrejection region is the range of values (also
determined by the critical points) that will lead us not to
reject the null hypothesis if the test statistic should fall
within this region. The nonrejection region is designed
so that, before the sampling takes place, our test
statistic will have a probability 1-α of falling within the
nonrejection region if the null hypothesis is true
0.5
0.2
.025 .025
0.1
expressedininterms
expressed termsofofvalues
valuesofofthe
thestandard
standard 0.7 .95
0.6
normalrandom
normal randomvariable,
variable,z.z. 0.5
0.4
0.3
Foraa5%
For 5%test,
test,the
thecritical
criticalvalues
valuesof are±±1.96
ofzzare 1.96 0.2
.025 .025
0.1
0.0
Thenonrejection
The nonrejectionregion
regionis:
is: 27.02 µ 0=28 28.98
x
[z[z<< −1.96]
−1.96]and
and[z[z>> 1.96]
1.96] -1.96 0 1.96
z= 7
InInthis
thisexample,
example,the
thetest
teststatistic
statisticis:
is: Thetest
The teststatistic
statisticfalls
fallsin
inthe
the
x − µ 0 315
. − 28 3.5
z=
s
=
5
=
.5
=7 upperrejection
upper rejectionregion,
region,sosothe
the
n 100 nullhypothesis
null hypothesisisisrejected.
rejected.
AsAspart
partofofaasurvey
surveytotodetermine
determinethetheextent
extentofofrequired
requiredin-cabin
in-cabinstorage
storagecapacity,
capacity,aa
researcherneeds
researcher needstototest
testthe
thenull
nullhypothesis
hypothesisthatthatthe
theaverage
averageweight
weightofofcarry-on
carry-onbaggage
baggage
per personisisµµ 0==12
perperson 12pounds,
pounds,versus
versusthe
thealternative
alternativehypothesis
hypothesisthat
thatthe
theaverage
averageweight
weight
0
isisnot
not12
12pounds.
pounds. The
Theanalyst
analystwants
wantstototest
testthe
thenull hypothesisatatαα ==0.05.
nullhypothesis 0.05.
HH0:0:µµ ==12
12 The Standard Normal Distribution
HH1:1:µµ ≠≠ 12
12 0.8
0.7 .95
0.6
0.5
Forαα ==0.05,
For 0.05,critical
criticalvalues
valuesofofzzare
are±1.96
±1.96 0.4
x − µ0
0.3
.025 .025
Thetest
teststatistic
statisticis:
is: z = 0.2
The s 0.1
0.0
n -1.96 0 1.96 z
Donot
Do notreject
rejectHH0if: [-1.96≤≤ zz≤≤1.96]
if:[-1.96 1.96]
0
Lower Rejection Nonrejection Upper Rejection
Region Region Region
RejectHH0if:
Reject if:[z[z<-1.96] or [z[z>1.96]
<-1.96]or >1.96]
0
The Standard Normal Distribution
0.8
0.1
Sincethe
Since thetest
teststatistic
statisticfalls
fallsininthe
theupper
upperrejection
rejectionregion,
region,HH0isisrejected,
rejected,and
andwe
wemay
may
0
concludethat
conclude thatthe
theaverage
averageamount
amountofofcarry-on
carry-onbaggage
baggageisismore
morethanthan12
12pounds.
pounds.
Aninsurance
An insurancecompany
companybelieves
believesthat,
that,over
overthe
thelast
lastfew
fewyears,
years,the
theaverage
averageliability
liability
insuranceper
insurance perboard
boardseat
seatinincompanies
companiesdefined
definedasas“small
“smallcompanies”
companies”hashasbeen
been$2000.
$2000.
Usingαα ==0.01,
Using 0.01,test
testthis
thishypothesis
hypothesisusing
usingn=100,
n=100,xxbar
bar=2700
=2700and
andss==947
947
HH0:0:µµ
n = 100
==2000
2000
x = 2700
HH1:1:µµ ≠≠ 2000
2000 s = 947
Forαα ==0.01,
For 0.01,critical
criticalvalues
valuesof
ofzzare
are±2.576
±2.576 x − µ0 2700 - 2000
z= =
x − µ0 s 947
Thetest
teststatistic
statisticis:
is: z=
The s n 100
n
700
= = 7 .39 ⇒ Reject H
Donot
Do notreject
rejectHH0if: [-2.576≤≤ zz ≤≤ 2.576]
if:[-2.576 2.576] 94.7 0
0
RejectHH0if:
Reject if:[z[z<-2.576] or [z[z>2.576]
<-2.576]or >2.576]
0
The Standard Normal Distribution Sincethe
Since thetest
teststatistic
statisticfalls
fallsin
in
0.8
0.7 .99
theupper
the upperrejection
rejectionregion,
region,HH00
isisrejected,
rejected,andandwe
wemay
may
0.6
0.5
concludethat thatthe
theaverage
average
0.4
0.3
.005 .005
conclude
0.2
0.1 insuranceliability
insurance liabilityper
perboard
board
0.0
-2.576 2.576 z
seatin
seat in“small
“smallcompanies”
companies”isis
0
7.39 morethan
more than$2000.
$2000.
Lower Rejection Nonrejection Upper Rejection
Region Region Region
Theaverage
The averagetimetimeitittakes
takesaacomputer
computertotoperform
performaacertain
certaintask
taskisisbelieved
believedtotobe
be3.24
3.24
seconds. ItItwas
seconds. wasdecided
decidedtototesttestthe
thestatistical
statisticalhypothesis
hypothesisthat
thatthe
theaverage
averageperformance
performance
timeofofthe
time thetask
taskusing
usingthe thenew
newalgorithm
algorithmisisthe
thesame,
same,against
againstthe
thealternative
alternativethat
thatthe
the
averageperformance
average performancetime timeisisno
nolonger
longerthe
thesame,
same,atatthe
the0.05
0.05level
levelofofsignificance.
significance.
HH0:0:µµ ==3.24
3.24
n = 200
HH1:1:µµ ≠≠ 3.24
3.24 x = 3.48
s = 2.8
Forαα ==0.05,
For 0.05,critical
criticalvalues
valuesof
ofzzare
are±1.96
±1.96
x − µ0
x − µ0 3.48- 3.24
z= z= =
Thetest
The teststatistic
statisticis:
is: s s 2.8
n n 200
Donot
Do notreject
rejectHH0if: [-1.96≤≤ zz≤≤1.96]
if:[-1.96 1.96] 0.24
0 = = 1.21 ⇒ Do not reject H
0.20 0
RejectHH0if:
Reject if:[z[z<<-1.96] or [z[z>1.96]
-1.96]or >1.96]
0
The Standard Normal Distribution
Sincethe
Since thetest
teststatistic
statisticfalls
fallsin
in
thenonrejection
nonrejectionregion,
region,HH00isis
0.8
0.7
0.6
.95 the
0.5 notrejected,
not rejected,and
andwewemay
may
0.4
0.3
.025 .025
concludethat
conclude thatthe
theaverage
average
performancetimetimehas
hasnot
not
0.2
0.1
performance
changedfrom
from3.24
3.24seconds.
seconds.
0.0
HH0:0:µµ ==49
49 n = 18
HH1:1:µµ ≠≠ 49
49 x = 38
s = 14
nn==18 18
Forαα ==0.01
For 0.01and
and(18-1)
(18-1)==17
17df
df, , x − µ0 38 - 49
criticalvalues
critical valuesof
ofttare
are±2.898
±2.898 t = =
s 14
x − µ0
Thetest
teststatistic
statisticis:
is: t= n 18
The s
n -11
= −3.33 ⇒ Reject H
Donot
Do notreject
rejectHH0if: [-2.898≤≤ tt ≤≤ 2.898]
if:[-2.898 2.898] =
3.3 0
0
RejectHH0if:
Reject if:[t[t<<-2.898] or [t[t>> 2.898]
-2.898]or 2.898]
0
df t0.100 t0.050 t0.025 t0.010 t0.005
t D is trib utio n: d f = 1 0
--- ----- ----- ------ ------ ------
1 3.078 6.314 12.706 31.821 63.657
0 .4
2 1.886 2.920 4.303 6.965 9.925
3 1.638 2.353 3.182 4.541 5.841
4 1.533 2.132 2.776 3.747 4.604
0 .3
5 1.476 2.015 2.571 3.365 4.032
6 1.440 1.943 2.447 3.143 3.707 Area = 0.10 Area = 0.10
}
7 1.415 1.895 2.365 2.998 3.499
f(t)
0 .2
8 1.397 1.860 2.306 2.896 3.355
9 1.383 1.833 2.262 2.821 3.250
10 1.372 1.812 2.228 2.764 3.169 0 .1
11 1.363 1.796 2.201 2.718 3.106
12 1.356 1.782 2.179 2.681 3.055
13 1.350 1.771 2.160 2.650 3.012 0 .0
14 1.345 1.761 2.145 2.624 2.977 -1.372 0 1.372
-2.228 2.228
}
15 1.341 1.753 2.131 2.602 2.947 t
16 1.337 1.746 2.120 2.583 2.921
17 1.333 1.740 2.110 2.567 2.898 Area = 0.025 Area = 0.025
18 1.330 1.734 2.101 2.552 2.878
19 1.328 1.729 2.093 2.539 2.861
20
21
1.325
1.323
1.725
1.721
2.086
2.080
2.528
2.518
2.845
2.831
Wheneverσσ isisnot
Whenever notknown
known(and
(andthe
thepopulation
populationisis
22
23
1.321
1.319
1.717
1.714
2.074
2.069
2.508
2.500
2.819
2.807
assumednormal),
assumed normal),thethecorrect
correctdistribution
distributiontotouse
useisis
24
25
1.318
1.316
1.711
1.708
2.064
2.060
2.492
2.485
2.797
2.787
thet tdistribution
the distributionwith
withn-1
n-1degrees
degreesofoffreedom.
freedom.
26
27
1.315
1.314
1.706
1.703
2.056
2.052
2.479
2.473
2.779
2.771
Note,however,
Note, however,that
thatfor
forlarge
largedegrees
degreesofoffreedom,
freedom,
28
29
1.313
1.311
1.701
1.699
2.048
2.045
2.467
2.462
2.763
2.756
thet tdistribution
the distributionisisapproximated
approximatedwellwellbybythe
theZZ
30
40
1.310
1.303
1.697
1.684
2.042
2.021
2.457
2.423
2.750
2.704
distribution.
distribution.
60 1.296 1.671 2.000 2.390 2.660
120 1.289 1.658 1.980 2.358 2.617
∞ 1.282 1.645 1.960 2.326 2.576
Canon, Inc,. has introduced a copying machine that features two-color copying
capability in a compact system copier. The average speed of the standard compact
system copier is 27 copies per minute. Suppose the company wants to test whether
the new copier has the same average speed as its standard compact copier. Conduct a
test at an α = 0.05 level of significance. n=24, x-bar=24.6, s=7.4
2) According to the GRADA National Land Agency, average land prices in central
ACCRA soared 49% in the first six months of 2009. STX an international real estate
investment company wants to test this claim against the alternative that the average
price did not rise by 49%, at (a) 0.01, (b) 0.05 level of significance.
n = 24
x = 24.6
s = 7.4
The t Distribution Sincethe
Since thetest
teststatistic
statisticfalls
fallsin
in
0.8
0.7 .99
therejection
the rejectionregion,
region,HH0isis
0.6
0
0.5 rejected,and
rejected, andwewemay
mayconclude
conclude
0.4
0.3
.005 .005
thatthe
that theaverage
averageprice
pricehas
hasnot
not
risenby
by49%.
49%. Since
Sincethethetest
test
0.2
0.1
risen
statisticisisin
inthe
thelower
lower
0.0
HH0:0:µµ ==27
27
HH1:1:µµ ≠≠ 27
27 n = 24
nn==24 24 x = 24.6
s = 7.4
Forαα ==0.05
For 0.05and
and(24-1)
(24-1)==23
23df
df, ,
criticalvalues
critical valuesof
ofttare
are±2.069
±2.069 t=
x−µ
0 24.6 - 27
x−µ s = 7.4
t= 0
n 24
s
Thetest
The teststatistic
statisticis:
is:
n = - 2.4 = −1.59 ⇒ Do not reject H
1.51 0
Donot
Do notreject
rejectHH0if: [-2.069≤≤ tt ≤≤ 2.069]
if:[-2.069 2.069]
0
RejectHH0if:
Reject if:[t[t<<-2.069]
-2.069]or or [t[t>> 2.069]
2.069]
0
The t Distribution
Sincethe
Since thetest
teststatistic
statisticfalls
fallsin
in
thenonrejection
nonrejectionregion,
region,HH00isis
0.8
0.7
0.6
.95 the
0.5 notrejected,
not rejected,and
andwewemay
maynotnot
0.4
0.3
.025 .025
concludethat
conclude thatthe
theaverage
average
speedisisdifferent
differentfrom
from2727
0.2
0.1
speed
copiesper
perminute.
minute.
0.0
A given sample mean will not lead to a rejection of a null hypothesis unless it
lies in outside the nonrejection region of the test. That is, the nonrejection
region includes all sample means that are not significantly different, in a
statistical sense, from the hypothesized mean. The rejection regions, in turn,
define the values of sample means that are significantly different, in a statistical
sense, from the hypothesized mean.
When the sample size is large (both np> 5 and nq > 5), the
distribution of the sample proportion may be approximated by a
normal distribution with mean p and variance pq.
p − p0
z=
p0 q 0
n
where q 0 = (1 − p0 )
Aninvestment
An investmentanalyst
analystfor
forGoldman
GoldmanSachs
Sachsand
andCompany
Companywanted
wantedtototest
testthe
thehypothesis
hypothesis
madeby
made byBritish
Britishsecurities
securitiesexperts
expertsthat
that70%
70%of ofall
allforeign
foreigninvestors
investorsininthe
theBritish
Britishmarket
market
wereAmerican.
were American. The Theanalyst
analystgathered
gatheredaarandom
randomsample
sampleofof210
210accounts
accountsofofforeign
foreign
investorsininLondon
investors Londonandandfound
foundthat
that130
130were
wereowned
ownedby byU.S.
U.S.citizens.
citizens. At theαα ==0.05
Atthe 0.05
levelofofsignificance,
level significance,isisthere
thereevidence
evidencetotoreject
rejectthe
theclaim
claimofofthe
theBritish
Britishsecurities
securitiesexperts?
experts?
n = 210
HH0:0:pp==0.70
0.70
130
HH1:1:pp≠≠ 0.70
0.70 p =
210
= 0.619
nn==210210
Forαα ==0.05
For 0.05critical
criticalvalues
valuesof ofzzare
are±1.96
±1.96 p - p
0 0.619 - 0.70
z= =
Thetest
The teststatistic is: z = p − p 0
statisticis: p q (0.70)(0.30)
p0 q 0 0 0
n 210
n
Donot
Do notreject
rejectHH0if: [-1.96≤≤ zz ≤≤ 1.96]
if:[-1.96 1.96] -0.081
0 = = −2.5614 ⇒ Reject H
RejectHH0if:
Reject if:[z[z<<-1.96]
-1.96]oror [z[z>> 1.96]
1.96] 0.0316 0
0
Null Hypothesis H0: p=p0
H0: p ≤ 0.10
H1: p > 0.10
IfIfaction
actionisistotobe
betaken
takenififaaparameter
parameterisisless
lessthan
thansome
somevalue
valuea,a,then
thenthe
the
alternativehypothesis
alternative hypothesisisisthat
thatthe
theparameter
parameterisisless
lessthan
thana,a,and
andthe
thetest
testisisaa
left-tailedtest.
left-tailed test. HH0:0:µµ ≥≥ 5050
HH1:1:µµ << 50
50
IfIfaction
actionisistotobe
betaken
takenififaaparameter
parameterisiseither
eithergreater
greaterthan
thanor
orless
lessthan
thansome
some
valuea,a,then
value thenthethealternative
alternativehypothesis
hypothesisisisthat
thatthe
theparameter
parameterisisnot
notequal
equaltotoa,a,
andthe
and thetest
testisisaatwo-tailed test. HH:0:µµ == 50
two-tailedtest. 50
0
HH1:1:µµ ≠≠ 50
50
Null Hypothesis H0: µ ≤ µ0 Critical Points of z
(One-Tailed Test)
Alternative Hypothesis H0: µ >µ0 α zα
rejectionregion
rejection regionininthe
theupper
uppertail.
tail.
0 .3 (1-α )
Foraa5%
For 5%right-tailed
right-tailedtest,
test,the
thecritical
criticalvalue
valueofofzz
f(z)
0 .2
1.645
isis1.645 0 .1 α
Thenonrejection
The nonrejectionregion
regionis:
is: 0 .0
[z[z≤≤ 1.645]
1.645] -5 0 5
z zα
Nonrejection Rejection
Therejection
The rejectionregion
regionis:
is: Region Region
[z[z>> 1.645]
1.645]
Thetest
The teststatistic
statisticis:
is:
x − µ0
z=
s
n
TheEPA
The EPAsetssetslimits
limitsononthe
theconcentrations
concentrationsofofpollutants
pollutantsemitted
emittedby byvarious
variousindustries.
industries. Suppose
Supposethat
thatthe
the
upperallowable
upper allowablelimitlimitononthe
theemission
emission ofofvinyl
vinylchloride
chlorideisisset
setatatan
anaverage
averageofof55 55ppm
ppmwithin
withinaarange
rangeofoftwo
two
milesaround
miles aroundthe theplant
plantemitting
emittingthis
thischemical.
chemical. ToTocheck
checkcompliance
compliancewith withthis
thisrule,
rule,the
theEPA
EPAcollects
collectsaa
randomsample
random sampleofof100 100readings
readingsatatdifferent
differenttimes
timesand
anddates
dateswithin
withinthe thetwo-mile
two-milerange
rangearound
aroundthe
theplant.
plant.
Thefindings
The findingsarearethat
thatthe
thesample
sampleaverage
averageconcentration
concentrationisis6060ppm
ppmand andthe
thesample
samplestandard
standarddeviation
deviationisis20
20
ppm. IsIsthere
ppm. thereevidence
evidencetotoconclude
concludethat
thatthe
theplant
plantininquestion
questionisisviolating
violatingthethelaw?
law?
HH0:0:µµ ≤≤ 55 55 n = 100
x = 60
HH1:1:µµ >55
>55 s = 20
nn==100100
Forαα ==0.01,
For 0.01,the
thecritical
criticalvalue
value x − µ0 60 - 55
z= =
ofzzisis2.326
of 2.326 s 20
x − µ0 n 100
z=
Thetest
The teststatistic
statisticis:
is: s
n 5
= = 2.5 ⇒ Reject H
Donot
Do notreject
rejectHH0if:if:[z[z≤≤ 2.326]
2.326] 2 0
0
if:[z[z>2.326]
RejectHH0if:
Reject >2.326]
0
Critical Point for a Right-Tailed Test Sincethe
Since thetest
teststatistic
statisticfalls
fallsin
in
0 .4
therejection
the rejectionregion,
region,HH00isis
0.99
rejected,and
andwewemay
mayconclude
conclude
0 .3
rejected,
f(z)
thatthe
theaverage
averageconcentration
concentration
0 .2
that
0 .1 0.01
ofvinyl
of vinylchloride
chlorideisismore
morethan
than
0 .0
-5 0 5 55ppm.
55 ppm.
z 2.326
2.5
Nonrejection Rejection
Region Region
Null Hypothesis H0: µ ≥ µ0 Critical Points of z
(One-Tailed Test)
Alternative Hypothesis H0: µ < µ0
α -zα
rejectionregion
rejection regionininthe
thelower
lowertail.
tail.
0 .3 (1-α )
Foraa5%
For 5%left-tailed
left-tailedtest,
test,the
thecritical
criticalvalue
valueofofzzisis
f(z)
0 .2
-1.645
-1.645
0 .1 α
Thenonrejection
The nonrejectionregion
regionis:
is: 0 .0
[z[z≥≥ −−1.645] -5 0 5
1.645] -zα z
Rejection Nonrejection
Therejection
The rejectionregion
regionis:
is: Region Region
[z[z<< −−1.645]
1.645]
Thetest
teststatistic
statisticis:
is: x − µ0
The z=
s
n
A certain kind of packaged food bears the following statement on the package: “Average net weight 12 oz.”
Suppose that a consumer group has been receiving complaints from users of the product who believe that they are
getting smaller quantities than the manufacturer states on the package. The consumer group wants, therefore, to
test the hypothesis that the average net weight of the product in question is 12 oz. versus the alternative that the
packages are, on average, underfilled. A random sample of 144 packages of the food product is collected, and it is
found that the average net weight in the sample is 11.8 oz. and the sample standard deviation is 6 oz. Given these
findings, is there evidence the manufacturer is underfilling the packages?
HH0:0:µµ ≥≥ 12 12 n = 144
x = 11.8
HH1:1:µµ << 1212
s = 6
nn==144144
Forαα ==0.05,
For 0.05,the
thecritical
criticalvalue
value
ofzzisis-1.645
-1.645 x−µ
of z= 0 = 11.8 -12
x − µ0 s 6
z=
Thetest
teststatistic
statisticis:
is: s n 144
The
n
Donot
notreject
rejectHH0if:if:[z[z≥≥-1.645]
-1.645] -.2
Do = = −0.4 ⇒ Do not reject H
0 .5 0
if:[z[z<−
RejectHH0if:
Reject <−1.645]
1.645]
0
Critical Point for a Left-Tailed Test Sincethe
Since thetest
teststatistic
statisticfalls
fallsin
in
0.4
thenonrejection
the nonrejectionregion,
region,HH00isis
0.95
notrejected,
rejected,and
andwewemay
maynotnot
0.3
not
f(z)
concludethat
thatthe
the
0.2
0.05 conclude
0.1
manufacturerisisunderfilling
manufacturer underfilling
0.0
-5 0 5 packageson
packages onaverage.
average.
-1.645 z
-0.4
Rejection Nonrejection
Region Region
One-Sided Confidence Interval
Nonrejection Region
AAone-sided
one-sidedconfidence
confidenceinterval
intervalcontains
containsthe
thehypothesized
hypothesized
valueof
value ofaaparameter
parameterififan
anonly
onlyififaaone-tailed
one-tailedtest
test(in
(indirection
direction
oppositeto
opposite tothe
theconfidence
confidenceinterval,
interval,using
usingthe
thecorresponding
corresponding
levelof
level significance,αα ))would
ofsignificance, wouldlead
leadto
tononrejection
nonrejectionofofthe
thenull
null
hypothesis.
hypothesis.
AAfloodlight
floodlightisissaid
saidtotolast
lastan
anaverage
averageofof65 65hours.
hours. AAcompetitor
competitorbelieves
believesthat
thatthe
theaverage
averagelife
lifeofofthe
the
floodlightisisless
floodlight lessthan
thanthat
thatstated
statedbybythe
themanufacturer
manufacturerand
andsets
setsout
outtotoprove
provethat
thatthe
themanufacturer’s
manufacturer’s
claimisisfalse.
claim false. AArandom
randomsamplesampleofof2121floodlight
floodlightelements
elementsisischosen
chosenandandshows
showsthat
thatthe
thesample
sample
averageisis62.5
average 62.5hours
hoursandandthe
thesample
samplestandard
standarddeviation Usingαα=0.01,
deviationisis3.3. Using =0.01,determine
determinewhether
whether
thereisisevidence
there evidencetotoconclude
concludethat thatthe
themanufacturer’s
manufacturer’sclaim
claimisisfalse.
false.
HH0:0:µµ ≥≥ 65
65
HH1:1:µµ << 65
65
nn==21 21
Forαα ==0.01
For 0.01anan(21-1)
(21-1)==20
20df,
df,the
the
criticalvalue
critical value-2.528
-2.528
Thetest
The teststatistic
statisticis:
is:
Donot
Do notreject
rejectHH0if:if:[t[t≥≥-2.528]
-2.528]
0
if:[z[z<< −−
RejectHH0if:
Reject 2.528]
2.528]
0
Critical Point for a Left-Tailed Test Sincethe
Since thetest
teststatistic
statisticfalls
fallsin
in
0 .4
therejection
the rejectionregion,
region,HH00isis
0.95
rejected,andandwe wemaymayconclude
conclude
0 .3
rejected,
f(t)
thatthe
themanufacturer’s
manufacturer’sclaim claim
0 .2
0.05 that
isisfalse,
false,that
thatthe
theaverage
average
0 .1
floodlightlifelifeisisless
lessthan
than6565
0 .0
-5
-2.528
0 5
t
floodlight
-3.82 hours.
hours.
Rejection Nonrejection
Region Region
“Afterlooking
lookingatat1349
1349hotels
hotelsnationwide,
nationwide,we’ve
we’vefoundfound1313that
thatmeet
meetour
ourstandards.”
standards.”This
Thisstatement
statementby bythe
theSmall
SmallLuxury
LuxuryHotels
Hotels
“After
Associationimplies
impliesthat
thatthe
theproportion
proportionofofallallhotels
hotelsininthe
theUnited
UnitedStates
Statesthat
thatmeet
meetthe
theassociation’s
association’sstandards
standardsisis13/1349=0.0096.
13/1349=0.0096.The The
Association
managementofofa ahotel
hotelthat
thatwas
wasdenied
deniedacceptance
acceptancetotothe theassociation
associationwanted
wantedtotoprove
provethat
thatthe
thestandards
standardsarearenotnotasasstringent
stringentasasclaimed
claimed
management
and that, in fact, the proportion of all hotels in the United States that would qualify is higher than 0.0096. The management hired an
and that, in fact, the proportion of all hotels in the United States that would qualify is higher than 0.0096. The management hired an
independentresearch
researchagency,
agency,which
whichvisited
visiteda arandom
randomsample
sampleofof600600hotels
hotelsnationwide
nationwideandandfound
foundthat
that77ofofthem
themsatisfied
satisfiedthe
theexact
exact
independent
standards set by the association. Is there evidence to conclude that the population proportion of all hotels in the country satisfying the
standards set by the association. Is there evidence to conclude that the population proportion of all hotels in the country satisfying the
standardsset
setbybythe
theSmall
SmallLuxury
Luxuryhotels
hotelsAssociation
Associationisisgreater
greaterthan
than0.0096?
0.0096?
standards
HH0:0:pp≤≤ 65
65
HH1:1:pp>> 65
65
nn==600600
Forαα ==0.10
For 0.10 the
thecritical
criticalvalue
value1.282
1.282
Thetest
The teststatistic
statisticis:
is:
Donot
Do notreject
rejectHH0if:if:[z[z≤≤1.282]
1.282]
0
if:[z[z>1.282]
RejectHH0if:
Reject >1.282]
0
Critical Point for a Right-Tailed Test Sincethe
Since thetest
teststatistic
statisticfalls
fallsin
in
0 .4
thenonrejection
the nonrejectionregion,
region,HH00isis
0.90
notrejected,
rejected,andandwewemay
maynotnot
0 .3
not
f(z)
concludethatthatproportion
proportionof ofall
all
0 .2
conclude
0 .1 0.10
hotelsin
hotels inthe
thecountry
countrythatthatmeet
meet
0 .0
-5 0 5 theassociation’s
the association’sstandards
standardsisis
z 1.282
0.519 greaterthan
greater than0.0096.
0.0096.
Nonrejection Rejection
Region Region
Standard Normal Distribution Standard Normal Distribution
0.4 0.4
p-value=area to
p-value=area to
0.3 right of the test statistic 0.3
right of the test statistic
=0.3018
=0.0062
f(z)
f(z)
0.2 0.2
0.1 0.1
0.0 0.0
-5 0 0.519 5 -5 0 5
z 2.5 z
Example 12 Example 8
Thep-value
The p-valueisisthe
theprobability
probabilityof
ofobtaining
obtainingaavalue
valueof
ofthe
thetest
teststatistic
statisticas
asextreme
extremeas,
as,
ormore
or moreextreme
extremethan,
than,the
theactual
actualvalue
valueobtained,
obtained,when
whenthe
thenull
nullhypothesis
hypothesisisistrue.
true.
Thep-value
The p-valueisisthe
thesmallest
smallestlevel
levelof significance,αα , ,atatwhich
ofsignificance, whichthe
thenull
nullhypothesis
hypothesis
maybe
may berejected
rejectedusing
usingthe
theobtained
obtainedvalue
valueof
ofthe
thetest
teststatistic.
statistic.
Whenthe
When thep-value
p-valueisissmaller
smallerthan
than0.01,
0.01,the
theresult
resultisiscalled
calledvery
very
significant.
significant.
Whenthe
When thep-value
p-valueisisbetween
between0.01
0.01and
and0.05,
0.05,the
theresult
resultisiscalled
called
significant.
significant.
Whenthe
When thep-value
p-valueisisbetween
between0.05
0.05and
and0.10,
0.10,the
theresult
resultisisconsidered
considered
bysome
by someas
asmarginally
marginallysignificant
significant(and
(andby
bymost
mostasasnot
notsignificant).
significant).
Whenthe
When thep-value
p-valueisisgreater
greaterthan
than0.10,
0.10,the
theresult
resultisisconsidered
considerednot
not
significant.
significant.
p-value=double the area to
left of the test statistic
=2(0.3446)=0.6892
0.4
f(z) 0.3
0.2
0.1
0.0
-5 0 5
-0.4 0.4
z
Example 9
Inaatwo-tailed
In two-tailedtest,
test,we
wefind
findthe
thep-value
p-valueby
bydoubling
doublingthethearea
areainin
thetail
the tailof
ofthe
thedistribution
distributionbeyond
beyondthe
thevalue
valueof
ofthe
thetest
teststatistic.
statistic.
Thefurther
The furtheraway
awayininthe
thetail
tailof
ofthe
thedistribution
distributionthe
thetest
teststatistic
statisticfalls,
falls,the
thesmaller
smaller
isisthe
thep-value
p-valueand,
and,hence,
hence,the
themore
moreconvinced
convincedwe weare
arethat
thatthe
thenull
nullhypothesis
hypothesisisis
falseand
false andshould
shouldbe
berejected.
rejected.
Inaaright-tailed
In right-tailedtest,
test,the
thep-value
p-valueisisthe
thearea
areatotothe
theright
rightof
ofthe
thetest
teststatistic
statisticififthe
the
teststatistic
test statisticisispositive.
positive.
Inaaleft-tailed
In left-tailedtest,
test,the
thep-value
p-valueisisthe
thearea
areatotothe
theleft
leftof
ofthe
thetest
teststatistic
statisticififthe
the
teststatistic
test statisticisisnegative.
negative.
Inaatwo-tailed
In two-tailedtest,
test,the
thep-value
p-valueisistwice
twicethe
thearea
areatotothe
theright
rightof
ofaapositive
positivetest
test
statisticor
statistic ortotothe
theleft
leftof
ofaanegative
negativetest
teststatistic.
statistic.
Foraagiven
For givenlevel
levelof significance, αα ::
ofsignificance,
Rejectthe
Reject thenull
nullhypothesis
hypothesisififand onlyifif αα ≥≥ p-value
andonly p-value