Independent t-Test
Download
Report
Transcript Independent t-Test
Independent t-Test
CJ 526 Statistical Analysis in
Criminal Justice
Overview
1. Most experimental research involves two
or more groups
When to Use an Independent t-Test
Two samples
2. Interval or ratio level dependent variable
Either
Experimental and control group comparison
Or
Comparing two separate independent groups
(no overlap)
1.
Characteristics of an Independent tTest
1.
Population means are assumed
(hypothesized) to be identical
1.
Treatment has no effect
Example of an Independent t-Test
A psychologist wants to determine
whether diversity training has an effect on
the number of complaints filed against
employees. He/she randomly assigns 20
employees to a training group, and 20
employees to a control group.
Example of an Independent t-Test -continued
1.
Number of Groups: 2
2.
Nature of Groups: independent
3.
Known: no
4.
Independent Variable: training
Example of an Independent t-Test -continued
5. Dependent Variable and its Level of
Measurement: complaints--interval
6. Target Population: employees
7. Appropriate Inferential Statistical
Technique: t-test
8. One or two-tailed? Probably one tail
Example of an Independent t-Test -continued
8.
Null Hypothesis:
1.
9.
Alternative Hypothesis:
1.
10.
Mean of exp group – mean of control group = 0
E - C 0
Decision Rule:
1.
If the p-value of the obtained test statistic is less
than .05, reject the null hypothesis
Example of an Independent t-Test -continued
11.
Obtained Test Statistic: t
Decision: accept or reject null hypothesis
Null—training did not affect complaints
Alternative, one tail—training reduced
complaints as compared to a control group
without training See p. 725
12.
Results Section
The results of the Independent t-Test using
diversity training as the independent
variable and number of complaints filed
against employees were statistically
significant, t (18) = 2.35, p < .05.
D.f. degrees of freedom = n(group
1)+n(group 2) - 2
Discussion Section
It appears that employees undergoing
diversity training have fewer complaints
filed against them.
Assumptions of an Independent tTest
1.
Independent observations
SPSS Independent-Samples tTest Procedure
Analyze, Compare Means, IndependentSamples t-Test
Move DV over to Test Variables
Move IV over to Grouping Variable
Enter numerical values of the IV under
Define Groups
SPSS Independent-Samples t-Test
Sample Printout
T-Test
Group Statistics
Score on Drink Index
Gender of Respondent
Female
Male
N
10
10
Mean
23.80
28.70
Std. Deviation
14.816
14.833
Std. Error
Mean
4.685
4.691
Independent Samples Test
Levene's Test for
Equality of Variances
F
Score on Drink Index
Equal variances
as sumed
Equal variances
not ass umed
.086
Sig.
.773
t-test for Equality of Means
t
df
Sig. (2-tailed)
Mean
Difference
Std. Error
Difference
95% Confidence
Interval of the
Difference
Lower
Upper
-.739
18
.469
-4.90
6.630
-18.828
9.028
-.739
18.000
.469
-4.90
6.630
-18.828
9.028
SPSS Independent-Samples tTest Printout
Group Statistics
DV
Levels of IV
N: Sample size
Mean
Standard Deviation
Standard Error of the Mean
SPSS Independent-Samples tTest Printout -- continued
Levene’s Test for Equality of Variances
Test for homogeneity of variance assumption
t-Test for Equality of Means
If Levene test is not significant
Equal variances assumed
If Levene test is significant
Equal variances not assumed
SPSS Independent-Samples tTest Printout -- continued
t-Test for Equality of Means
t: obtained test statistic
df: degrees of freedom
Sig: p-value
Divide by 2 to get one-tailed p-value
Mean Difference
Difference between the two sample means
SPSS Independent-Samples tTest Printout -- continued
Standard Error of the Difference
95% Confidence Interval of the Difference
Lower
Upper