Professional Documents
Culture Documents
Hypothesis Testing
Hypothesis Testing
TESTING
DECISION
DECISION
SITUATION
SITUATION
ACCEPT
ACCEPT NULL
NULL REJECT
REJECT NULL
NULL
Type
Type II Error
Error
Null is true Correct
Correct
((𝛼 error)
error)
Type
Type IIII Error
Error
Null is false Correct
Correct
(( error)
error)
Two-tailed test @ 5% Significance
level Acceptance and Rejection
regions in case of a Two-tailed
Suitable when 𝐻00test
: 𝜇 = 𝜇00 and 𝐻𝑎𝑎 : 𝜇
𝜇00
𝑅𝑒𝑗𝑒𝑐𝑡𝑖𝑜𝑛 𝑅𝑒𝑗𝑒𝑐𝑡𝑖𝑜𝑛
𝑟𝑒𝑔𝑖𝑜𝑛 𝑟𝑒𝑔𝑖𝑜𝑛
/𝑠𝑖𝑔𝑛𝑖𝑓𝑖𝑐𝑎𝑛𝑐𝑒 Total /𝑠𝑖𝑔𝑛𝑖𝑓𝑖𝑐𝑎𝑛𝑐𝑒
𝑙𝑒𝑣𝑒𝑙 (𝛼 = 𝐴𝑐𝑐𝑒𝑝𝑡𝑎𝑛𝑐𝑒 𝑙𝑒𝑣𝑒𝑙 (𝛼 =
0.025 𝑜𝑟 2.5%) 𝑟𝑒𝑔𝑖𝑜𝑛 𝑜𝑟 0.025 𝑜𝑟 2.5%)
𝑐𝑜𝑛𝑓𝑖𝑑𝑒𝑛𝑐𝑒 𝑙𝑒𝑣𝑒𝑙
(1 − 𝛼) = 95%
𝐻0 : 𝜇 = 𝜇0
Left-tailed test @ 5% Significance
level Acceptance and Rejection
regions in case of a left-tailed
Suitable when 𝐻
test
00
: 𝜇 = 𝜇00 and 𝐻𝑎𝑎 :
𝜇 𝜇00
𝑅𝑒𝑗𝑒𝑐𝑡𝑖𝑜𝑛
𝑟𝑒𝑔𝑖𝑜𝑛
/𝑠𝑖𝑔𝑛𝑖𝑓𝑖𝑐𝑎𝑛𝑐𝑒 Total
𝑙𝑒𝑣𝑒𝑙 (𝛼 = 0.05 𝑜𝑟 𝐴𝑐𝑐𝑒𝑝𝑡𝑎𝑛𝑐𝑒
5%) 𝑟𝑒𝑔𝑖𝑜𝑛 𝑜𝑟
𝑐𝑜𝑛𝑓𝑖𝑑𝑒𝑛𝑐𝑒 𝑙𝑒𝑣𝑒𝑙
(1 − 𝛼) = 95%
𝐻0 : 𝜇 = 𝜇0
Right-tailed test @ 5% Significance
level Acceptance and Rejection
regions in case of a right-tailed
Suitable when 𝐻
test
00
: 𝜇 = 𝜇00 and 𝐻𝑎𝑎 :
𝜇 𝜇00
𝑅𝑒𝑗𝑒𝑐𝑡𝑖𝑜𝑛
𝑟𝑒𝑔𝑖𝑜𝑛
Total /𝑠𝑖𝑔𝑛𝑖𝑓𝑖𝑐𝑎𝑛𝑐𝑒
𝐴𝑐𝑐𝑒𝑝𝑡𝑎𝑛𝑐𝑒 𝑙𝑒𝑣𝑒𝑙 (𝛼 = 0.05 𝑜𝑟
𝑟𝑒𝑔𝑖𝑜𝑛 𝑜𝑟 5%)
𝑐𝑜𝑛𝑓𝑖𝑑𝑒𝑛𝑐𝑒 𝑙𝑒𝑣𝑒𝑙
(1 − 𝛼) = 95%
𝐻0 : 𝜇 = 𝜇0
Procedure for Hypothesis Testing
1 State the null (𝐻 ) hypothesis
0
0
3 Determine
tailed)
if type off Test (Left-tailed, one-tailed or two-
9 (accept) H
Make decision on whether to reject or not to reject
1 0.
0.
Compare the p-
value with
calculated value
If is known If is
unknown
Example 1:
A principal at a certain school claims that the students
in his school are above average intelligence. A random
sample of thirty students IQ scores have a mean score
of 112.5. Is there sufficient evidence to support the
principal’s claim? The mean population IQ is 100 with a
standard deviation of 15. IQ’s are normally distributed.
Solution:
Step 1: State the Null Hypothesis.
H0: The accepted fact is that the population mean is
100, so: H0: μ=100
Step 2: State the Alternate Hypothesis.
Ha: The claim is that the students have above average
IQ scores, so: Ha: μ > 100.
Step 3: State the type of test: One-tailed
(or simply right-tailed to be more definite)
Step 4: State the alpha level. 0.05
(Note 0.05 shall be used unless otherwise indicated in the
problem)
Solution:
Step 5: Establish Test statistic. z-
test
Step 6: Use appropriate X - m0
formula z=
s
n
Step 7: Compute Test statistic
value z = 4.56
Solution:
Step 8: Illustrate tabular value. First set our critical
value. It is simpler to determine the z-score from our
SND table. For the significance level 5% in a one-
tailed test is 1.645,
Solution:
Step 8: The critical value z may also be obtained
using the
z-table.
45%
5%
1.645
45% (0.4500) is so far midway between P(z=1.64) =
0.4495 and P(z=1.65) = 0.4505 and we can say that
P(z=1.645) = 0.4500.
Solution:
Step 8: The critical
value z may also be
P(z=1.640) = 0.4495
obtained using the z-
table. P(z=1.645) = 0.4500
P(z=1.64) = 0.4495 P(z=1.650) = 0.4505
and
P(z=1.65) = 0.4505
We can say that
Z = 1.64 Z = 1.65
P(z=1.645) =
0.4500.
Solution:
Step 8: Acceptance 4.56 lies to the
Hence, region right of the
critical value
1.645
Rejection
region
1.645
4.56
Step 3: Left-tailed
Step 4: Level of significance 0.05
Step 5: Test statistic. t-test
[Since n=5 (n<30), so t-test is used.]
Solution:
Step 6: Use appropriate
formula
t = 2.1318
Solution:
Acceptance 4.56 lies to the
region left of the
critical value
Rejection 1.645
region
−2.1318
-2.152