10.07.2015 Views

Mplus Users Guide v6.. - Muthén & Muthén

Mplus Users Guide v6.. - Muthén & Muthén

Mplus Users Guide v6.. - Muthén & Muthén

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 9EXAMPLE 9.14: TWO-LEVEL GROWTH MODEL FOR ACONTINUOUS OUTCOME (THREE-LEVEL ANALYSIS) WITHVARIATION ON BOTH THE WITHIN AND BETWEENLEVELS FOR A RANDOM SLOPE OF A TIME-VARYINGCOVARIATETITLE: this is an example of a two-level growthmodel for a continuous outcome (threelevelanalysis) with variation on both thewithin and between levels for a randomslope of a time-varying covariateDATA: FILE IS ex9.14.dat;VARIABLE: NAMES ARE y1-y4 x a1-a4 w clus;WITHIN = x a1-a4;BETWEEN = w;CLUSTER = clus;ANALYSIS: TYPE = TWOLEVEL RANDOM;ALGORITHM = INTEGRATION;INTEGRATION = 10;MODEL:%WITHIN%iw sw | y1@0 y2@1 y3@2 y4@3;y1-y4 (1);iw sw ON x;s* | y1 ON a1;s* | y2 ON a2;s* | y3 ON a3;s* | y4 ON a4;%BETWEEN%ib sb | y1@0 y2@1 y3@2 y4@3;y1-y4@0;ib sb s ON w;OUTPUT: TECH1 TECH8;274

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!