Linear Mixed Models for Longitudinal Data: Modeling Serial Correlation - Prof. Carolyn J. , Study notes of Statistics

An in-depth exploration of linear mixed models for longitudinal data, focusing on the modeling of serial correlation. Various possible models for residuals, including autoregressive (ar) and autoregressive-moving average (arma) processes. It also includes examples of simulated data and sas/mixed implementation.

Typology: Study notes

Pre 2010

Uploaded on 03/16/2009

koofers-user-liy
koofers-user-liy 🇺🇸

9 documents

1 / 102

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Linear Mixed Models for
Longitudinal Data
Modeling Serial Correlation
EdPsych/Psych/Stat 587
C.J. Anderson
Linear Mixed Models for Longitudinal DataModeling Serial Correlation p. 1/102
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Linear Mixed Models for Longitudinal Data: Modeling Serial Correlation - Prof. Carolyn J. and more Study notes Statistics in PDF only on Docsity!

Linear Mixed Models forLongitudinal DataModeling Serial Correlation^ EdPsych/Psych/Stat 587C.J. Anderson

Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 1/

Model for Level 1 Residuals^ There are three sources of possible variance^ •^ Between individuals, modeled by

ZU^ whereii^ U^ ∼ N^ (^0 ,^ T^ ).i^ • Within individuals,

R=^ e+^ eit^ (1)it^ (2)it

-^ Random (measurement error, variables notincluded, etc.),^

(^2) e∼ N (0, σ).(1)it

-^ Autocorrelated errors,

e... need model(2)it for this.

Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 2/

Possible models for

Rit

In an HLM/linear mixed model,^ Y^ Xii=^ (r×^ 1)^ (r×^ i^ i^

Z^ U^ Γii p) (p × 1) + (r×^ q)^ (q^ ×^ 1)^ i^ Ri + (r×^ 1)i^ where^ i^ = 1,... , N

and^ r=^ number of timei^ points for individual

i.

-^ U^ ∼ N^ (^0 ,^ T^ ).i^2 •^ R∼ N^ (^0 , σΩi^ i

-^ var(Y^ ) =^ V^ =ii^

′^2 ZT Z+^ σΩ.ii i^ Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 4/

Possible Models for Serial Correlation^ •^ Autoregressive (AR).^ •^ Moving average (MA).^ •^ Autoregressive with a moving average(ARMA).^ •^ Toeplitz.^ •^ Others.

Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 5/

Autoregressive Errors^ First order autoregressive process, AR1:^ R

=^ ρR+^ ǫit iti(t−1)^ where^2 •^ ǫ∼ N^ (0, σ)^ it^ ǫ^

i.i.d. • ρ is autocorrelation coefficient,^

0 ≤ |ρ|^ <^1.

-^ Stationarity:^ variance of

Rand covarianceit^ between^ Rand^ it^

′^ Rare independent ofit

t.

-^ Resulting error variance structure...

Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 7/

Autoregressive Errors^2 σ^ ǫ^2 σΩ^ =^2 (1^ −^ ρ)

02 1 ρ^ ρ.. .BBBBBBBBB^

1 r− 1 i ρCCr− 2 i ρ 1 ρ... ρCC 2 r− 3 Ci ρρ 1... ρ.CC .... C.... C. ..... .A^ r− 1 r− 2 r− 3 i i iρρρ... 1

In SAS, AR1 is parameterized as^01 ρ^ BBBBB^2 ∗^2 ∗ σΩ^ =^ σB^ ǫBBB^

12 r− 1 i ρ... ρCCr− 2 i ρ 1 ρ... ρCC 2 r− 3 Ci ρρ 1... ρwhereCC .... C.... C. ..... .A^ r− 1 r− 2 r− 3 iii ρρρ... 1

2 ∗^22 σ=^ σ/(1^ −^ ρ). ǫ^ ǫ^ Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 8/

Simulated Data: No Serial Correlation^ Y= 10 +^ (time)it^

+^ U+^ U(time)^0 j^1 j^ it

+^ Ritit where^ •^ (time)=^ t^ = 1^... ,

20 , and^ N^ = 50^ individuals. • U ∼ N ( 0 , T ) withi ^ ^4 −^2 ^ ^ T^ =^ −^2 4 • R∼ N ( 0 , 4).it Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 10/

No Serial Correlation: Data^2 R∼ N^ (0, σ)^ iid.it^

Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 11/

No Serial Correlation:

Rit

(^2) R∼ N (0, σ)^ iid.it

Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 13/

Simulated AR1 Data^ Y= 10+(time)it^ it

+U+U(time)^0 j^1 j^ it

+.^75 R+ǫiti(t−1)^ where^ •^ (time)=^ t^ = 1^... ,

20 , and^ N^ = 50^ individuals. • U ∼ N ( 0 , T ) withi ^ ^4 −^2 ^ ^ T^ =^ −^2 4 • ǫ∼ N ( 0 , 4).it (^) • R=. 75 R+^ ǫ.it i(t−1) it^ Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 14/

Eg of AR1: The

Rit^ Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 16/

Eg of AR1: Some

Rit^ Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 17/

Eg of AR1: OLS

2 ˆ R it^ Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 19/

Eg of AR1: OLS mean

2 ˆ R it Linear Mixed Models for Longitudinal DataModeling Serial Correlation – p. 20/