Lesson 7 Hypothesis Testing
Lesson 7 Hypothesis Testing
Lesson 7 Hypothesis Testing
Ha: The average weight loss for a sample of people who exercise 30 minutes
per day for 6 weeks is greater than 3.7 kg (𝜇 > 3.7).
Observe that the alternative hypothesis is expressed with > symbol because the
claim or conjecture specifies to use the greater than symbol.
Based on the three examples, the null hypothesis is always expressed with the
“equal” symbol. It is always a statement that a parameter is equal to a specific
value. On the other hand, the alternative hypothesis is expressed with ≠, >, 𝑜𝑟 <
symbols, depending on the given conjecture or claim.
TYPES OF TESTS
A statistical test may either be directional (one-tailed) or nondirectional
(two-tailed). We can determine whether a test is directional or nondirectional by
looking at how the alternative hypothesis is expressed.
Directional Test
A test of any statistical hypothesis where the alternative hypothesis is
expressed, using less than (<) or greater than (>) is called directional test or one-
tailed test since the critical or rejection region lies entirely in one tail of the
sampling distribution.
Example 4
Claim: The average weekly allowance of college students is less than Php 1 500.
Ho: The average weekly allowance of college students is equal to Php 1 500 (𝜇 = 1 500).
H a: The average weekly allowance of college students is less than Php 1 500 (𝜇 < 1 500).
This is directional test or one-tailed. More specifically, this is a left-tailed test because
the “less than” symbol was used in expressing the alternative hypothesis. Thus, the critical
region or the rejection lies entirely in the left tail of the sampling distribution.
Example 5
Claim: The average weekly allowance of college students is greater than Php
1,500.
Ho: The average weekly allowance of college students is equal to Php 1,500
(𝜇 = 1,500).
Ha: The average weekly allowance of college students is greater than Php 1,500
(𝜇 > 1,500).
This is also a directional test or one-tailed test. More specifically, this is a
right-tailed test because the “greater than symbol was used in expressing the
alternative hypothesis. Thus, the critical region or the rejection region lies entirely
at the right tail of the sampling distribution.
Nondirectional Test
A test of any statistical hypothesis where the alternative where the
alternative hypothesis is written with a not equal sign (≠) is called a
nondirectional test or two-tailed test since there is no assertion made on the
direction of the difference. The rejection region is spilt into two equal parts, one
in each tail of the sampling distribution.
Example 6
Claim: The average weekly allowance of college students is Php 1 500.
Ho: The average weekly allowance of college students is equal to Php 1 500
(𝜇 = 1 500).
Ha: The average weekly allowance of college students is not equal to Php 1 500
(𝜇 ≠ 1 500).
Observed that the alternative hypothesis is expressed, using the “not
equal” symbol; the test is two-tailed.
Null hypothesis (Ho)
= is equal to, the same as, not changed from, is
Level of Significance
Type of Test 𝛼 = 0.01 𝛼 = 0.05
One-tailed ±2.33 ±1.65
Two-tailed ± 2.58 ±1.96
Accepting or Rejecting the Null Hypothesis
1. Determine the critical value, using appropriate statistical tables.
2. Draw the rejection region and the critical value.
3. If the test value or the computed value falls in the rejection region, then reject the null hypothesis;
otherwise, accept the null hypothesis.
Comparing the Sample Mean and the Population Mean in a Large Sample Size
In many instances when we are testing hypotheses, we want to find out if the mean difference is
statistically significant or not. The z-test can be used for this purpose. Generally, the z-test is used when the
following conditions are satisfied.
The population standard deviation is known or given.
The population standard is unknown but the sample size is sufficiently large, (i.e. greater than or equal to thirty. n
≥ 30). In this case, we use the sample standard deviation (s) to replace the population standard deviation (𝜎).
Step 4: Decision: Since the computed or test value does not fall within the rejection region, we
accept the null hypothesis.
Step 5: Conclusion: There is no significant difference between the sample mean and population
mean. Thus, the manufacturer is correct in claiming that the new drug in the market can reduce
overweight women by 4.55 kg per month.
Example 2
A sociologist believes that if costs more than Php 90 000 to raise a child from birth to age one. A random
sample of 49 families, each with a child is selected to see if this figure is correct. The average expenses for these
families reveal a mean of Php 92 000 with a standard deviation o Php 4 500. Based on these sample data, can it be
concluded that the sociologist is correct in his claim? Use 0.05 level of significance.
Solution
Step 1: Ho: The average cost to raise a child from birth to age one is equal to Php 90 000 (𝜇 = 90 000).
Ha: The average cost to raise a child from birth to age one is more than to Php 90 000 (𝜇 > 90 000).
Step 2: Type of test: one-tailed or directional test (right-tailed).
Critical value: With the use of table 5.1, 𝛼 = 0.05, one-tailed test, the critical value is z = ± 1.65.
Rejection region
Step 3: Compute the test value, using the formula or test statistic.
Given:
X = 92 000 (𝑥− 𝜇) 𝑛 (92 000−90 000)( 49)
z= = = 3.11
𝜇 = 90 000 𝜎 4 500
n = 49 The test value or computed value is z = 3.11
𝜎 = 4500
Step 4: Decision: Since the computed or test value falls within the rejection region, we reject the null and accept the
alternative hypothesis.
Step 5: Conclusion: There is significant difference between the sample mean and population mean. Thus, the sociologist is
correct in claiming that the cost to raise a child from birth to age one is more than Php 90 000.