PSY 716
\(PctFRL_j = \) percent FRL in school \(j\)
\(\overline{PctFRL} = \frac{\sum_{j=1}^J{PctFRL_j}}{J}\)
\(= \) the unweighted mean of percent FRL across all schools
\(PctFRL_j - \overline{PctFRL}\)
By centering the predictor, we will change the interpretation of the intercept. Currently \(\gamma_{00}\) is interpreted as the predicted value for a school where 0% of kids are eligible for free or reduced lunch.
Now \(\gamma_{00}\) is interpreted as the predicted value for a school with a(n unweighted) average number of kids eligible for free or reduced lunch.
The distance between subject \(i\) and the whole sample average
The distance between subject \(i\) and the average for their school
Now \(\beta_{0j}\) is interpreted as the predicted value of math score for a child who watches the average number of hours of TV, conditional on percent free or reduced lunch.
The distance between subject \(i\) and the whole sample average
The distance between subject \(i\) and the average for their school
Level 1
The average number of hours of TV watched by students in school \(j\)
Level 2
Now \(\beta_{0j}\) is interpreted as the predicted value of math score for a child who watches the average amount of TV among children at their school.
...but it is a confounded estimate, in the sense that it also potentially contains between-school differences.
Now \(\beta_{0j}\) is interpreted as the predicted value of math score for a child who watches the average amount of TV among children at their school, \(\beta_{1j}\) conveys the effect of a student's difference from this average. Similarly, \(\gamma_{02}\) conveys the effect of a school's average TV-watching.
The paired samples t-test examines the difference between paired observations:
$$t = \frac{\bar{d}}{\frac{s_d}{\sqrt{n}}}$$
Where:
We can reframe this as a multilevel model, with measurements nested within subjects:
Level 1
where:
$$\beta_{0j} = \gamma_{00} + u_{0j}$$
$$y_{ij} = \beta_{0j} + \beta_{1j}G_{ij} + r_{ij}$$
Level 2
$$\beta_{1j} = \gamma_{10}$$
Repeated measures ANOVA examines differences across multiple conditions within subjects:
$$ F = \frac{MS_{group}}{MS_{error}} = \frac{\frac{SS_{group}}{df_{group}}}{\frac{SS_{error}}{df_{error}}} $$
where:
Key assumption: Sphericity (equal variances of differences between all pairs of conditions)
We can reframe this as a multilevel model with measurements nested within subjects:
$$y_{ij} = \beta_{0j} + \sum_{m=1}^{k-1} \beta_{mj}G_{mij} + r_{ij}$$
$$\beta_{0j} = \gamma_{00} + u_{0j}$$
$$\beta_{mj} = \gamma_{m0}$$
where:
Level 1
Level 2
Note: The standard RM-ANOVA assumes compound symmetry and sphericity, while multilevel models can relax these assumptions by specifying different variance-covariance structures.
Here, \(Age_{ij}\) and \(Drinking_{ij}\) are the age and drinking score, respectively, of subject \(j\) at time \(i\), and Note that under this formulation, only the intercept can vary by person.
Now, under this formulation, we can have variation in the slopes by person.
This can help us to model change that increases and subsequently decreases or levels off. Note that we could include a random effect for that quadratic component too.
Now we have the intercept of drinking being allowed to differ between males and females. We could also allow the slopes to differ.
colev@wfu.edu