Hypothesis Testing
Hypothesis Testing
also known as an error of the second kind, occurs when the null
hypothesis is false, but erroneously fails to be rejected.
Type II error means accepting the hypothesis which should have
been rejected.
A type II error occurs when one rejects the alternative hypothesis (fails
to reject the null hypothesis) when the alternative hypothesis is true.
The rate of the type II error is denoted by the Greek letter β (beta) and
related to the power of a test (which equals 1-).
DIFFERENCES BETWEEN TYPE I AND TYPE II ERRORS
A type I error is when a statistic calls A type II error is when a statistic does
for the rejection of a null hypothesis not give enough evidence to reject a null
which is factually true. hypothesis even when the null
hypothesis should factually be rejected.
We may reject H0 ,when H0 ,is true
is known as Type I error. We may accept H0, when infect H0 is
not true is known as Type II Error.
A type I error is called a false A type II error is a false negative.
positive.
It denoted by the Greek letter α It denoted by the Greek letter β (Beta)
(alpha).
t-test
A t-test is the final statistical measure for determining
differences between two means that may or may not be
related.
A null hypothesis signifies that the difference between the means is zero and
where both the means are shown as equal.
An alternate hypothesis implies the difference between the means is different
from zero.
This hypothesis rejects the null hypothesis, indicating that the data set is quite
accurate and not by chance.
NOTE: This T-test, however, is only valid and should be done when the mean or
average of only two categories or groups needs to be compared. As soon as the
number of comparisons to be made is more than two, conducting this is not
recommended.
ASSUMPTIONS
The measurement scale used for such hypothesis testing follows a set of continuous
or ordinal patterns.
The accounted parameters and variants influencing the samples and surrounding the
groups are based on the standard consideration.
When the data is plotted with respect to the T-test distribution, it should follow a
normal distribution and bring about a bell-curved graph.
One sample t-test
◦ While performing this test, the mean or average of one group is compared against the set
average, which is either the theoretical value or means of the population.
◦ For example, a teacher wishes to figure out the average height of the students of class 5
and compare the same against a set value of more than 45 kgs.
◦ The teacher first randomly selects a group of students and records individual weights to
achieve this. Next, she finds out the mean weight for that group and checks if it meets the
standard set value of 45+.
◦ The formula used to obtain one-sample t-test results is:
◦ Where,
◦ T = t-statistic
◦ m = mean of the group
◦ = theoretical mean value of the population
◦ s = standard deviation of the group
◦ n = sample size
Independent Two-Sample t-Test
This is the test conducted when samples from two different groups, species, or
populations are studied and compared. It is also known as an independent T-test.
For example, if a teacher wants to compare the height of male students and female
students in class 5, she would use the independent two-sample test
The T-test formula used to calculate this is:
Where,
mA & mB = means of samples from two different groups or populations
nA & nB = respective sample sizes
s2 = standard deviation or common variance of two samples
Paired Sample T-Test
Statistics in Psychology & Education, Mangal, S.K., 2002, Prentice Hall India
Learning Private Limited