Hypothesis Testing
Hypothesis Testing
PROFESSOR (STATISTICS)
MODULE 9
1. Null hypothesis
2. Alternative/Research hypothesis
Null Hypothesis states that the null condition exists; that is, there is
nothing new happening. It is a statement of what the researcher believes
will be the outcome of an experiment or a study. The Null hypothesis can
be written as H0. (read as H subzero). Meaning there is no change.
Level of Significance
After setting up the null and alternative hypothesis, the next step is
to state the level of significance. (1% to 15%)
H0: The mean income of males is greater than the mean income of
females. It can be written as:
One-Tailed Test
Decision:
If the computed value is greater than or equal to the critical value at a given
level of significance, then we reject the null hypothesis, otherwise we do not
reject the null hypothesis.
T computed ≥ t critical, Reject the null hypothesis
Step 1. Find the mean for both the before and after tests.
Σ x 1 523 Σ x 2 595
x1 = = = 58.11; x2 = = = 66.11
n1 9 n2 9
Step 2. Find the standard deviation of the means
SD =
√ D2
N
−(X 1− X 2)2 =
9 √
1070 – (58.11-66.11)2 =
√ 118.89−¿ ¿
7.41 7.41
SD = = = 2.62
√ 9−1 2.83
Step 4. Translate the sample mean difference into units of standard error
of the mean difference. (t-ratio)
x1−¿ x 58.11−66.11 −8
t= 2
¿= = = - 3.05
sD 2.62 2.62
Step 5. Determine the degrees of freedom.
df =n-1 = 9-1 = 8
Step 6. Compare the t-computed (-3.05) and the t-critical (2.306)
Step 7. Decision Rule. Reject the null hypothesis. Since the computed value (-
3.05) is greater than the critical value (2.306) at 5% level of significance
with 8 degrees of freedom.
DECISION RULE:
If the computed or obtained value is greater than the critical value at a
given level of significance with a given degrees of freedom, reject the
null hypothesis, otherwise do not reject.
Variable 1 Variable 2
Mean 58.11111111 66.11111111
Variance 70.86111111 79.36111111
Observations 9 9
HERMELITA M. ANTIVOLA, Ph.D.
PROFESSOR (STATISTICS)
Years in prison
Black (x1) 4 8 7 3 5 4 5 4
White (x2) 3 5 4 7 5 5 6 4 3 2
Sx 1−¿ x ¿
2
=
√ (N 1 S 12 + N 2 S 22 )( N 1 + N 2 )
(N 1+ N 2−1 )(N 1 N 2)
Decision Rule: If the computed t value is less than the t-critical, do not
reject the NULL Hypothesis, or
IF the computed value is greater than the critical t-value, reject the Null
Hypothesis.
Decision Rule: Reject the null hypothesis because the computed value
(3.05) is greater than the critical t-ratio (1.75) at 5 degrees of
freedom with 5% level of significance.
NOTE: Start using the program (in Excel) to solve the problems in hypothesis
testing.