AdvancedAnalysesAdvancedAnalyses
Example 11.1 Treatments Litter #Group AGroup BGroup C mean variance Total variance = Five litters of mice of about the same age are selected. One member of each litter was randomly assigned to 1 of 3 diets, and their weight gain was recorded.
One-Way ANOVA to compare means
Randomized Complete Block Designs Sometimes experiments are set up where each observation in one of the treatments has something in common with one observation in each of the other treatments - each of these groups of related data is referred to as a block. The idea here is that some populations contain variance that makes the within groups variance very high. However, sometimes this variance can be grouped, or blocked out, in order to partition out this variance from the error variance.
Randomized Complete Block Designs calculate another source of variance – ‘block’ This design thus partitions some of the variance and degrees of freedom from the error variance into the block variance
Example 11.1 Treatments Litter #Group AGroup BGroup C Block mean variance Total variance = Five litters of mice of about the same age are selected. One member of each litter was randomly assigned to 1 of 3 diets, and their weight gain was recorded.
Example 11.1 Generalized ANOVA Table Source of Variation Sum of Squares dfMSF Treatment SS Trt k-1SS Trt /k-1MS Trt /MS E Block SS B B-1SS B /B-1 Error SS E (k-1)(B-1)SS E / (k-1)(B-1) Total SS Tot N-1SS Tot /N-1 K = number of groups; N = total number of observations B = number of blocks
Let’s move to the SPSS demo:
Factorial Designs In many situations more than one factor, or treatment interacts to produce effects beyond the sum of the effects of the 2 acting alone. –In other words, factors may act synergistically or antagonistically. When some form of interaction is suspected, a two factor ANOVA, or a Factorial design, is appropriate. These are similar to a blocked design, except that the “block” now represents a factor in which we have an interest and each “block” x treatment cell consists of repeated observations.
Generalized ANOVA Table Source of Variation Sum of Squares dfMSF Category A SS Trt A A-1SS Trt /k-1MS Trt A /MS E Category B SS Trt B B-1SS B /B-1MS Trt B /MS E Interaction SS A x B (A-1)(B-1)MS A x B /MS E Error SS E (AxB)(n-1)SS E / (k-1)(B-1) Total SS Tot N-1SS Tot /N-1 A = number of levels in category A; B = number of levels in category B N = total number of observations, n = number of observations each category
DamageNo Damage No Yeast Yeast
No DamageDamage No Yeast Yeast
Example (Q 11.9) The possible influence of crowding and sex on plasma corticosterone in a highly inbred strain of rats was investigated using a factorial design. Sex (males, nongravid females, and gravid females) and crowding (low, moderate, and high) were used as the main treatment effects.
Example (Q 11.9) SexLowModerateHigh Males Nongravid Females Gravid Females
SPSS Means Figure
At low crowding stress, gravid females have the greatest plasma corticosterone levels, followed by nongravid females, with males exhibiting the lowest levels. At high and moderate stress levels, gravid females still exhibit the greatest plasma corticosterone levels. However, at these two levels of stress, males have higher corticosterone levels than nongravid females. Low Medium High Males Females Gravid Females Corticosterone Concentration (X + 1 sd)
Nested ANOVAS BENCH FLAT PLANT Variation in Growth
Nested ANOVAS BENCH FLAT PLANT Variation in Growth
For Nested ANOVA: - First, EDIT > OPTIONS > “Open syntax startup” - see if it opens… if not reboot. NOW, from taskbar, there should be a new window…syntax Analyze > General Lin. Model dependent var = growth random effects = bench flat model = bench flat main effects Run Copy LOG box from output Paste in syntax window… change flat to flat(bench) Get cursor to top line, before UNIANOVA PRESS green ARROW to RUN!
UNIANOVA growth BY bench flat /RANDOM=bench flat /METHOD=SSTYPE(3) /INTERCEPT=INCLUDE /CRITERIA=ALPHA(0.05) /DESIGN=bench flat(bench). Tests of Between-Subjects Effects Dependent Variable:growth SourceType III Sum of SquaresdfMean SquareFSig. InterceptHypothesis Error a benchHypothesis Error b flat(bench)Hypothesis Error c a. MS(bench) b. MS(flat(bench)) c. MS(Error)
Mixed Model ANOVAS BENCH FLAT PLANT Variation in Growth Nitrogen Potassium
Mixed Model ANOVAS BENCH FLAT PLANT Variation in Growth Nitrogen Potassium
UNIANOVA growth BY fert bench flat /RANDOM=bench flat /METHOD=SSTYPE(3) /INTERCEPT=INCLUDE /CRITERIA=ALPHA(0.05) /DESIGN=bench fert flat(bench) fert*flat(bench). Run an ANOVA as before with the terms… copy LOG, and rewrite DESIGN line as follows:
EXPERIMENTAL DESIGN MATTERS – IT AFFECTS HOW YOU ANALYZE THE PATTERNS IN THE DATA