Lecture 16. Mixed Models Nan Ye
School of Mathematics and Physics University of Queensland
1 / 23
Lecture 16. Mixed Models Nan Ye School of Mathematics and Physics - - PowerPoint PPT Presentation
Lecture 16. Mixed Models Nan Ye School of Mathematics and Physics University of Queensland 1 / 23 Recall: Extending GLMs (a) (c) Quasi-likelihood Mixed/marginal GLMs models models (b) Nonparametric models (a) Relax assumption on the
1 / 23
2 / 23
3 / 23
4 / 23
ij πΎ + π½i + πij,
ind
ind
A),
As usual, xij contains a dummy variable of value 1 corresponding to the intercept term.
5 / 23
ij πΎ, and a random effect component π½i.
A = 0, the model reduces to a fixed effects only linear
A β β, some people consider this as a fixed effects linear
6 / 23
A)
A).
7 / 23
ij πΎ,
A + π2,
A,
8 / 23
A).
9 / 23
ij πΎ + π½i + πij,
ind
10 / 23
11 / 23
ij πΎ + zβ€ ij π½i + πij,
ind
ind
zij contains a dummy variable of value 1 corresponding to the intercept term.
12 / 23
13 / 23
ij πΎ + zβ€ ij π½i),
ind
14 / 23
15 / 23
Reaction times vs. days of sleep deprivation for 18 subjects
Days of sleep deprivation Average reaction time (ms)
200 250 300 350 400 450 0 2 4 6 8
309
0 2 4 6 8
310
0 2 4 6 8
0 2 4 6 8
0 2 4 6 8
335
337
0 2 4 6 8
349
350
0 2 4 6 8
352
0 2 4 6 8
370
0 2 4 6 8
200 250 300 350 400 450
372 16 / 23
iid
iid
A0
A1
17 / 23
ij π½i in the linear mixed model.
18 / 23
19 / 23
A0
A1
20 / 23
21 / 23
22 / 23
23 / 23