Académique Documents
Professionnel Documents
Culture Documents
INDEPENDENT SAMPLES
Chapter 10
GOAL OF HYPOTHESIS TESTING using
t-test
1) PRE-POST treatment 1
Sample 1 Mean Sample 1 Mean 1
2) 2 Treatments (post-treatment) (post-treatment)
(treatment 1) (treatment 2)
What means can we compare?
①Sample mean and hypothesized population mean (1 sample of
participants; 1 sample mean)- SINGLE SAMPLE T-TEST
• PROBLEM:
• Our previous t-test only considered one sample mean (single-sample t-test)
• This example has two sample means…
• SOLUTION:
• Use Independent Samples t-test
• The critical values for the t statistic are obtained using degrees
of freedom that are determined by adding together the df value
for the first sample and the df value for the second sample.
• df1 = n1 – 1
• df2 = n2 – 1
STEPS OF HYPOTHESIS TESTING (cont.)
There are:
• two sample means (M1 and M2)
• two population means (u1 and u2)
• two sources of error contributing to the standard error in the
denominator
T-FORMULA
One sample t test
Sample mean – Hypo pop mean M μ (null)
t = ───────────── = ─────
estimated standard error sM
Null = 0
Independent sample t test
Sample mean diff – No pop mean diff M1-M2 (μ1-µ2)
t = ───────────── = ─────
estimated standard error s(M1-M2)
4. Make a decision.
REJECT H0 (NULL)
= Sample 2 variance
s12 = Sample 1 variance s22
M1sM = M 2 sM =
n1 n2
A. ESTIMATED SEM: FORMULA
Unlike the numerator where you subtract the means for each
sample (to find mean difference),
in the denominator, you add the variances from each sample.
WHY?
Because samples with larger sample sizes provide better estimates of
the population variance (lower sampling error) than those with a
small sample size. So need to WEIGHT each sample accordingly.
One sample
To calculate the POOLED VARIANCE for samples with the same size,
we use the formula (with the sum of squares) below
B. POOLED VARIANCE (DIFFERENT SAMPLE SIZES)
s s 2
p
2
p
s(M 1 -M 2 ) = +
n1 n 2
D. FINAL INDEPENDENT SAMPLES
T-STATISTIC FORMULA
IV. INTERPRETING T-STATISTIC AND DEGREES
OF FREEDOM
• Degrees of freedom: the degrees of freedom for the independent
measures t statistic are determined by the df values for the two
separate samples
df for the t statistic = df for the 1st sample + df for the 2nd sample
=df1 +df2
=(n1-1)+(n2-1) OR (n1+ n2 - 2)
EXAMPLE: INDEPENDENT SAMPLES
T-TEST
TV viewing habits and future performance in high school
• HYPO: There will be a difference in the mean high school GPA between
hildren who watched Sesame Street (group 1) and children who did not
watch Sesame Street (group 2)
• TWO GROUPS: n=20; 10 who did not watch & 10 who did watch
s2p s2p 20 20
s(M 1 -M 2 ) = + = + = 2+2 = 4 = 2
n1 n2 10 10
3) Compute the t
(M1 - M 2 ) - (m1 - m 2 ) (93 - 85) - 0 8
t= = = =4
s(M 1 -M 2 ) 2 2
EXAMPLE: 4 STEPS OF
HYPOTHESIS TESTING (cont.)
• Step 4 – Make a decision
• t= + 4.0
YES it is! So do we
Retain or reject null?
Example:
• Two groups- both n=9 with a 5 point mean difference
• Group 1: M=8, s=1.22 Group 2: M=13, s=1.22—SMALL amount of variability
• No overlap between groups
• Easily reject the null!
• α .05 or .01
mean difference 5
t= = = 8.62
estimated stan dard error .58
INFLUENCE OF SAMPLE VARIANCE
ON T-TEST (cont.)
• Increasing the sample variance causes scores to be more
spread out.
Example:
Group 1: n=9, M=8, Group 2: n=9, M=13 (same M and n)
mean difference 5
t= = =1.59
estimated stan dard error 3.14
C. ASSUMPTIONS FOR T-TEST
• There are three assumptions that must be met when
performing an independent t test:
1) PRE-POST treatment 1
Sample 1 Mean Sample 1 Mean 1
2) 2 Treatments (post-treatment) (post-treatment)
(treatment 1) (treatment 2)
TERMS
• Independent measures
• Between subjects design
• Within subjects design
• Repeated measures
• Estimated standard error
• Pooled variance
• Homogeneity of variance
• F-Max