Professional Documents
Culture Documents
A hypothesis is an educated guess. We have encountered this when we studied the Scientific
Method before during our elementary or high school. It is a guess of the outcome that can
happen from our experiment. We need to test whether our hypothesis is correct or not. In
statistics, we can do this using the topics we have learned previously in sampling distributions.
Hypothesis testing is a method that can be used to determine whether a statement about the
value of a population parameter should or should not be rejected.
Take note of the following:
1. We are going to work with population parameters and trying to estimate them.
2. In hypothesis testing, we are using sampling methods to estimate the population
parameter using the sample statistic.
3. Using this, we can determine whether the statement or “assumption” about the
population parameter is correct.
4. Lastly, we are using the notion of “should be rejected” or “should NOT be rejected”.
Note that we will never use the word “accept” in hypothesis testing.
Hypothesis testing can be analogous to the court of law. We will have a defendant which we
will “assume to be innocent” – the hypothesis. Our stance in performing this methodology is we
are the prosecuting lawyers – we want to prove the defendant as guilty. Hence, we will look for
“evidence” to support our side by using sample statistics.
To perform this, we will be following an eight (8) step process. This will be our guide in solving
problems on test of hypothesis. Also, in practice, this will also be what we will be doing as
statisticians in research.
Steps in Testing Hypothesis
1. Establish hypothesis: state the null and alternative hypothesis
2. Determine the appropriate statistical test and sampling distribution
3. Specify the Type I error rate or Level of Significance (α)
4. State the decision rule – calculate the critical values using α
5. Gather sample date – calculate point estimates – 𝑥̅ and s
6. Calculate the value of the test statistic – use the sample point estimates
7. State the statistical conclusion – reject or do not reject the null hypothesis – again
NEVER use the phrase “accept the null hypothesis”
8. Make a managerial decision – statistics provide us the mathematical decisions, but we
need to apply the context of the experiment. What is the purpose of the test?
Null vs Alternative Hypothesis
The null and alternative hypothesis are mutually exclusive. Meaning, only one of them can be
true. That is, if one is correct, the other is wrong.
The null hypothesis is denoted by 𝐻𝑜 and is a tentative assumption about a population
parameter. This is assumed to be true. Note that “assuming to be true” is just analogous to
“innocent until proven guilty”. It does not mean that it is ACTUALLY true. The logic behind null
hypothesis is this is what “THEY WANT”.
The alternative hypothesis is denoted by 𝐻𝑎 and is the opposite of what is stated in the null
hypothesis. The logic behind the alternative hypothesis is this is what “YOU WANT” as a
prosecuting lawyer. This is analogous to proving them guilty.
Example
A soft drink company is filling 12 oz. cans with cola. The company hopes that the cans are
averaging 12 ounces.
We want to develop the null and alternative hypothesis based on this situation. In this case, we
have a company filling soda cans. Remember that in hypothesis testing, we are acting as a 3 rd
party external prosecuting attorney and we ALWAYS want to prove them wrong. Hence, the
null hypothesis will be based on what THEY WANT – what the company wants → their soda
cans are averaging 12 ounces.
𝐻𝑜 : 𝜇 = 12 𝑜𝑧
For the alternative hypothesis, it has to be the opposite of the null hypothesis. Later we will be
talking about one-tailed and two-tailed tests. But for now, we will only get the direct opposite
of equals. Hence, the alternative hypothesis is
𝐻𝑎 : 𝜇 ≠ 12 𝑜𝑧
Why is it not equal to sign? Think. If you are a company producing these soda cans, would you
like to fill in your cans beyond the expected at 12 oz? No! This will equate to losses especially if
we produce tens of thousands of soda cans. On the flip side, we also do not want to fill cans
under 12 oz. This will result to bad quality products and the customers will feel bad about
getting less than what they paid for. Hence, it is absolutely crucial to stay exactly at 12 oz.
As prosecuting lawyers here, we are saying that “no, you are not producing an average of 12
oz”. We do not care whether they fill more or fill less. This is the reason why the alternative
hypothesis is as shown.
Again, in summary, the null and alternative hypothesis are as follows.
𝑯𝒐 : 𝝁 = 𝟏𝟐 𝒐𝒛
𝑯𝒂 : 𝝁 ≠ 𝟏𝟐 𝒐𝒛
Hypothesis testing is similar to a criminal trial. The hypotheses are:
𝑯𝒐 : 𝑻𝒉𝒆 𝒅𝒆𝒇𝒆𝒏𝒅𝒂𝒏𝒕 𝒊𝒔 𝒊𝒏𝒏𝒐𝒄𝒆𝒏𝒕
𝑯𝒂 : 𝑻𝒉𝒆 𝒅𝒆𝒇𝒆𝒏𝒅𝒂𝒏𝒕 𝒊𝒔 𝒈𝒖𝒊𝒍𝒕𝒚
However, always remember that we are a prosecuting lawyer here. Hence, we will NEVER side
with the defendant. In other words, when we do not have enough evidence to prove the
defendant guilty, it does not mean that they are automatically truly innocent. In the court of
law, you can always file another case against the defendant if new evidence arises. This is
exactly the reason why we are only able to say that “we fail to reject the null hypothesis”.
Because at this moment, we do not have enough evidence to prove otherwise. When we say
that “we accept the null hypothesis”, it is incorrect.
2
(𝑛 − 1)𝑠 2
𝜒 𝑠𝑡𝑎𝑡
=
𝜎2