Professional Documents
Culture Documents
Research Iii & Iv Quarter 3 Week 5: Ca PS LE T
Research Iii & Iv Quarter 3 Week 5: Ca PS LE T
9 & 10
RESEARCH III & IV
QUARTER 3
Week 5
Ca
Capsulized Self-Learning Empowerment
pS
Toolkit
LE
Zamboanga City
“Unido, Junto avanza con el EduKalidad Cree, junto junto puede!”
UNDERSTAND
Student t test is a statistical test which is used to compare the mean of two groups of
samples. It is used to assess whether the means of the two sets of data are statistically
significantly different from each other.
The following are the types of t test :
1. The one-sample t-test compares the mean of a population with a theoretical value.
2. The independent t test or unpaired two sample t-test compares the mean of two
independent samples.
3. The paired t-test compares the means between two related groups of samples.
It is a method used to test whether the unknown population means of two groups are equal
or not.
Assumptions for a t-test for independent samples when σ1 and σ2 are unknown
Formula for the t-test for independent samples when variances are assumed to be
unequal:
( X ¿ ¿1−X 2 )−(μ1−μ2 )
¿¿
t=
√
2 2
s1 s 2
+
n1 n2
In the equation
( X 1−X 2 )
t=
√ s21 s 22
+
n1 n2
Example 1
Work Absences
A study was done to see if there is a difference between the number of sick days men
take and the number of sick days women take. A random sample of 9 men found that the mean of
the number of sick days taken was 5.5. The standard deviation of the sample was 1.23. A random
sample of 7 women found that the mean was 4.3 days and a standard deviation of 1.19 days. At α
= 0.05, can it be concluded that there is a difference in the means?
Since the standard deviations are and , this means that the variances of
the two samples are unequal.
Step 2: Find the critical values. Since the test is two-tailed and α = 0.05, the degrees of freedom
are the smaller of n1 − 1 and n2 − 1.
In this case, n1 − 1 = 9 − 1 = 8 and n2 − 1 = 7 − 1 = 6. So d.f. = 6 and the critical values are
+2.447 and −2.447.
( X 1−X 2 )
t=
√
2 2
s1 s 2
+
n1 n2
( 5.5−4.3)
√
t = (1.23)2
9
+ ¿ ¿¿ ¿
= 1.972
Thus, since the t-computed value is 1.972, do not reject the null hypothesis (H0).
There is not enough evidence to support the claim that the means are different.
Example 2
Step 3 Compute the test value. In this case you must find the mean and standard deviation for the
data.
( X 1−X 2 )
t=
√
2 2
s1 s 2
+
n1 n2
(63.1−56.3) 6.8
6.8 6.8
t=
√ =
√ = √ 0.8405+ 2.34375 = √3.18425 = 3.811
2
(4.1) 16.81 56.25
+¿ ¿ ¿ ¿ +
20 20 24
Example 3
Carbohydrates in Candies
The number of grams of carbohydrates contained in 1-ounce servings of randomly
selected chocolate and nonchocolate candy is listed here. Is there sufficient evidence to conclude
that the difference in the means is statistically significant? Use α = 0.10.
Chocolate: 29; 25; 17; 36; 41; 25; 32; 29; 38; 34; 24; 27; 29
Non-chocolate: 41; 41; 37; 29; 30; 38; 39; 10; 29; 55; 29
X1 =
∑ X 386
n
=
13
= 29.7
s1 =
√∑ (X −X )2
n−1
s1 =
√506.770
13−1
=
√
506.770
s1 = √ 42.231
12
s1 = 6.499
√
2
∑ (X −X )
∑ X 378 s2 =
X2 = = = 34.4 n−1
n 11
s2 =
√ 1254.56
11−1
=
√
1254.56
s2 = √ 125.456
10
s2 = 11.200
( X 1−X 2 )
t=
√ s21 s 22
+
n1 n2
( 29.7−34.4)
−4.7
√
t = (6.499)2
13
+ ¿ ¿ ¿¿
= 3.828
= -1.228
Step 4: Decide.
Since the t-computed value of 1.228 lies between the critical values +1.812 and −1.812, do not
reject H0.
Step 5: Summarize
There is not enough evidence to support the claim that the means are not equal.
Example 4
Suppose the experiment to measure the times in minutes for the headache remedies to enter
the bloodstream yielded sample means, sample standard deviations, and sample sizes as follows:
Brand A: X 1 = 20.1min; s1 =8.7 min; n1 = 12
Brand B: X 2 = 11.2min; s2 = 7.5 min; n2 = 8
Brand B claims to be faster. Is this claim justified at the 1% level of significance? (Use the
following steps to obtain the answer.)
( X 1−X 2 )
t=
√ s21 s 22
+
n1 n2
(20.1−11.2) 8.9
8.9 8.9
t=
√ =
√ = √6.308+ 7.031 = √13.339 = 2.437
2
(8.7) 75.69 56.25
+¿ ¿ ¿ ¿ +
12 12 8
Step 4: Decide.
The t-computed value (2.437) is greater than the critical value (1.415), therefore reject
the null hypothesis.
Step 5: Summarize
At the 5% level of significance, there is sufficient evidence to conclude that the mean time
for brand B to enter the bloodstream is less than that for brand A.
Let’s Practice #1! (Write your solution on a separate sheet/s of
paper.)
Use the t-test for independent samples to analyze the data given in the problems below.
Follow the steps illustrated in the examples given. (Assume that the problems follow a normal
distribution and that the population variances are unequal)
1. According to Nielsen Media Research, children (ages 2–11) spend an average of 21 hours
30 minutes watching television per week while teens (ages 12–17) spend an average of
20 hours 40 minutes. Based on the sample statistics shown, is there sufficient evidence to
conclude difference in average television watching times between the two groups? Use α
= 0.01.
Children Teens
Sample mean 22.45 18.50
Sample standard deviation 4.05 4.27
Sample size 15 15
Source: Time Almanac.
2. A large group of friends went miniature golfing together at a par 54 course and decided to
play on two teams. A random sample of scores from each of the two teams is shown. At
α = 0.05, is there a difference in mean scores between the two teams?
REMEMBER
Key Points
A t test for independent samples is used to test the difference between means when the
two samples are independent and when the samples are taken from two normally or
approximately normally distributed populations. Samples are independent samples when they are
not related.
Assumptions for the t Test for two independent means when σ1 and σ2 are unknown
1. The samples are random samples.
2. The sample data are independent of one another.
3. When the sample sizes are less than 30, the populations must be normally or
approximately normally distributed.
TRY
Let’s see how much you have learned today!
Write your answers on a separate sheet of paper.
Directions: Perform the t-test for independent samples on the data given below. Follow the steps
in solving Hypothesis-Testing Problems. (Assume that the data in the problem below follow a
normal distribution and that the population variances are unequal)
Health Care Knowledge Systems reported that an insured woman spends on average 2.3
days in the hospital for a routine childbirth, while an uninsured woman spends on average 1.9
days. Assume two random samples of 16 women each were used in both samples. The standard
deviation of the first sample is equal to 0.6 day, and the standard deviation of the second sample
is 0.3 day. At α = 0.01, test the claim that the means are equal.
Freund, John E, and Gary A Simon. n.d. Modern Elementary Statistics. Prentice Hall.
DISCLAIMER
This learning resource contains copyrighted materials. The use of which has not been
specifically authorized by the copyright owner. We are developing this CapSLET in our efforts to
provide printed and e-copy learning resources available for the learners in reference to the
learning continuity plan of this division in this time of pandemic.
This material is not intended for uploading nor for commercial use but purely for
educational purposes and for the utilization of Zamboanga City Division only.