Do all people see the same stimuli? (crossed random effects, cross-classification)
In brief
With crossed random effects (cross-classification) there are two groupings and neither lies inside the other: every person sees many stimuli, every stimulus is seen by many people. Both enter the model as a sample.
When
- Every participant works on many words, pictures or questions (the stimuli), and all stimuli occur with many people. Further examples: students by raters, patients by doctors.
- The finding is meant to hold for stimuli and people in general, not only for exactly these. Anyone who ignores the stimuli in the model sets the standard errors (how precisely a value is estimated) too small. Clark (1973) called this the "language-as-fixed-effect fallacy"; Baayen, Davidson and Bates (2008) showed the solution with crossed random effects.
- The opposite is nesting (nested): children in classes, every child belongs to exactly one class. The article "Are my data nested in groups?" covers that.
How it works in Statable
- "New analysis", card "Are my data nested in groups?" (multilevel model); choose the measure and the first grouping (the person).
- Under "More options" fill in the field "Second grouping (crossed, optional)", for example with the column of the stimuli. The card then shows "Two groupings, crossed" with the number of levels of the second grouping.
- The result has a table of the random effects with variance, standard deviation and "share of the total variance" for each grouping.
Reading the result
- Share of the total variance: how much of the spread lies with each grouping. In the example "Words, people and stimuli" it is 0.26 for the people and 0.05 for the stimuli in the null model. The rest lies within the same person on the same stimulus.
- Even a small share counts: the standard error of word type grows from 16.8 to 22.1, and the degrees of freedom fall from about 2509 to about 123, because the stimuli are now the sample and no longer the single trials. The effect itself stays almost the same (172.5 against 175.4 milliseconds).
- Characteristics that differ between people (the task) keep almost the same standard error; there the people are the sample.
Limits
- There are only random intercepts for both groupings, no random slope, and the measure must be a number (not yes/no).
- Without a random slope the standard error of a characteristic that varies within the person (here word type) can still be too small if the effect differs from person to person (Barr, Levy, Scheepers and Tily 2013). With one grouping this can be checked under "For specialists".
- Every level should occur several times; with very few stimuli or people the variances are uncertain.
- Caution: if the identifiers are unique only within the first grouping (for example class 1, 2, 3 in every school), this looks crossed but is nested. Then first build a unique identifier (school and class together).
Reporting the result
A linear mixed model with crossed random effects for people and stimuli (REML, Satterthwaite degrees of freedom) showed: responses to words were faster than to nonwords, b = -172.53, SE = 22.10, 95% CI [-216.27, -128.78], t(123.4) = -7.81, p < .001. In the null model 26% of the total variance lay with the people and 5% with the stimuli (45 people, 120 stimuli, 2553 trials)
For specialists
lme4 formula (1 | person) + (1 | stimulus), REML, Satterthwaite degrees of freedom (lmerTest). The share of the total variance per grouping is the grouping's τ² divided by the sum of all variances. Computed with lme4 and checked against SPSS 32 (MIXED): all fixed effects and variances agree to at least four digits.