Professional Documents
Culture Documents
Research Iii: Quarter 3 Week 3
Research Iii: Quarter 3 Week 3
9
RESEARCH III
QUARTER 3
Week 3
TOPIC z Test
1. Utilizes appropriate statistical tools in analyzing data.
LEARNING (SSP-RS9-AID-III-q-t-7)
COMPETENCIES 2. Interprets data/ statistical results. (SSP-RS9-AID-III-u-v-8)
3. Test hypothesis (SSP-RS9-AID-III-v-w-9)
IMPORTANT: Do not write anything on this material. Write your answer on a
separate sheet of paper and don not forget to answer all SAQs.
UNDERSTAND
z Test
z Test and t Test are two similar statistical tests. The question is, when
should you perform the z Test and when should you perform the t Test.
The figure below will help you determine which one should you use.
Figure 1 Flow chart of determining whether to use z Test or t Test for data analysis.
If the sample size is large enough, then the z test and t-Test will conclude with
the same results. For a large sample size, Sample Variance will be a better estimate
of Population variance so even if population variance is unknown, we can use the
z test using sample variance.
Similarly, for a large sample, we have a high degree of freedom. And since t-
distribution approaches the normal distribution, the difference between the z score
and t score is negligible.
Now let’s learn more about z Test, its definition, types and how to do z test
calculations.
Many hypotheses are tested using a statistical test based on the following general
formula:
(𝑶𝒃𝒔𝒆𝒓𝒗𝒆𝒅 𝒗𝒂𝒍𝒖𝒆) − (𝑬𝒙𝒑𝒆𝒄𝒕𝒆𝒅 𝒗𝒂𝒍𝒖𝒆)
𝑻𝒆𝒔𝒕 𝒗𝒂𝒍𝒖𝒆 =
𝑺𝒕𝒂𝒏𝒅𝒂𝒓𝒅 𝒆𝒓𝒓𝒐𝒓
The observed value is the statistic (such as the sample mean) that is computed
from the sample data. The expected value is the parameter (such as the population
mean) that you would expect to obtain if the null hypothesis were true – in other words,
the hypothesized value. The denominator is the standard error is the statistic being
tested (in this case, the standard error of the mean).
There are different types of z test each for different purpose. Some of the popular
types includes z test for a mean (single mean), z test for a proportion, z test for testing
the difference between two means. We will discuss each of these as we go along this
CapSLET.
How to find the critical value for z test using the z distribution table?
To obtain the critical value, the researcher must choose an alpha level (level of
significance). The following examples show how to obtain the critical value depending
on the type of tailed-test.
SOLUTION:
Step 1: Identify the level of significance. α = 0.01
Step 2: Draw the figure and indicate the appropriate area.
Figure 3 (A sample view of Table E) finding the critical value from Table E
Note: for a right-tailed test, use the positive value z (Table E).
The critical and noncritical regions and the critical value are shown in Figure 4.
0.9900
Critical
Noncritical region
region 0.01
z Critical Value =
+ 2.33
\
+ 2.33
Figure 4 The Critical and Noncritical Regions for α = 0.01 (Right-Tailed test).
s0.01
Now let’s proceed to situation C andinlet’s
αFind this area tablefind out how to determine the z critical
as shown.
value for this situation. = 0.01 (Right-Tailed test).
SOLUTION:
Step 1: Identify the level of significance. α = 0.01
Step 2: Draw the figure and indicate the appropriate area.
Step 3: Find the z critical value by finding the closest area value to α, which in this case is
0.01.
z Critical Value =
- 2.33
The critical and noncritical regions and the critical value are shown in Figure 6.
0.9900
Critical
Noncritical
region
region
0.01
- 2.33
Figure 6 The Critical and Noncritical Regions for α = 0.01 (Left-Tailed test).
s0.01
αFind this area in table as shown.
Let’s now proceed to situation A, in this case how to we determine the z critical value
= 0.01 (Right-Tailed test).
in a two-tailed test.
To find the z critical value for a Two-Tailed Test:
1. Identify the significance level (α).
2. Draw the figure (normal distribution curve) and indicate the appropriate area. In
this case, α must be divided by 2; one half of the area will be to the right of the
mean, and one half will be to the left of the mean.
3. Use the z value that corresponds to α/2 (alpha divided by 2) for the left value. It
will be negative. For the right value, use the z value that corresponds to the area
equivalent to 1 – α/2. It will be positive.
SAMPLE PROBLEM 3: Situation A
A medical researcher is interested in finding out whether a new medication will have any
undesirable side effects. The researcher particularly concerned with the pulse rate of the
patients who take the medicine. Will the pulse rate increase, decrease, or remain the same
after a patient takes the medication? Since the researcher knows that the mean pulse rate
for the population under study is 82 beats per minute. Say for example, the researcher
decides to use 0.05 level of significance.
Hypotheses are: H0: μ = 82 and H1: μ ≠ 82 (Two-Tailed test)
The alternative hypothesis is H1: μ ≠ 82. Hence, the critical region is half of the α; one half
of the area will be to the right of the mean, and one half will be to the left of the mean.
SOLUTION:
Step 1: Identify the significance level (α). α = 0.05
Step 2: Draw the figure (normal curve) and indicate the proper area.
Left: one half of α – that is, α/2 = 0.05/2 area = 0.025
Right: one half of α – that is, α/2 = 0.05/2 area = 0.025
Critical
region 0.9500 Critical
0.025 region
0.025
Find the value in Table E -z + z Find the value in Table E
Step 3: Find the z critical value.
Left: Find the area in Table E that corresponds to α/2. In this case:
α/2 = 0.05/2 = 0.025 (look for this value on Table E (negative z)).
Right: Find the area in Table E that corresponds to 1 – α/2. In this case:
1 – α/2 = 1 – 0.05/2 = 0.975 (look for this value on Table E (positive z)).
The critical and noncritical regions and the critical values of this example are shown in
Figure 8.
– 1.96 + 1.96
Figure 8 The Critical and Noncritical Regions for α = 0.05 (Two-Tailed test).
s0.01
αFind this area in table as shown.
= 0.01 (Right-Tailed test).
This might be overwhelming for you. But continue to follow the
steps and practice determining the z Critical Value using different type
of tailed-test and level of significance. Moreover, this CapSLET
contains the Table E after the Disclaimer section. You may use the
given table to answer the Let’s Practice questions and further
calculations that involve z Test.
Direction: Given the hypotheses and level of significance (α), (A) identify the type of
tailed test; (B) determine the z Critical Value; and (C) draw the z normal curve with the
proper labels and z critical value.
Example:
A. Ho: μ = k and H1: μ < k Ho: μ = k and H1: μ < k
1. α = 0.10 α = 0.10
2. α = 0.05 Answer:
3. α = 0.01 (A) Left – Tailed test
(B) CV = – 1.28
B. Ho: μ = k and H1: μ > k (C)
1. α = 0.10
2. α = 0.05 Noncritical
3. α = 0.01 Critical region
region
C. Ho: μ = k and H1: μ ≠ k 0.10
1. α = 0.10
2. α = 0.05
3. α = 0.01 – 1.28
You are now done with determining the z Critical Value, at this point
let’s proceed to using the critical value for calculations involving z Test for
a mean.
0.9500
Do not Reject
reject 0.05
+ 1.65
+ 1.59
Step 5: Summarize the results.
There is not enough evidence to support the claim that the mean time is greater
than 29 days.
Even though in sample problem 1 the sample mean is 30.1 is higher than the
hypothesized population mean of 29 days, is not significantly higher. Thus, the
difference may be due to chance. When the null hypothesis is not rejected, there
is still a probability of a type II error (i.e. of not rejecting the null hypothesis when
it is false). Also note that when the null hypothesis is not rejected, it cannot be
accepted as true. There is merely not enough evidence to say that it is false. This
guideline may sound a little confusing, but the situation is analogous to a jury
trial. The verdict is either guilty or not guilty and is based on the evidence
presented. If a person is judged not guilty, it does not mean that the person is
prived innocent; it only means that there was not enough evidence to reach the
guilty verdict.
0.9900
0.005
0.005
Direction: Read each problem carefully. Perform each of the steps in hypothesis
testing (z Test). Use the traditional method of hypothesis testing, show your solution
and box your final answer.
The steps for hypothesis testing are the same as those shown in z Test for a Mean
calculation. Table E is used to find the critical values.
SAMPLE PROBLEM 6: People Who are Trying to Avoid Trans Fats
A dietician claims that 60% of people are trying to avoid trans fats in their diets. She
randomly selected 200 people and found out that 128 people stated that they were trying to
avoid trans fats in their diets. At α = 0.05, is there enough evidence to reject the dietician’s
claim? Source: Based on a survey by the Gallup Poll.
SOLUTION:
𝟔𝟎%
Given: 𝒑 = 60% (
𝟏𝟎𝟎
) = 0.60 X = 128 𝒏 = 200 α = 0.05
– 1.96 + 1.96
+ 1.15
Step 5: Summarize the results.
There is not enough evidence to reject the claim that 60% of the people are
trying to avoid trans fats in their diets.
SOLUTION:
𝟕𝟕%
Given: 𝒑 = 77% (
𝟏𝟎𝟎
) = 0.77 X = 55 𝒏 = 80 α = 0.01
Do not reject
Reject
– 2.33
– 1.75
Step 5: Summarize the results.
There is not enough evidence to reject the claim that at least 77% of the
population oppose replacing $1 bills with $1 coins.
Direction: Read each problem carefully. Perform each of the steps in hypothesis
testing (z Test). Use the traditional method of hypothesis testing for calculating the z
Test for Proportion, show your solution and box your final answer.
1. Overweight Children. Health issues due to being overweight affect all age
groups. Of children and adolescents 6-11 years of age, 18.8% are found to be
overweight. A school district randomly sampled 130 in this age group and found
that 20 were considered overweight. At α = 0.05, is this less than the national
proportion? Source: World Almanac.
2. After-School Snacks. In the Journal of the American Dietetic Association, it
was reported that 54% of kids said that they had a snack after school. A random
sample of 60 kids was selected, and 36 said that they had a snack after school.
Use α = 0.01. On the basis of the results, should parents be concerned about
their children eating a healthy snack?
You are now done with z Test for a proportion. Now what if you were
to compare two different means where both the population standard
deviation is known, what statistical test will you use? Continue to the next
lesson to find out which statistical test is appropriate for this situation.
Another
If there isway if difference
no difference the hypotheses
in population for this situation
means, subtracting them willisgive a
o: μIf1 they
difference of zeroH(0). – μ2are
= 0different, H1: μ1them
andsubtracting – μ2will
≠ 0give a number
other than zero (0). Both methods of stating hypotheses are correct; however,
the first method will be use in this lesson.
Is used when you are comparing two sample means and where the population
standard deviation (variance) is known.
Formula:
Where:
̅ 𝟏 −𝑿
(𝑿 ̅ 𝟐 ) − (𝝁𝟏 −𝝁𝟐 ) ̅ = sample mean
𝒛= 𝑿
𝝁 = population mean
𝝈𝟐 𝝈 𝟐
𝝈𝟐 = population variance
√ 𝟏+ 𝟐
𝒏𝟏 𝒏𝟐 𝝈 = population standard deviation
𝒏 = sample size
The theory behind testing the difference between two means is based on
selecting pairs of samples and comparing the means of the pairs. The population
means need not be known. All possible pairs of samples are taken from
populations.
The steps for hypothesis testing are the same as those shown in z test for testing
the difference between two means calculation. Table E is used to find the critical values.
SAMPLE PROBLEM 8: Hotel Room Cost
A survey found that the average hotel room rate in New Orleans is $88.42 and the
average room rate in Phoenix is $80.61. Assume that the data were obtained from two
samples of 50 hotels each and that the standard deviations of the populations are $5.62 and
$4.83 respectively. At α = 0.05, can it be concluded that there is a significant difference in
the rates? Source: USA TODAY.
SOLUTION:
̅ 𝟏 = $88.42
Given: 𝑿 ̅ 𝟐 = $80.61
𝑿 𝝈𝟏 = $5.62 𝝈𝟐 = $4.83 𝒏𝟏 = 50 𝒏𝟐 = 50 α = 0.05
Males Females
6 7 9 11 6 15 7 6 11 18 7 7 8 7
6 10 5 5 7 18 11 7 14 8 5 5 6 5
6 11 7 6 5 9 6 8 4 13 8 6
6 14 7 11 5 6 10 5 12 5 6 5
15 9 11 5 11 5 16 5 11 6 7 5
9 9 8 10 5 8 7 7 13 5 7 5
8 6 5 8 10 6 9 10 5 13 8 10
9 9 18 12 8 8 7 5 6 14 8 6
SOLUTION:
Given: 𝝈𝟏 = 3.3 𝝈𝟐 = 3.3 𝒏𝟏 = 50 𝒏𝟐 = 50 α = 0.10
Step 1: State the hypotheses and identify the claim.
Ho: μ1 = μ2 and H1: μ1 > μ2 (claim) Critical Value
Step 2: Find the critical value.
Since α = 0.10 and the test is right-tailed, the critical values are z = + 1.28 (Review
the lesson on how to determine the z Critical Value).
Step 3: Compute the test value.
*Since sample mean is not given, but we have the raw data. We need to compute for
the sample means first.
̅𝟏 = ∑ 𝑿 =
𝑿
𝟒𝟐𝟖
= 𝟖. 𝟔 ̅𝟐 = ∑ 𝑿 =
𝑿
𝟑𝟗𝟕
= 𝟕. 𝟗
𝒏 𝟓𝟎 𝒏 𝟓𝟎
*Since the sample means are already computed, we can now proceed to
compute for the z value by substituting the values.
μ need not to be known, in
this case, (𝝁𝟏 − 𝝁𝟐 ) = 0
̅ 𝟏 −𝑿
(𝑿 ̅ 𝟐 ) − (𝝁𝟏 −𝝁𝟐 ) (𝟖.𝟔 − 𝟕.𝟗) − 𝟎 𝟎.𝟕
𝒛= 𝒛= 𝟐 𝟐
𝒛=
𝝈𝟐 𝟐 √(𝟑.𝟑) +(𝟑.𝟑) 𝟏𝟎.𝟖𝟗 𝟏𝟎.𝟖𝟗
√ 𝟏 +𝝈𝟐 𝟓𝟎 𝟓𝟎
√ + 𝟓𝟎
𝒏𝟏 𝒏 𝟐 𝟓𝟎
+ 1.28
Step 5: Summarize the results. 1.06
There is not enough evidence to support the claim that the colleges offer more
sports for male than they do for females.
Remember, we use z Test only when the population variance (σ2) or population
standard deviation (σ) is known.
You are now done with this lesson. You may now proceed to Let’s Practice section
to further improve your computation skills.
Direction: Read the given situation below and answer the given questions.
1. Women Science Majors. In a study of women science majors, the following
data were obtained on two groups, those who left their profession within a few
months after graduation (leavers) and those who remained in their professions
after they graduated (stayers). Test the claim that those who stayed had a higher
science grade point average than those who left. Use α = 0.05.
Leavers Stayers
̅ 𝟏 = 3.16
𝑿 ̅ 𝟐 = 3.28
𝑿
𝝈𝟏 = 0.52 𝝈𝟐 = 0.46
𝒏𝟏 = 103 𝒏𝟐 = 225
Source: Paula Rayman and Belle Brett, “Women Science Majors: What Makes a Difference in
Persistence after Graduation?” The Journal of Higher Education .
2. Per Capita Income. The average per capita income for Wisconsin is reported
to be $37,314 and for South Dakota it is $37,375 – almost the same thing. A
random sample of 50 workers from each state indicated the following sample
statistics.
Wisconsin South Dakota
Size 50 50
Mean $40,275 $38,750
Population standard deviation $10,500 $12, 500
At α = 0.05, can we conclude a difference in means of the personal incomes?
Source: New York Times Almanac.
You are now done with this lesson! But before you evaluate how much
you have learned today, let’s go back to a few key points.
REMEMBER
Key Points
z Test is used when n ≥ 30 and that the population variance (or population
standard deviation) is known. In case the n < 30, you may still use z test provided
that the data are normally or approximately normally distributed.
There different kinds of z Tests depending on the data to be anlayzed. Three of
the common types are:
z test for a mean is used when we want to compare a sample mean with
̅ −𝝁
𝑿
the population mean. Formula: 𝒛 = 𝝈/√𝒏
TRY
Let’s see how much you have learned today!
Read each question carefully. Choose the best answer and write the CAPITAL
LETTER of the choice corresponding to your answer on your answer sheet.
1. Which of the following is TRUE about critical value(s)?
A. It is the range of values of the test value that indicates that there is a significant
difference and that the HO should be rejected.
B. It separates the critical region from the noncritical region.
C. It is the range of values of the test value that indicates that the difference was
probably due to chance and that the HO should be not rejected.
D. It is the maximum probability of committing a type I error.
2. What will be the z critical value for a test with the following hypotheses: Ho: μ = k
and H1: μ ≠ k, tested at α = 0.01?
A. – 2.33 B. + 2.33 C. ± 1.65 D. ± 2.58
3. Which of the following refers to the statistical test that is used when we want to
compare a sample mean with the population mean?
A. z test for a propotion C. z test for testing the difference between two means
B. z test for a mean D. z test
4. A study was conducted on the cost of rehabilitation of stroke patients at a particular
hospital. The claim of the study is that the average cost of stroke rehabilitation is
different from the the population mean ($25,411). The critical values are ± 2.58 and
the test value is – 0.15. What would be the decision given the values?
A. Reject the null hypothesis
B. Do not reject the null hypothesis
C. It is an invalid study.
D. There is enough evidence to support the claim.
̂−𝒑
𝒑
5. In the formula for z test for a proportion: 𝒛 = ̂ represents?
, what does 𝒑
√𝒑𝒒/𝒏
A. Sample proportion B. Population proportion C. Sample size D. Proportion
6. Which of the following is NOT TRUE about the assumptions for testing a proportion
(z test)?
A. The sample is a random sample.
B. The conditions for a binomial experiment are satisfied.
C. np ≥ 5 and nq ≥ 5
D. The observations must be dependent of one another.
z Table
Find values on the left of the mean in
this negative Z score table. Table entries for
z represent the area under the bell curve to
the left of z. Negative scores in the z-table
correspond to the values which are less than
the mean.
Source: “Z Table and Z Score Calculation.” Z Score Table. Accessed April 15, 2021.
http://www.z-table.com/.
z Table
Find values on the right of the mean in
this z-table. Table entries for z represent the
area under the bell curve to the left of z.
Positive scores in the Z-table correspond to
the values which are greater than the mean.
Source: “Z Table and Z Score Calculation.” Z Score Table. Accessed April 15, 2021.
http://www.z-table.com/.