SP Module-9
SP Module-9
”The country will experience El Nin̄o phenomenon in the next few months.”
Observe that
• the pronouncement is a claim that may be true or false. Such claim could be referred
to as a statistical hypothesis.
• There are two possible actions that one can do with the statement. These actions are
either to accept the statement or to reject it.
On the other hand, when the statement is rejected because we think it is false, possible
consequences are
(a) we are not prepared for rice and water shortage;
(b) farmers experience great loss on production; or
(c) we do not do anything.
• Some of the consequences are tolerable while other consequences are severe. Experi-
encing a few days of water shortage is tolerable but having rice shortage for a month or
two is unbearable. The degree of the possible consequence is the basis in making
the decision. If the consequences of accepting the claim that El Niño phenomenon is
going to happen are tolerable, then we may not reject the pronouncement. However,
if the consequences are severe, then we reject the claim.
• The validity of the statement could be tested based on some empirical facts. We may
also say that the validity of this statement can be accessed through a series of steps
known as test of hypothesis
2. Alternative Hypothesis
An alternative hypothesis, denoted by Ha , is the claim that is accepted in case the
null hypothesis is rejected.
NOTE: The null and alternative hypotheses are complementary and must not overlap. The
usual pairs are as follows:
(a) Ho : P arameter = V alue versus Ha : P arameter 6= V alue;
The following table shows the two actions that one can make on the hypothesis and
the corresponding consequences in taking such actions:
The table shows that there are no errors committed when we reject a false hypothesis
and when we fail to reject a true hypothesis. On the other hand, an error is committed
when we reject a true hypothesis and such error is called a Type I error. Also, when we
fail to reject (accept) a false hypothesis, we are committing a Type II error.
As mentioned earlier, for every action that one takes, there are consequences. When we
commit an error, there are consequences, too. Since it is an error in decision making, the
consequences may be tolerable or too severe, severe enough to cause lives. In Statistics, we
measure that chance of committing the error so we will have a basis in making a decision.
EXAMPLES In each of the following, state the null and alternative hypothesis and describe
the Type 1 and Type II errors.
3. Alden is exclusively dating Maine. He remembers that on their first date, Maine told
him that her birthday was this month. However, he forgot the exact date. Ashamed
to admit that he did not remember, he decides to use hypothesis testing to make an
educated guess that today is Maine’s birthday. Help Alden do it.
Answer:
Ho:Today is Maine’s birthday
Ha:Maine’s birthday is on another day and not today.
Type I error is committed when Alden’s guess of Maine’s birthday is not on this
day and a possible consequence is that Alden failed to greet or give Maine a birthday
gift today. On the other hand, Type II error is committed when Alden guessed that
today is Maine’s birthday. A possible consequence of this Type II error is that Alden
made the mistake of greeting Maine a happy birthday on that day.
LESSON 2: STEPS IN HYPOTHESIS TESTING
TOPIC OUTLINE:
A test of hypothesis is a series of steps that starts with the formulation of the null and
the alternative hypotheses and ends with stating the conclusion. The following is a sum-
mary of these steps:
2. Identify the test statistic to use. With the given level of significance and the distribu-
tion of the test statistics, state the decision rule and specify the rejection region.
3. Using a simple random sample of observation, compute for the value of the test
statistic.
1. When formulating the hypothesis to be tested, remember that we do not know the true
state of nature of the hypothesis, that is, whether the hypothesis is true or false. Take
into consideration the two types of hypothesis to state namely:the null hypothesis and
the alternative hypothesis.
2. The level of significance, usually denoted as α in doing the test of hypothesis, is the
same α that we encounter in the discussion of the (1−α)% confidence interval estimate.
confidence interval estimate.
We also have
3. The test statistic is a standardized expression of the point estimator of the parameter
identified in the hypothesis. The value of the test statistic is based on the random
sample of observations gathered or collected for the purpose of the test of hypothesis. A
critical value identifies the value of the test statistic that would lead to the rejection of
Ho at the chosen level of significance. It ia also important to note that the distribution
of the test statistic is also needed to be specified.
4. Part of the decision rule is the specification of the rejection region or critical
region. The rejection region is a part of the set of all possible values of a test statistic
for which Ho is rejectedand it is bounded by the critical value or values of the test
statistic.
With the computed value of the test statistic, the next step is to use the decision rule
to make a decision whether to reject or fail to reject (accept) the null hypothesis.
“At a given α = 0.05, we reject Ho if the computed test statistic (denoted as tc ) is greater
than a tabular value of the t-distribution with n − 1 degrees of freedom. Otherwise, we fail
to reject Ho .”
In this decision rule, the level of significance is set is set at α equal to 0.05 and the
test statistic is denoted by tc which is assumed to follow the Student’s t-distribution with
n − 1 degrees of freedom. The rejection region is the area to the right of the tabular value
obtained from the Student’s t-distribution with n − 1 degrees of freedom. Such rejection
region is illustrated in the following figure.
EXAMPLES
= P [Z ≥ 1.60]
= 1 - P [Z < 1.60]
= 1 - 0.9452 = 0.0058.
Thus, we say the probability of rejecting a true null hypothesis is 0.0058 or we say
that on the average, we are assured with 94.52% (1-0.0058 = 0.9452) confidence that
we are making a correct decision in accepting a true null hypothesis.
(b) The alternative hypothesis is stated as “The average daily number of text mes-
sages that a Grade 11 student sends is greater than 100.” If we assume that the true
distribution of the number of text messages that a Grade 11 student sends in a day
follows a normal distribution with a mean of 103 and a standard deviation equal to 5
text messages, then compute the probability of Type II error.
Solution Computing for the probability of committing Type II error, we have
β = P[Committing a Type II error]
= P[Accept Ho |Ho is False]=P[Accept Ho |Ha is True]
= P [X̄ < 102|µ = 103]
= P X̄−103 < 102−103
√5 √5
16 16
= P [Z < −0.80]
= 1 - P [Z < 0.80]
= 1 − 0.7881 = 0.2119.
In this case, the probability of accepting a false null hypothesis or accepting Ho given
that the average number of text messages that a Grade 11 student sends in a day is
indeed 103 (greater than 100) is computed as 0.2119.
Reference: Teaching Guide for Senior High School, General Mathematics by the Com-
mission on Higher Education in Collaboration with the Philippine Normal University