Professional Documents
Culture Documents
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:
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
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
Table 1
Analysis Table of the Mean Scores of the Boys and Girls in a Personality Test
n = _________
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.