TITLE: LGM with individually-varying time of observation and a random slope for time-varying covariates for a continuous outcome DATA: FILE IS LGM_612part.dat; VARIABLE: NAMES ARE y1-y4 x a21-a24 a11-a14; TSCORES = a11-a14; ANALYSIS: TYPE = RANDOM; MODEL: i s | y1-y4 AT a11-a14; st | y1 ON a21; st | y2 ON a22; st | y3 ON a23; st | y4 ON a24; i s st ON x; !a21 on i; !a22-a24 on s; output: sampstat tech1; PLOT: TYPE IS PLOT3; SERIES = y1-y4 (*);