Week No. Topic: Inferential Statistics: Simple Test of Hypothesis - The Z-Test and The T-Test Statistical Tools. What Is A Hypothesis?
Week No. Topic: Inferential Statistics: Simple Test of Hypothesis - The Z-Test and The T-Test Statistical Tools. What Is A Hypothesis?
What is a hypothesis?
To summarize:
- The rejection of Ho implies the acceptance of Ha
- The acceptance of Ho implies the rejection of Ha
Level of Significance
The significance level of a test is the maximum value of the probability of
rejecting the null hypothesis Ho when in fact it is true. For tests involving statistical
decision, it is customary to use 5% or 1% level of significance.
A 5% significance level, implies that we are 95% confident that we have
made the right decision.
A 1% significance level, implies that we are 99% confident that we have
made the right decision.
Z = (x - µ)√ n
SDN
x = mean of the sample
µ = mean of the population
SDN = standard deviation of the population
n = number of items within the sample
Z= ____x1 – x2____
SDN √1/n1 + 1/n2
B. t-test
a) Sample mean compare with Population mean
t = (x - µ)√ n - 1
SDn
x = mean of the sample
µ = mean of the population
SDn = standard deviation of the sample
n = number of items within the sample
t= x1 – x2
(n1 – 1) SD1 + (n2 – 1) SD22
2
1 + 1
√ n1 + n2 - 2 √ n1 n2
Example 1. Data from a school census show that the mean weight of college
students was 45 kilos, with standard deviation of 3 kilos. A sample of 100 college
students were found to have a mean weight of 47 kilos. Are the 100 college
students really heavier than the rest at 0.05 level of significance? Table value is
1.645.
Solution:
Ho: there is no significant difference between the mean weight of the college
students and the mean weight of the 100 samples.
Ha: The weight of the 100 samples are really heavier than the weight of the college
students.
Z = (x - µ)√ n
SDN
Interpretation: The computed value is greater than the tabular value. Therefore,
the null hypothesis is rejected. Accept the alternative hypothesis that the 100
samples are really heavier than the rest.
Example 2. A teacher wishes to test whether or not the Case Method of teaching is
more effective than the Traditional Method. She picks two classes of
approximately equal intelligence. She gathers a sample of 18 students to whom she
uses the Case Method and another sample of 14 students to whom she uses the
Traditional Method. After the experiment, an objective test revealed that the first
sample got a mean score of 28.60 with standard deviation of 5.90, while the second
group got a mean score of 21.70 with a standard deviation of 4.60. Based on the
result of the administered test, can we say that the Case Method is more effective
than the Traditional Method? Level of Significance is 0.05. Tabular value given is
1.697
Solution:
Ho: There is no significant difference between the case method and traditional
method of teaching.
Ha: The case method is more effective than the traditional method.
Note: The alternative hypothesis is directional, so it entails a one – tailed test.
Level of Significance = 0.05
Tabular value = 1.697
Sample Size:
n1 = 18
n2 = 14
Use: t- test, comparing two sample means for independent samples.
t= x1 – x2
(n1 – 1) SD1 + (n2 – 1) SD22
2
1 + 1
√ n1 + n2 - 2 √ n1 n2
t= 28.60 – 21.70
(18 – 1) 5.92 + (14 – 1) 4.62 1 + 1
√ 18 + 14 - 2 √ 18 14
t = 3.594
Interpretation: The computed value is greater than the tabular value. Therefore,
the null hypothesis is rejected. Accept the alternative hypothesis that the case
method is more effective than the traditional method.
Activity 3:
3. Two kinds of feed mixes were given to 8 pigs and the average
weight gains were compared after 30 days. Test the null hypothesis that there is no
significant difference in mean gains at 0.01 level of significance.
Feed Mixes 1 2 3 4 5 6 7 8
Mix A 60 38 39 49 62 53 42 58
Mix B 53 39 29 47 50 56 47 52
Solution:
Ho: There are no significant differences on the mean scores of Groups A, B,
and C.
Ha: Significant differences exist between the mean scores of Groups A, B,
and C.
Level of Significance = 0.05
Table value = 3.55
Group A Group B Group C Group A Group B Group C
X X X X2 X2 X2
12 18 6 144 324 36
18 17 4 324 289 16
16 16 14 256 256 196
8 18 4 64 324 16
6 12 6 36 144 36
12 17 12 144 289 144
10 10 14 100 100 196
82 108 60 1068 1726 640
ANOVA Table:
Source of Sum-of- Degrees of Mean Compute
Variation Squares freedom Square dF
Between 165 2 82.5 5.06
groups
Within 292.8 18 16.3
Groups
Total 457.8 20
Interpretation:
The Computed F value (5.06) is greater than the tabular value (3.55). This
means that the null hypothesis is rejected, that there are no significant differences
on the scores of the groups A, B, and C. Therefore, the alternative hypothesis is
accepted, that differences are existing between the given scores of groups A, B, and
C.
Test after F test
F = (x1 – x2)2 n1n2
S2w (n1 + n2)
A Vs. B; A Vs. C; B Vs. C.
FAB = (11.71 – 15.43)2 (49) = 2.97
16.3 (14)
FAC = (11.71 – 8.57)2 (49) = 2.12
16.3 (14)
FBC = (15.43 –8.57)2 (49) = 10.10
16.3 (14)
Note: The value of F greater than the tabular value of 3.55 is 10.10 and that is for
Groups B and C. So, the difference exists between this group. Investigating the
scores of the two groups it is noted that the scores of group C is much lesser
compare to the scores of group B.
Activity 4:
1. The following represent the test scores of three groups of students.
a) Do the means of the three groups differ significantly? Level of significance
is 0.01.
b) If so, apply the Scheffe’ test to find out where the differences are.
3. The Table shows the lifetimes in hours of samples from three different
types of television tubes manufactured by a company. Test at 0.05 and 0.01 level
of significance whether there is a difference in the three types of television tubes.
Sample 1 407 411 409
Sample 2 404 406 408 405 402
Sample 3 410 408 406 408