Document From Da??
Document From Da??
Document From Da??
Nominal Interval
variable
Variable
Nominal Interval
a variable affects a
Lambda
discrete outcome
Dependent
Variable
TODAY!
Testing the differences
between groups
You already know how
to deal with two Overview
nominal variables
Independent Variables
Nominal Interval
a variable affects a
Lambda
discrete outcome
Dependent
Variable
TODAY!
Testing the differences
between groups
General Examples
Independent Variables
Nominal Interval
Nominal
Dependent
Variable
Interval
Nominal Interval
Nominal
Dependent
Variable
Interval
t( N1 N 2 2 ) two means
2 2
s1 s2
SY Y
1 2
N1 N2
t-test and Confidence Intervals
Y1 Y 2
t ( N1 N 2 2 )
SY1 Y2
The t-test is essentially creating a confidence interval around
the difference score. Rearranging the above formula, we can
calculate the confidence interval around the difference
between two means:
Y Y t ( S
1 2 Y 1 Y 2
)
If this confidence interval overlaps with zero, then we
cannot be certain that there is a difference between the
means for the two samples.
Why a t score and not a Z score?
Y Y t ( S
1 2 Y 1 Y 2
)
• Use of the Z distribution has assumes the population
standard error of the difference is known. In practice,
we have to estimate it and so we use a t score.
• When N gets larger than 50, the t distribution
converges with a Z distribution so the results would be
identical regardless of whether you used a t or Z.
• In most sociological studies, you will not need to
worry about the distinction between Z and t.
t-Test Example 1
Mean pay according to gender:
N Mean Pay S.D.
Women 46 $10.29 .8766
Men 54 $10.06 .9051
Y 2 Y1
T(N1 N 2 2)
s12 s 22
N1 N 2