Title: Independent t-tests
1Independent t-tests
1
- Uses a sampling distribution of differences
between means
2The test statistic for independent samples t-tests
- Recall the general form of the test statistic for
t-tests - Recall the test statistic for the single sample
t-test
1
Horizontal axis value sample mean
Distribution mean mean of distribution of
sample means
2
Distribution SD SD of distribution of sample
means
3
3The test statistic for independent samples t-tests
- So how about the independent samples t-test?
Horizontal axis value ?
1
4The test statistic for independent samples t-tests
- So how about the independent samples t-test?
Horizontal axis value difference between 2
sample means
1
5The test statistic for independent samples t-tests
- So how about the independent samples t-test?
Distribution mean ?
1
2
6The test statistic for independent samples t-tests
- So how about the independent samples t-test?
1
SD of sampling distribution ?
1
7The test statistic for independent samples t-tests
- So how about the independent samples t-test?
SD of sampling distribution ?
1
the SD of the distribution of differences between
2 sample means
8On the SD of the distribution
- Look at the SD (SEM) in more detail
Where
1
9What affects significance?
- Mean difference
- With larger observed difference between two
sample means, it is less likely that the observed
difference in sample means is attributable to
random sampling error - Sample size
- With larger samples, it is less likely that the
observed difference in sample means is
attributable to random sampling error - Sample SD
- With reduced variability among the cases in each
sample, it is less likely that the observed
difference in sample means is attributable to
random sampling error - See applet
- http//physics.ubishops.ca/phy101/lectures/Beaver/
twoSampleTTest.html
1
10d of f for the test statistic
- The d of f changes from the one-sample case
- comparing two independent means
1
becomes
If the 2 groups are of equal size
11Reporting t-test in text
1
Descriptive statistics for the time to exhaustion
for the two diet groups are presented in Table 1
and graphically in Figure 1. A t-test for
independent samples indicated that the 44.2 (?
2.9) minute time to exhaustion for the CHO group
was significantly longer than the 38.9 (? 3.5)
minutes for the regular diet group (t18 - 3.68,
p ? 0.05). This represents a 1.1 increase in
time to exhaustion with the CHO supplementation
diet.
Should also consider whether the difference is
meaningful see effect sizes, later
12Reporting t-test in table
- Descriptives of time to exhaustion (in minutes)
for the 2 diets.
1
Group n Mean SD
Reg Diet 10 38.9 3.54
CHO sup 10 44.2 2.86
Note indicates significant difference, p ? 0.05
13Reporting t-test graphically
1
Figure 1. Mean time to exhaustion with different
diets.
14Reporting t-test graphically
1
Figure 1. Mean time to exhaustion with different
diets.
15Summary/Assumptions of theindependent t-test
- Use when the assumption of no correlation between
the samples is valid - Dont test for itjust examine whether the
assumption is fair - Use when the two samples have similar variation
(SD) - Test for in output (see next few slides)
1
2
16t-tests in SPSS
- First note the data format one continuous
variable (in this case, age)
1
17t-tests in SPSS
- Second, run the procedure
drag the test variable over
and specify µ
1
18t-tests in SPSS
N, Mean, SD, SEM
1
significance (if a .05, then lt .05 is
significant)
2
df n-1 19
19independent-tests in SPSS
One grouping variable
1
One test variable
20independent-tests in SPSS
- Second, run the procedure
1
21independent-tests in SPSS
- Second, run the procedure
1
2
1. slide variables over
2. click define groups
3. define groups
22independent-tests in SPSS
- Third, examine the output
N, Mean, SD, SEM
1
2
test for equal variances (gt .05 is good)
significance (if a .05, then lt .05 is
significant)
3
4