Hypothesis
Hypothesis
However, just because we are not 100% sure of something, that is no reason why
we can’t reach some conclusions that are highly likely to be true. In this chapter,
the concept of hypothesis testing shall be discussed. The methods used in testing
hypothesis about the population mean when the population standard deviation is
given and other conditions about hypothesis testing will be developed. In this text,
the critical value method in testing hypothesis will be discussed. Other topics related
to hypothesis testing are also discussed.
General Objectives
EXAMPLE OF HYPOTHESIS
An example of parameter is the population mean or population standard
deviation. Example of hypothesis are:
2. Alternative Hypothesis
Alternative Hypothesis denoted by Ha. This is the hypothesis that
challenges the null hypothesis. The alternative hypothesis for the example is
“There is a significant difference between the effectiveness of Method A and
Method B.” or “Method A is more effective than Method B.” or “Method A is
less effective than Method B.” depending on whether the type of type of test is
one-or two-tailed which will be discussed in the succeeding lessons.
1. Type I error or alpha error (α). A type I error is committed when the researcher
rejects a null hypothesis when in fact it is true.
2. Type II error or beta error (β). A type II error I committed when the researcher
accepts a null hypothesis when in fact it is false.
Level of Significance
When a researcher tests the hypothesis, he is not certain that the decision is
100% correct. However, he is confident at a certain level that the decision is correct,
say 99% of the decision he made is a correct one. The confidence level is 99% or
the level of significance is 1%. When the confidence level is 95%, the level of
significance is 5%. On the other hand, when the confidence level is 90%, the level of
significance is 10%. In this case, the higher the confidence level, the more certain
that the decision od rejecting the null hypothesis is correct.
Test Statistics
The test statistic is a mathematical formula that allows researchers to
determine the likelihood of obtaining sample outcomes if the null hypothesis were
true. The value of the test statistic is used to make a decision regarding the null
hypothesis. The test statistic is used as a basis for deciding whether to reject or
accept the null hypothesis. The rejection lies at either the left or right tail of the
normal curve of one-tailed test is being used. On the other hand, the rejection region
lies at both end tails of the normal curve if two-tailed test will be utilized.
• Rejection Region. When the test statistics lies on the rejection region, then
the null hypothesis will be rejected.
• Non-Rejection Region. The non-rejection region is the probability of making
a Type I error equals to the level of significance. Non-rejection region is also
known as the acceptance region. When the test statistic lies within the non-
rejection region, the null hypothesis will be accepted or the critical value is
greater than the computed value of the test statistic.
• Critical Value. The critical value is a value that separates the non-rejection
region and the rejection region.
Non-Rejection
Region
Rejection Region
ẋ Z = 1.645
Critical Value
Non-Rejection
Region
Rejection Region
Z = 1.645 ẋ
Non-Rejection
Region
Rejection Region
ẋ Z = 1.645
One-Tailed Test
Type of Test
Two-Tailed Test
Left-Tailed Right-Tailed
Level of
Significance
Reject Ho f z ≤ - Reject Ho if z Reject Ho if z ≥ 1.96
α = 0.05
1.645 ≥ 1.645 or reject Ho if z ≤ -1.96
Reject Ho if z ≤ Reject Ho if z Reject Ho if z ≥ 2.575
α=0.01 -2.33 ≥ 2.33 or reject Ho if z ≤ -
2.575
Reject Ho if z ≤ Reject Ho if z Reject Ho if z ≥ 1.645
α=0.10 -1.28 ≥ 1.28 or reject Ho if z ≤ -
1.645
EXERCISES
CONCEPTS AND PROCEDURES
1.1. Briefly discuss difference between Null and Alternative Hypothesis. Give
an example in each type of hypothesis.
1.2. Briefly discuss the difference of Type I error and Type II error. Give an
example in each type of errors.
1.3. Briefly discuss the importance of level of significance in accepting or
rejecting the null hypothesis.
APPLICATIONS
1.4. Some of the following statements refer to the null hypothesis, some to
the alternate hypothesis. State the null hypothesis, H0, and the
alternative hypothesis, Ha. State also the Type I and Type II errors in
complete sentences.
a. The mean number of years Filipinos work before retiring is 34.
b. At most 60% of Filipinos vote in presidential elections.
c. The mean starting salary for San Jose State University graduates is
at least Php100,000 per year.
d. Twenty-nine percent of first year college students get drunk each
month.
e. Fewer than 5% of adults ride the bus to work in Region XII.
f. The mean number of cars a person owns in her lifetime is not more
than ten.
g. About half of Filipinos prefer to live away from cities, given the
choice.
h. Filipinos have a mean paid vacation each year of six weeks.
i. The chance of developing breast cancer is under 11% for women.
j. Private universities' mean tuition cost is more than Php50,000 per
year.
LESSON II. DEFINITION OF HYPOTHESIS TESTING
To determine whether to accept or reject the null hypothesis based on a
sample data, a statistician usually follows a certain process. This process is known
as hypothesis testing.
Step 2: Set the criteria for a decision. To set the criteria for a decision, we state
the level of significance for a test. In hypothesis testing, we collect data to show
that the null hypothesis is not true, based on the likelihood of selecting a sample
mean from a population. The likelihood or level of significance is typically set at
5% in behavioral research studies. When the probability of obtaining a sample
mean is less than 5% if the null hypothesis were true, then we conclude that the
sample we selected is too unlike and so we reject the null hypothesis.
Step 3: Compute the test statistics. We use test statistic to determine the
likelihood of obtaining sample outcomes. The larger the value of the test statistic,
the further the distance, or number of standard deviations, a sample mean is from
the population mean stated in the
null hypothesis. The value of the test
Note: We use the value of the
statistic is used to make a decision in
test statistic to make a decision
Step 4.
regarding the null hypothesis
The probability of obtaining a sample mean, given that the value stated in the
null hypothesis is true, is stated by the p-value. The p-value is a probability: it
varies between 0 and 1 can never be negative. In step 2, we stated the criterion or
probability of obtaining a sample mean at which point we will decide to reject the
value stated in the null hypothesis, which is typically set at 5% in behavioral
research. To make decision, we compare the p value to the criterion we set in
Step 2.
When the p value is less than 5% (p<.05), we reject the null hypothesis. We
will refer to p<.05 as the criterion for deciding to reject the null hypothesis,
although note that when p = .05, the decision is also to reject the null hypothesis.
When the p value is greater than 5% (p > .05), we retain the null hypothesis. The
decision to reject or retain the null hypothesis is called significance. When the p
value is less than .05, we reach significance; the decision is to retain the null
hypothesis. Figure 5.6 shows the four steps of hypothesis testing
In this case, z-test will be used when the population standard deviation is
known. Whereas utilize the t-test when the population standard deviation is not
known in the given distribution or problem and the number of cases is less than 30.
z-test
ẋ−µ Where:
𝑧= 𝜎 z is the z-test value
√𝑛 µ is the value of the population mean
ẋ is the sample mean
σ is the population standard deviation
n is the number of case, n≥30
t-test
ẋ−µ Where:
𝑡= 𝑠 t is the t-test value
√𝑛 µ is the value of the population mean
ẋ is the sample mean
s is the sample standard deviation
n is the number of case, n<30
Example:
PLJ Corporation is a company that produces RGC brand of laundry soap and
uses a machine to package 425 grams per pack. Assume that the net weight is
normally distributed with a population standard deviation of 8.5 grams. A researcher
randomly selected 32 packs of RGC brand of laundry soap with net weight of 430
grams. Can be conclude that the packaging machine functioned properly? Test the
significance at 0.05 level.
Solution:
Given:
µ 425 grams
ẋ 430 grams
σ 8.5 grams
α 0.05
Step 1. State the hypotheses.
H0 : µ = 425 grams or the mean weight is 425 grams.
H1 : µ > 425 grams or the mean weight is greater than 425 grams.
Step 2. Set the criteria for a decision (α).
α =0.05
Step 3. Select and compute the appropriate test statistic when it is not stated in
the problem.
Use the z-test because the population standard deviation is
given and n=32. Consider one-tailed test because the H1 is directional
alternative hypothesis.
Solution:
ẋ−µ
𝑧= 𝜎
√𝑛
430 − 425
𝑧=
8.5
√32
5
𝑧=
1.5026
𝒛 = 𝟑. 𝟑𝟑
Step 4. Make a decision. Compare the value of the test statistic and the critical value
obtained from α.
The critical value of z=1.645 at α=0.05 and the computed value of
z=3.33.
The computed value of z=3.33 is greater than the critical value = 1.645;
hence, the null hypothesis is rejected. In other words, the computed value of
z=3.33 lies within the rejection region. Based on the given information, the
packaging machine does not function properly.
Z = 1.645 Z = 3.33
α = 0.05
Example:
A group of researchers of a certain university conducted a research on the
perception of consumers about ABC product with two (2) different places. A random
sample of 125 respondents from the first group found out to have a sample mean of
85 with a variance of 14. A random sample of 150 respondents from the second
group found out to have a sample mean of 87 with a variance of 10. At α=0.05, is
there a difference between the two means?
Solution:
Step 1. State the hypotheses.
H0: ẋ1 = ẋ2
H1: ẋ1 ≠ ẋ2
Step 2: Set the criteria for a decision.
α=0.05
Step 3. Select and computer the appropriate test statistic when it is not stated
in the problem.
Use z-test of two means and utilize two-tailed test since the
alternative hypothesis is non-direction.
ẋ1 − ẋ2
𝑧=
𝜎12 𝜎22
√
𝑛1 + 𝑛2
85 − 87
𝑧=
√ 14 + 10
125 150
−2
𝑧=
√0.1787
−2
𝑧=
0.4227
𝑧 = −4.731
Use t-test of two means and utilize two-tailed test since the
alternative hypothesis is non-direction.
ẋ1 − ẋ2
𝑡=
𝑠12 𝑠22
√
𝑛1 + 𝑛2
118 − 115
𝑡=
√5 + 9
16 10
3
𝑡=
√1.2125
3
𝑡=
1.1011
𝒕 = 𝟐. 𝟕𝟐𝟓
Hypothesis testing about the means has been discussed. Now let us consider
the test about single proportion. The process in finding hypothesis testing about
single proportion is the same although there is a need to consider this formula:
Test about Single Proportion
𝑝−𝑝 Where:
𝑧= p is the sample proportion
𝑝𝑞 p is the population proportion
√
𝑛 q is 1 – p
n is the number of cases
Example:
The owner of XYZ Corporation claims that more than 65% of their toy
products will last for two months. To test this claim, a researcher randomly selected
200 toys and found out that 150 of them lasted for two months. Test the claim at α =
010 level of significance.
Solution:
Ho : µ = 65%
H1 : µ > 65%
Step 3. Select and compute the appropriate test statistic when it is not stated
in the problem.
𝑝−𝑝
𝑧=
𝑝𝑞
√
𝑛
75% − 65%
𝑧=
√(65%)(35%)
200
0.10
𝑧=
0.0337
z = 2.97
Step 4. Make a decision.
𝑃1 − 𝑃2 Where:
𝑧=
𝑃1 𝑄1 𝑃2 𝑄2 Q1 = 1 – P1
√ +
𝑛1 𝑛2
Q2 = 1 – P2
Example:
Solution:
H0 : P1 = P2
H1 : P1 ≠ P2
Step 3. Select and compute the appropriate test statistic when it is not stated
in the problem.
Use z-test of two proportions and use two-tailed test because H1 is
expressed in non-directional alternative
hypothesis.
225
P1 = 250 = 90%
𝑷𝟏 − 𝑷𝟐
𝒛=
𝑷𝟏 𝑸𝟏 𝑷𝟐 𝑸𝟐 n1 = 250
√
𝒏𝟏 + 𝒏𝟐 120
P1 = 250 = 80%
90% − 80%
𝑧= N2 = 150
√(90%)(10%) + (80%)(20%)
250 150
10%
𝑧=
√0.036 + 0.0011
10%
𝑧=
√0.00146
𝒛 = 𝟐. 𝟔𝟏𝟖
EXERCISES
CONCEPTS AND PROCEDURES
1.1. Present and explain the different steps in testing hypothesis.
1.2. Present and explain the different cases in hypothesis testing.
1.3. Explain the meaning of the level of significance 1%, 5%, and 10%.
APPLICATIONS
1.4. According to the result of a research conducted by BS Economics
students of a certain university, 25% of the female teenagers aged 13 –
19 whose family belong to poverty level got married at the age of 17. To
validate this claim, another group of researchers got a random sample of
250 female teenagers aged 13 – 19 years old whose family belong to
poverty level, and 55 of them got married at the age of 17. Is there
enough evidence that the proportion of female teenagers aged 13 – 19
got married at the age of 17? Test at α = 0.05.
1.5. An economist claims that the mean monthly family income of a family
that belongs to poverty level is Php11,500.00. A group of researchers
gets a sample of 100 families living within the squatter area of RL City.
Assuming that their salaries are normally distributed with mean monthly
income of Php12,750.00 with a standard deviation of Php125.00, test the
claim at α = 0.01.
1.6. Suppose that a researcher interviews 500 new registered voters who will
vote for the 2016 Presidential elections. Out of 500 new voters, 270 of
them will vote for a candidate with a good program for education and
environment. Is there a sufficient piece of evidence that suggests a
candidate with good program for education and environment will win the
presidential elections? Test at 0.05 level of significance.
SUMMARY
A test of hypothesis is a procedure based on a random sample of observation
with a given level of probability of committing an error in making decision, whether
the hypothesis is true or false. In hypothesis testing, we first formulate the
hypotheses to be tested. There are two kinds of statistical hypothesis discussed in
this chapter, the null and the alternative hypothesis. A null hypothesis is the
statement or claim or conjecture to be tested while an alternative hypothesis is the
claim that is accepted in case the null hypothesis is rejected. As discussed in this
chapter, there are two actions that one can make on the hypothesis testing. One can
either reject or fail to reject (accept) a hypothesis. 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.
There are four steps discussed in this chapter on testing hypothesis. First, we
formulate the hypothesis to be tested, the null and alternative hypothesis. Second
step is to state the decision rule that we will follow in making a decision on whether
to reject or accept the null hypothesis. Level of significance is set this step, usually
researchers or statistician set α equal to 0.05. The third step is then to compute the
appropriate test statistic; in this step the gathered evidences are presented. Fourth
step is to make a decision, compare the value of the test statistic and the critical
value obtained from α. The decision rule to make decision whether to reject or
accept the null hypothesis. Conclusions or interpretation of the result are made
which are in relation to the purpose of the test of hypothesis.
REFERENCES
Arao, R., Copo, A.R., Laddaran, A., Mejia, L., & Gabuyo, Y. (2015). Statistics
(based on CMO 03, Series 2007). Rex Book Store, Inc.
Berenson, M., Levine, D., & Krehbiel, T. (2000). Basic Business Statistics:
Concepts and Application, 8th Edition. Pearson Education, Inc.
Downie, N.M. & Heath, R. (2005). Basic Statistical Methods 5th Edition. Harper &
Row, Publishers, Inc. Harper International Edition.
Johnson, R., & Kuby, P. (2013). Statistics, 2nd Edition. Cengage Learning Asia
Pte Ltd.
Mann, P. (2010). Introduction to Statistics, 7th Edition. United States of America.
Weiers, R. (2014). Introduction to Business Statistics, 7th Edition. Cengage
Learning Asia Pte Ltd.