Professional Documents
Culture Documents
sample t-tests
Email: greg.benson@ucumberlands.edu
Phone: 941-822-1000
Appointment: Text or email
Statistical Tests:
Differences in two groups of data
• In many instances, it is necessary to compare
numeric data from two groups to see which one is
greater than the other. How do we know that
random chance did not cause the apparent
difference between groups if one group had a mean
score of 79 and the other produced an average
score of 81? In this instance, I am thinking about
continuous data, means, and normal curves,
whether skewed or not. Such a situation calls for a
t-test.
T-test Basics
• Null Hypothesis for Independent and Paired
Samples T-Test is that the MEANS ARE SIMILAR.
This means that there is not a significant
difference between the means of the 2 groups.
• If the test results show a p-value of <.05, then
we reject the null hypothesis and say that there
is a significant difference between the means.
• (t [df] = t statistic, p less than or greater
than .05).
What is the difference in types of t-tests?
• Before we go further, it is important to point out the
situational differences between a paired samples and
independent samples t-test. An independent samples t-
test is used to compare data from two groups when there
is no direct connection between the two groups (i.e.,
males and females). A paired samples t-test is used in a
pre- and post-test scenario. Another example would be
data on freshmen infractions as compared to the same
students’ infractions tallied during their sophomore year.
If you were comparing different groups of freshmen to
sophomores, then it would require an independent
samples t-test.
Types of t- tests
• Independent samples • Paired samples also
also known as: known as:
– Two-Sample – Repeated Measures
Assuming Equal Variance – Matched Pairs
– Natural Pairs
– Correlated samples t-
tests
– Paired sample for means
characteristic of Management by Df 66
3. Scroll
down to t-
test,
Paired
Two
Sample
for Means
Pre and Post Test Scores:
4. Click Variable 1 Range
Box, Highlight Column A
(Rows 1-21).
5. Click Variable 2 Range,
Highlight Column B (Rows
1-21).
6. Click the Box labels
(since row one does not
contain numbers, but
identifies our variables)
7. Click the output range
box, and select an open
cell (d18, for example).
8. Click OK.
Your screen
should look
like this now.
The results
t-Test: Paired Two Sample for Means
Pre-Test Post-Test
Mean 71 75.75
Variance 180.5263158 77.03947368
Observations 20 20
Pearson Correlation 0.238766431
Hypothesized Mean Difference 0
df 19
t Stat -1.497409772
P(T<=t) one-tail 0.075357904
t Critical one-tail 1.729132812
P(T<=t) two-tail 0.150715809
t Critical two-tail 2.093024054
County A County B
Mean 23.2 22.41666667
Variance 35.32631579 33.64492754
Always look Observations 20 24
at the two- Pooled Variance 34.40555556
Hypothesized Mean Difference 0
tail first. df 42
Is .66 greater t Stat 0.441089379
P(T<=t) one-tail 0.330705325 Next, look
than .05? t Critical one-tail
P(T<=t) two-tail
1.681952357
0.66141065
at the
t Critical two-tail 2.018081703 one-tail, is
.33
County B ‘s ACT scores (M = 22.4) were not greater
significantly different than County A’s ACT than .05?
scores (M = 23.2), (t [42] = .44, p > .05). There
is no significant difference in County A and
County B’s ACT performance.
Next…
• Practice problems using excel to solve both paired
and independent sample t-tests.
• Understand the difference in paired and
independent sample. What do the results mean?
• Note: results that look like: 4.1203E-08 indicate a
very small number. If you get this result for the
two tailed test, then we report that p<.001