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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 10• 10.13: Two-level LTA with a covariate and a between-levelcategorical latent variable* Example uses numerical integration in the estimation of the model.This can be computationally demanding depending on the size of theproblem.EXAMPLE 10.1: TWO-LEVEL MIXTURE REGRESSION FORA CONTINUOUS DEPENDENT VARIABLETITLE: this is an example of a two-level mixtureregression for a continuous dependentvariableDATA: FILE IS ex10.1.dat;VARIABLE: NAMES ARE y x1 x2 w class clus;USEVARIABLES = y x1 x2 w;CLASSES = c (2);WITHIN = x1 x2;BETWEEN = w;CLUSTER = clus;ANALYSIS: TYPE = TWOLEVEL MIXTURE;STARTS = 0;MODEL:%WITHIN%%OVERALL%y ON x1 x2;c ON x1;%c#1%y ON x2;y;%BETWEEN%%OVERALL%y ON w;c#1 ON w;c#1*1;%c#1%[y*2];OUTPUT: TECH1 TECH8;292

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

Saved successfully!

Ooh no, something went wrong!