Professional Documents
Culture Documents
Class Ix: Hypothesis Testing - III Analysis of Variance
Class Ix: Hypothesis Testing - III Analysis of Variance
Grouped Continuous
2 values
Do teens who receive summer job training earn more than teens who do not
receive summer job training?
TEENS WITH TRAINING: NT = 15; XT = $5,500; sT = 600
COMPARISION GROUP: NC = 20; XC = $5,200; sC = 1,000
Grouped Continuous
2 values
Did the Family Planning Intervention decrease the proportion of young
women who gave birth to another child within 18 months?
Women who received post-partum education: NE = 300; PSE = .32
Comparison group of women: NC = 200; PSC = .36
Grouped
3 values Continuous
ANOVA (ANalysis Of Variance)
is used to analyze bivariate relationships
between grouped/ continuous variables
VARIABLE 1 VARIABLE 2
Grouped Continuous
many values
EXAMPLES OF QUESTIONS THAT CAN BE
ADDRESSED BY ANOVA:
In ANOVA problems:
_
Breakout #1
BREAKOUT EXERCISE
WITH GROUP REPORT-OUTS
_
k Nk Xk (all the Xi’s)
_
The mean for the whole class (the grand mean) X = __
ANOVA LANGUAGE: “SUM OF SQUARES”
This gives us
Fcrit
THE F DISTRIBUTION
2. Calculate SSB:
SSB = Nk (Xk – X)2
3. Calculate SSW:
SSW = SST – SSB
5. Calculate Mean Square Within (MSW) and Mean Square Between (MSB):
MSW = SSW/dfw
MSB = SSB/dfb
Does the distribution of body weight (or Body Mass Index) differ by mode
of commuter transportation? We looked at a random sample of 15 New
Yorkers. Here are the data and necessary calculations. (Note: a BMI of 25
or more is considered overweight)
Xk = 22.8 23.8 25
X = 23.866666 =
23.8667
Finding the F ratio (Fobtained), for the example
At your desk: connect the calculations below with the
numbers on the previous slide
SST = X2 – NX2
= (2630 + 2851 + 3187) – (15)(23.8667) 2
= 8668 – (15)(569.6194)
= 123.7333
dfw = N – k = 15 – 3 = 12
dfb = k – 1 = 2
H0: 1 = 2 = 3
H1: At least one of the population means are different
• Step 3 --- Selecting the sampling distribution and establishing the critical region
F distribution, = .05
dfw = 12 dfb = 2
F(critical) = 3.88
F(obtained) = 0.65
When just two groups are being compared, you could use
•t- or z-test (Week 7)
H0: 1 = 2
These are the same null hypotheses. Are the results of the
significance tests the same?
•Yes, if the t- or z- test is 2-tailed (H1: 1 ≠ 2)
•No, if the test is 1-tailed (H1: 1 = 2 or H1: 1 > 2)