Mixed-design analysis of variance
In statistics, a mixed-design analysis of variance model (also known as a split-plot ANOVA) is used to test for differences between two or more independent groups whilst subjecting participants to repeated measures. Thus, in a mixed-design ANOVA model, one factor (a fixed effects factor) is a between-subjects variable and the other (a random effects factor) is a within-subjects variable. Thus, overall, the model is a type of mixed effect model.
Andy Field (2009) provided an example of a mixed-design ANOVA in which he wants to investigate whether personality or attractiveness is the most important quality for individuals seeking a partner. In his example, there is a speed dating event set up in which there are two sets of what he terms "stooge dates": a set of males and a set of females. The experimenter selects 18 individuals, 9 males and 9 females to play stooge dates. Stooge dates are individuals who are chosen by the experimenter and they vary in attractiveness and personality. For males and females, there are three highly attractive individuals, three moderately attractive individuals, and three highly unattractive individuals. Of each set of three, one individual has a highly charismatic personality, one is moderately charismatic and the third is extremely dull.
The participants are the individuals who sign up for the speed dating event and interact with each of the 9 individuals of the opposite sex. There are 10 males and 10 female participants. After each date, they rate on a scale of 0 to 100 how much they would like to have a date with that person, with a zero indicating "not at all" and 100 indicating "very much".
The repeated measures are looks, which consist of three levels (very attractive, moderately attractive, and highly unattractive) and the personality, which again has three levels (highly charismatic, moderately charismatic, and extremely dull). The between-subjects measure is gender because the participants making the ratings were either female or male.
When running an analysis of variance to analyse a data set, the data set should meet the following criteria:
- Normality: scores for each condition should be sampled from a normally distributed population.
- Homogeneity of variance: each population should have the same error variance.
- Sphericity of the covariance matrix: ensures the F ratios match the F distribution
For the between-subject effects to meet the assumptions of the analysis of variance, the variance for any level of a group must be the same as the variance for the mean of all other levels of the group. When there is homogeneity of variance, sphericity of the covariance matrix will occur, because for between-subjects independence has been maintained.[page needed]
If the assumptions are violated, a possible solution is to use the Greenhouse & Geisser or the Huynh & Feldt adjustments to the degrees of freedom because they can correct for issues that can arise should the sphericity of the covariance matrix assumption be violated.[page needed]
Partitioning the sums of squares and the logic of ANOVA
Due to the fact that the mixed-design ANOVA uses both between-subject variables and within-subject variables (a.k.a. repeated measures), it is necessary to partition out (or separate) the between-subject effects and the within-subject effects. It is as if you are running two separate ANOVAs with the same data set, except that it is possible to examine the interaction of the two effects in a mixed design. As can be seen in the source table provided below, the between-subject variables can be partitioned into the main effect of the first factor and into the error term. The within-subjects terms can be partitioned into three terms: the second (within-subjects) factor, the interaction term for the first and second factors, and the error term.[page needed] The main difference between the sum of squares of the within-subject factors and between-subject factors is that within-subject factors have an interaction factor.
More specifically, the total sum of squares in a regular one-way ANOVA would consist of two parts: variance due to treatment or condition (SSbetween-subjects) and variance due to error (SSwithin-subjects). Normally the SSwithin-subjects is a measurement of variance. In a mixed-design, you are taking repeated measures from the same participants and therefore the sum of squares can be broken down even further into three components: SSwithin-subjects (variance due to being in different repeated measure conditions), SSerror (other variance), and SSBT*WT (variance of interaction of between-subjects by within-subjects conditions).
Each effect has its own F value. Both the between-subject and within-subject factors have their own MSerror term which is used to calculate separate F values.
- FBetween-subjects = MSbetween-subjects/MSError(between-subjects)
- FWithin-subjects = MSwithin-subjects/MSError(within-subjects)
- FBS×WS = MSbetween×within/MSError(within-subjects)
Analysis of variance table
Degrees of freedom
In the case of the degrees of freedom for the between-subject effects error, dfBS(Error) = Nk – R, where Nk is equal to the number of participants, and again R is the number of levels.
To calculate the degrees of freedom for within-subject effects, dfWS = C – 1, where C is the number of within-subject tests. For example, if participants completed a specific measure at three time points, C = 3, and dfWS = 2.
The degrees of freedom for the interaction term of between-subjects by within-subjects term(s), dfBSXWS = (R – 1)(C – 1), where again R refers to the number of levels of the between-subject groups, and C is the number of within-subject tests.
Finally, the within-subject error is calculated by, dfWS(Error) = (Nk – R)(C – 1), in which Nk is the number of participants, R and C remain the same.
When there is a significant interaction between a between-subject factor and a within-subject factor, statisticians often recommended pooling the between-subject and within-subject MSerror terms.[page needed] This can be calculated in the following way:
MSWCELL = SSBSError + SSWSError / dfBSError + dfWSError
When following up interactions for terms that are both between-subjects or both within-subjects variables, the method is identical to follow-up tests in ANOVA. The MSError term that applies to the follow-up in question is the appropriate one to use, e.g. if following up a significant interaction of two between-subject effects, use the MSError term from between-subjects.[page needed] See ANOVA.
- Field, A. (2009). Discovering Statistics Using SPSS (3rd edition). Los Angeles: Sage.
- Howell, D. (2010). Statistical Methods for Psychology (7th edition). Australia: Wadsworth.
- Geisser, S. and Greenhouse, S.W. (1958). An extension of Box's result on the use of the F distribution in multivariate analysis. Annals of Mathematical Statistics, 29, 885-891
- Hyunh, H. and Feldt, L.S. (1970). Conditions under which mean square ratios in repeated measurements designs have exact F-distributions. Journal of the American Statistical Association, 65, 1582-1589
- Cauraugh, J.H. (2002). Experimental design and statistical decisions tutorial: Comments on longitudinal ideomotor apraxia recovery. Neuropsychological Rehabilitation, 12, 75-83.
- Gueorguieva, R. & Krystal, J.H. (2004). Progress in analyzing repeated-measures data and its reflection in papers published in the archives of general psychiatry. Archives of General Psychiatry, 61, 310-317.
- Huck, S.W. & McLean, R.A. (1975). "Using a repeated measures ANOVA to analyze the data from a pretest-posttest design: A potentially confusing task". Psychological Bulletin, 82, 511-518.
- Pollatsek, A. & Well, A.D. (1995). "On the use of counterbalanced designs in cognitive research: A suggestion for a better and more powerful analysis". Journal of Experimental Psychology, 21, 785-794.
|Wikiversity has learning resources about Mixed-design ANOVA|