REMINDER 1) GLM Review on Friday 2) Exam II on Monday
Chapter 13.6 Nested Random Effects (Hierarchical ANOVA)
Introduction Nested ANOVA Similar to: One-way Two-way
Example Mosquito wing lengths Two measurements made on the left wings of 4 mosquitos in each of 3 cages Verbal model: Does mosquito wing length vary among cages as well as among mosquitoes?
Graphical model
Formal model Execute analysis lm1 <- lm(wlen~cage/fly, data=m) anova(lm1)
3.Evaluate the model – ok 4.State population and whether sample is representative. – mosq.’s in cages...bla bla 5.Decide on mode of inference. Is hypothesis testing appropriate? – yup 6.State H A /H o pairs, test statistic, distribution, tolerance for Type I error. – Interaction: – Cage: – Fly ⊂ Cage:
7.ANOVA. Calculate df and SS, partition according to model. – n = 24
7.ANOVA. Calculate df and SS, partition according to model.
8.Decide whether to recompute p-value. – no 9.Declare decision about terms. – Significant variance among flies F = ; df = 9, 12; p < – No significant cage effect F = 1.741; df = 2, 9; p = Report and interpret parameters of biological interest.