6hypothesis Testing
6hypothesis Testing
HYPOTHESIS TESTING
Prepared by:
The null hypothesis (H0), stated as the null, is a statement about a population parameter, such as
the population mean, that is assumed to be true.
The null hypothesis is a starting point. Being the starting point of the testing process, it serves as
our working hypothesis. It must always express the idea of non-significance of difference or of a
relationship. This is commonly called the no difference or no relationship hypothesis.
Ha: There is a significant difference between the performance of the male and female
Computer Science students in Statistics and Probability.
Note: With this illustration, once you reject your null hypothesis, meaning
you will be accepting your alternative hypothesis but if you failed to reject
your null hypothesis, meaning that you will not accept any more your
alternative hypothesis.
Example 2:
Research Problem
Is the proportion of the performance of
freshmen students in College Algebra different
from 0.50 in a sample of 100 freshmen students
where 60 are males?
H1: p = 0.50; Ha: p ≠ 0.50
CONFIDENCE LEVEL (C)
Level of significance, or significance level denoted by the symbol α refers to a criterion of judgment
upon which a decision is made regarding the value stated in a null hypothesis. The criterion is based on the
probability of obtaining a statistic measured in a sample if the value stated in the null hypothesis were true.
The level of significance is set by the researcher at the beginning of the research.
In hypothesis testing, the commonly used values for level of significance, denoted by α, are 0.05 and 0.01.
This means that we are willing to commit an error of 5% or 1% as the case may be. This implies that we are
95% or 99% confident of making the correct decision.
Usually, the researcher uses either the 0.05 level or sometimes called the 5% level or the 0.01 level or 1%
level. The lower the significance level, the more the data must diverge from the null hypothesis to be
significant. Therefore, the 0.01 level is more conservative than the 0.05 level.
The Hypothesis Testing Approaches
a. The critical value approach
One way of deciding whether or not to reject Ho is by comparing
the value of the test statistics with the critical value. The critical value
is the value that the test statistics (z-test or t-test) must exceed in
order for the null hypothesis to be rejected. The decision rule in this
process is:
i) Reject the null hypothesis (Ho) if |z-compute| is greater
than or equal to |z-critical|; or
The p-value as a tool in decision-making is now widely used by the researcher. It is utilized
as an alternative and equivalent way of conducting tests of significance.
The p-value is the probability of getting a sample statistic or a mean extreme sample
statistics in the direction of Ha when Ho is true. The p value is the actual area under the standard
normal distribution curve.
Here, we compare p-value with the level of significance (α). The decision rule in this
process is:
or
How do we determine whether to reject the null hypothesis? It begins the level of significance α,
which is the probability of the Type I error.
When doing hypothesis testing, two types of mistakes may be made and we call them Type I
error and Type II error.
The judge wants to give his verdict whether the defendant committed or not the crime. There are two
hypotheses:
How will you set up the hypotheses? Remember to set it up so that Type I error is more serious.
Type I error: Convicting a person who, in reality, did not commit the crime.
Type II error: Acquitting a person who, in reality did not commit the crime.
So, in other words;
1. Based on the research problem, make sure you know what the assumption
would be, then state the null (Ho) and alternative hypothesis (Ha).
2. Decide what level of significance or the value of alpha (α) you are going to use. The most commonly
use value of α is 0.01 or 0.05.
3. Determine the appropriate test statistics.
4. Solve for the p-value associated with the test statistic.
5. Make the statistical decision whether you are going to reject or not to reject the Ho and draw the
conclusion based on the result.
MAKING A DECISION BASED ON THE TYPES OF
ERROR
When we decide to reject the null hypothesis, we can be correct or incorrect. The
incorrect decision is to reject a true null hypothesis. This decision is an example of a Type I
error. With each test we make, there is always some probability that our decision is a Type I
error. A researcher who makes this error decides to reject previous notions of truth that are in
fact true. Making this type of error is analogous to finding an innocent person guilty. To
minimize this error, we assume a defendant is innocent when beginning a trial. Similarly, to
minimize making a Type I error, we assume the null hypothesis is true when beginning a
hypothesis test.
The divisor n – 1 in the formula for variance and the standard deviation is what we
called the degree of freedom. The degree of freedom is the number of variables which are free
to vary and in many statistical problems we are required to determine the number of degrees of
freedom.
The degree of freedom is the number of variables which are free to vary and in many statistical
problems we are required to determine the number of degrees of freedom.