5 Session 18-19 (Z-Test and T-Test)
5 Session 18-19 (Z-Test and T-Test)
Objectives
At the end of the lesson, the learner
Using the traditional method:
The computed z is greater than the critical value, 2.36 > 1.960. The
result suggests that the null hypothesis stating that there is no significant
difference between the sample mean and the population mean is rejected.
This implies that the difference between the means is significant and the
sample does not belong to the population.
The computed t is less than the critical value, - 4 < - 2.131. The
result suggests that the null hypothesis stating that there is no
significant difference between the mean pH of water samples and the
target pH is rejected. This implies that there is sufficient evidence to
reject the null hypothesis. In addition, the result shows that the sample
does not belong to the population.
Based on the t-table, it is not possible to identify the exact two
tailed alpha error for t = - 4 at df = 15. However, it is safe to say that
the p-value corresponding to (t = - 4) < 0.01. Since 0.01 < 0.5, then p-
value (t = - 4) < 0.05.
The p-value of t = -4 is less than the alpha level, p-value (t = -
4) < 0.05. The result suggests that the null hypothesis stating that
there is no significant difference between the mean pH of water
samples and the target pH is rejected. This implies that there is
sufficient evidence to reject the null hypothesis. In addition, the result
shows that the sample does not belong to the population.
EXAMPLE 3:
The computed t is greater than the critical value, - 2.087 > -
2.132. The result suggests that the null hypothesis stating that
there is no significant difference between the mean of the
samples and of the population is accepted. This implies that
there is no sufficient evidence to reject the null hypothesis. In
addition, the result shows that the sample belongs to the
population with mean of 6.
The alpha error for t = - 2.087 at df = 4 cannot be determined from the table.
However, it can be concluded that p-value (t = - 2.087) > 0.05.
The p-value of t = - 2.087 is greater than the alpha level, p-
value (t = - 2.087) > 0.05. The result suggests that the null hypothesis
stating that there is no significant difference between the mean of the
samples and of the population is accepted. This implies that there is no
sufficient evidence to reject the null hypothesis. In addition, the result
shows that the sample belongs to the population with mean of 6.
EXAMPLE 4:
The owner of a factory that sells a particular bottled fruit juice
claims that the average capacity of their product is 250 ml. To test the
claim, a consumer group gets a sample of 100 such bottles, calculates
the capacity of each bottle, and then finds the mean capacity to be 248
ml. The standard deviation is 5 ml. Is the claim true at one-tailed = 0.05?
Using z-test:
z critical value = -1.645
The computed z is less than the critical value, - 4 < - 1.645. The
result suggests that the null hypothesis stating that there is no significant
difference between the mean capacities of the sample bottled fruit juice
and of the production claim is rejected. This implies that the difference
between the samples and the production claim is significant. In addition,
the result shows that the claim is not true.
Using t-test:
df = 99 t critical value = - 1.645
t
The computed t is less than the critical value, - 4 < - 1.645.
The result suggests that the null hypothesis stating that there is no
significant difference between the mean capacities of the sample
bottled fruit juice and of the production claim is rejected. This implies
that the difference between the samples and the production claim is
significant. In addition, the result shows that the claim is not true.
EXAMPLE 5:
Study the tables below and supply what is asked in the item.
The drug 6-mP (6-mercaptopurine) is used to treat leukemia. Remission time, measured
in weeks, refers to the period where no leukemic cells can be found in the blood or bone
marrow and the bone marrow is working normally again.
Table 1. The Mean Remission Time of the Sample Group Using 6-mP
1. population mean
2. sample mean
3. sample standard deviation
4. sample size
5. null hypothesis
6. alternative hypotheses (directional and non-directional)
7. t-value or computed t
8. confidence level
9. alpha error
10.two-tailed p-value
11.one-tailed p-value
12.two-tailed decision for the null hypothesis
13.one-tailed decision for the null hypothesis
14.two-tailed interpretation of results
The SPSS (Statistical Package for the Social
Sciences) is a comprehensive system for analyzing data.
SPSS can take data from almost any type of file and use
them to generate tabulated reports, charts, and plots of
distributions and trends, descriptive statistics, and
complex statistical analysis. It is presently known as
PASW (Predictive Analytics SoftWare). z-test cannot be
done in SPSS. The results of SPSS are compared to the
alpha error.
Table 1. The Mean Remission Time of the Sample Group Using 6-mP
Table 2. One-Sample t-test of the Remission Times of the Sample Group and Population
Using 6-mP
Table 2. One-Sample t-test of the Remission Times of the Sample Group and Population
Using 6-mP
5. null hypothesis: There is no significant difference between the mean remission time
of the sample group and the mean remission time of all individuals use 6-mP.
6. alternative hypotheses (directional and non-directional)
Non-directional: There is no significant difference between the mean
remission time of the sample group and the mean remission time of all
individuals use 6-mP.
Right-tailed: The mean remission time of the sample group is significantly
higher than the mean remission time of all individuals use 6-mP.
Left-tailed: The mean remission time of the sample group is significantly
lower than the mean remission time of all individuals use 6-mP.
7. t-value or computed t = 2.106
8. confidence level = 99%
9. alpha error = 0.01
10. two-tailed probability = 0.048
11. one-tailed probability = 0.024 half of the two-tailed probability
12. two-tailed decision for the null hypothesis
Accept null hypothesis
p-value and alpha error: 0.048 > 0.01. To validate, compare the computed
t-value with the t critical value: p-value corresponding to t=2.106 > 2.845
13. one-tailed decision for the null hypothesis
Accept null hypothesis
p-value and alpha error: 0.024 > 0.01. To validate, compare the computed t-
value with the t critical value: p-value corresponding to t= 2.106 > 2.528.
14. two-tailed interpretation of results
The results show that the p-value of the mean remission time of the
sample group is greater than the alpha error, 0.048 > 0.01. The results suggest
that the null hypothesis stating that there is no significant difference between the
mean remission time of the sample group and the mean remission time of all
individuals use 6-mP is accepted. This implies that there is no sufficient
evidence to reject the null hypothesis. Thus, the mean remission time of the
sample group is similar with that of all the individuals who take 6-mP.