BFS 1024 Statistics For Finance: Topic 7: Hypothesis Testing I (One Sample Test)
BFS 1024 Statistics For Finance: Topic 7: Hypothesis Testing I (One Sample Test)
BFS 1024 Statistics For Finance: Topic 7: Hypothesis Testing I (One Sample Test)
Hypothesis testing
Procedure of Hypothesis Testing with
different condition.
Chap 7-2
Hypothesis Statement
Hypothesis Testing
Chap 7-3
Procedure of Hypothesis Testing
Chap 7-4
Step One:
State the null & alternate hypotheses
Chap 7-5
Step One:
State the null & alternate hypotheses
Chap 7-6
Example
The average income of employees at a company was
reported more than RM1800. Find the evidence to
support the claim.
Chap 7-7
Table of Risk in Decision Making
Chap 7-12
Step Two:
Determine the critical values
The value that separates the rejection region &
the non-rejection region.
The critical value depends on three factors:
Level of significance, α
Type of hypothesis statement; two-sided or one-
sided test
Type of test; Z-test or t-test
Chap 7-13
Critical Values
Sample of a Two-Tailed Test
Region of Rejection Region of Rejection
(RR) (RR)
Critical Values
Reject H0 if the Reject H0 if the
test statistic < critical value test statistic > critical value
Step 2: Determine the critical values
Claim: The population mean
a/2 Represents
age is 50. critical value
a/2
H0: μ = 50
H1: μ ≠ 50 Two-tailed test
H0: μ ≤ 50 Upper-tailed a
test
Rejection
H1: μ > 50 region is
0 shaded
H0: μ ≥ 50 Lower-tailed a
test
H1: μ < 50
0
Step Three:
Choose the suitable Test Statistic
Test statistic
Chap 7-9
Hypothesis Testing
Population Population
Mean Proportion
s known s unknown
z-test
z-test t-test
Chap 7-17
Test Statistic
Hypothesis Testing on Population Mean :
X m
Z
s When s is known
n
X m
t
s When s is unknown
n
Two-Sided Test
Reject H0 if
Z-test statistic < Z a / 2 or Z-test statistic > Za /2
p – value
known as the observed level of significance.
It is the smallest level at which H0 can be rejected
for a given set of data.
Chap 7-14
Step Five:
Decision Making
Conclusion :
Reject H0 or Do Not Reject H0 by
comparing the test-statistic with the critical value
or
comparing the p-value with a .
Chap 7-21
EXAMPLE 1
The company claims that its bottle contains 16 ounces
of ketchup. The standard deviation of the content is
known to be 0.5 ounces. A sample of 36 bottles from
the production revealed a mean weight of 16.12 ounces
per bottle. At the 0.05 significance level, is the
production different from 16 ounces?
Chap 7-22
Test for the Population Mean (s known)
n 36 X 16.12 s 0.5 a 0.05
Hypothesis H0: m = 16 ounces
H1: m 16 ounces (Two-tailed test)
X m 16.12 16.00
Test-statistic z 1.44
s n 0.5 36
Since Z-test 1.44 is within Z0.05/2 1.96,
Conclusion
so, Do Not Reject H0 Chap 7-23
What is the p-value?
Decision rule:
If the p-value a ==> Do Not Reject H0
If the p-value < a ==> Reject H0
Chap 7-25
Test for the Population Mean (s known)
n 172 X $407 s $38 a 0.05
Hypothesis H0: m < $400
H1: m > $400 (One-tailed test)
X m 407 400
Test-statistic z 2.42
s n 38 172
Since Z-test 2.42 > Z0.05 1.645, so,
Conclusion
Reject H0. Chap 7-26
What is the p-value?
Decision rule:
If the p-value a ==> Do Not Reject H0
If the p-value < a ==> Reject H0
Chap 7-27
EXAMPLE 3
The current rate for producing 5 amp fuses is 250 per
hour. A new machine has been purchased and installed
that, according to the supplier, will increase the
production rate. The production hours are normally
distributed. A sample of 10 randomly selected hours
from last month revealed that the mean hourly production
on the new machine was 256, with a sample standard
deviation of 6 per hour.
At the 0.05 significance level, can we conclude that
the new machine is faster?
X m 256 250
Test-statistic t 3.16
s n 6 10
Since t-test 3.16 > t0.05,9 1.833, so,
Conclusion
Reject H0 Chap 7-29
EXAMPLE 4
Chap 7-24
Test for the Population Proportion
n 200 p 25
200
0.125 a 0.05
Chap 7-32
EXERCISE 1
Chap 7-35