You are on page 1of 3

t-test for Independent Data

Name: Queenie Butalid Score:_________________________

Activity# 15
t-test for Comparing Two Sample Means (Independent or Uncorrelated Data)

Problem:
A personality test was administered to 15 male employees and 11 female employees in a private company.
Test whether the male employees differed in their personality from that of the female employees. Higher scores
indicate higher personality traits. (Assume all assumptions are met.)

Data:

No. Male Female


Employees Employees
1. 11 17
2. 16 19
3. 16 22
4. 19 24
5. 20 27
6. 20 25
7. 20 26
8. 21 29
9. 23 32
10. 24 35
11. 26 36
12. 27
13. 28
14. 30
15. 32
Solution:
1. Ho: There is no significant difference between the mean scores of male and female employees in a private
company during the personality test.
(μ 1 = μ 2)
Ha : There is a significant difference between the mean scores of male and female employees in a private
company during the personality test.
(μ 1 ≠ μ 2) non directional test, two tailed test

2. α = 0.05 (use 0.05 if it’s not emphasized in the problem)

3. use t-test for comparing two sample means (< 30).

t-Test: Two-Sample Assuming Equal Variances

Variable 1 Variable 2
Mean 22.2 26.54545455
Variance 32.88571429 37.47272727
Observations 15 11
Pooled Variance 34.7969697
Hypothesized Mean Difference 0
df 24
t Stat -1.855751401
P(T<=t) one-tail 0.037905283
t Critical one-tail 1.71088208
P(T<=t) two-tail 0.075810567
t Critical two-tail 2.063898562
2

4. df = n1 + n2 – 2 = 15+11-2 = 24

Tabular or critical t-value = 2.064 (from the t-distribution Table or this can be seen in the output if you are using Data
Analysis ToolPak)
t-Test: Two-Sample Assuming Equal Variances

Variable 1 Variable 2
Mean 22.2 26.54545455
Variance 32.88571429 37.47272727
Observations 15 11
Pooled Variance 34.7969697
Hypothesized Mean Difference 0
df 24
t Stat -1.855751401
P(T<=t) one-tail 0.037905283
t Critical one-tail 1.71088208
P(T<=t) two-tail 0.075810567
t Critical two-tail 2.063898562

5. Computation:

Use Data Analysis ToolPak in getting the mean, standard deviation, t-value and p-value.
Male Employees

1 = 22.2

s12 =32.89

s1 = 5.734631636 or 5.73 square root of 32.89

Female Employees
= 26.54
2
s2 = 37.47
s2 = 6.121274 or 6.12 (square root of 37.47)

t-value = -1.856
p-value = 0.076
FINAL TABLE AND DISCUSSION

Using the p-value and level of significance

Table 1
Analysis Table of the Mean Scores of the Boys and Girls in a Personality Test
n = _________

Computed Critical p-value


Respondents t t Decision Remark
s n
do not Not
Male 22.2 5.73 15 -1.856 2.064 reject Ho significant
0.076
Female 26.55 6.12 11
Level of significance = 0.05; df = 24

Discussion:
3

Table 1 presents the mean scores of the personality test taken by the employees of a private company.. It is
reflected that the mean score of the male employees (22.2) is numerically lower than the mean score of the
female employees (26.55). To test the data statistically, t-test for comparing two means is applied. It is shown
that the computed t-value (-1.856) is less than the tabular or critical t-value (2.064). At 5% level of significance
and 24 degrees of freedom, the null hypothesis is not rejected. This means that the data are not sufficient to
conclude that there is a significant difference between their means. This result may suggest that the mean
scores of the male and female employees of the said private company are just the same.

You might also like