Hypothesis Testing
Hypothesis Testing
A conjecture about.....
1.The value of the parameter of the population
2.The distribution of the population
Types of Hypotheses
•Null hypothesis (Ho)- is usually a statement of
equality or no difference.
•Alternative Hypothesis (Ha)- is the
complementary statement that will be accepted in
the event that the Ho is rejected.
Example:
In symbols,
Ho: μ = 500 pesos
• Reject Ho
•“Fail to reject Ho
Consequences of Decisions Made in
Hypothesis Testing
Decision Ho is actually
Made True False
a. known; n <> 30
= 0 < 0 Z < - Z
X 0 > 0 Z > Z
Z
/ n Z > Z/2
0
b. unknown; n < 30
= 0 < 0 t < - t
X 0 t > t
t > 0
s/ n
0 t > t/2
n 1
c. If unknown and n > 30, use (a) replacing the test stat by
X 0
Z
s/ n
Examples:
Two Cases:
Find a 98% CI for the true difference between the two learning procedures.
Parameter of Interest
Difference between the means of two
populations denoted by 1 2
Hypotheses
H0: D = d0 where D0 is the hypothesized
value of D against one of the
three alternatives below.
where:
n n 2
2
di di nd
i 1
d i 1 Sd
n n 1
d D 0.7
tc 1.48
sd / n 1.4944 / 10
1 - 2 = d0 ( X1 X 2 ) d0 t < - t
t
1 1 t > t
Sp
n1 n2 -same- t > t/2
n1 n2 2
n1 n2 2
Two Independent Populations:
(X X ) d
z 1 2 0
1 1
S
p n n
1 2
Example:
An experiment was performed to compare the abrasive
wear of 2 different laminated materials. Twelve pieces of
material 1 were tested by exposing each piece to a
machine measuring wear. Ten pieces of material 2 were
similarly tested. In each case, the depth wear was
observed. The samples of Material 1 gave an average
(coded) wear of 85 units with a sample standard
deviation of 4, while the samples of Material 2 gave an
average of 81 and a standard deviation of 5. Can we
conclude at the 0.05 level of significance that the
abrasive wear of Material 1 exceeds that of material 2
by more than 2 units? Assume the populations to be
approximately normal with equal variances.
In a study of the effectiveness of physical exercise
on weight reduction, a simple random sample of
eight persons engaged in a prescribed program of
physical exercise for one month gave the following
data on their weight (lbs.) before and after the
program.
Sample Problems:
i.
Y 2
TrSS i 1
CF Treatment Sum of Squares
ni
ESS TSS TrSS Total Sum of Squares
Assumptions to the ANOVA
A 84 90 76 62 72 81 70
B 75 85 91 98 82 75 74
C 72 60 74 85 77 60 62
D 88 98 70 95 86 80 75