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 7EXAMPLE 7.21: MIXTURE MODELING WITH KNOWNCLASSES (MULTIPLE GROUP ANALYSIS)TITLE: this is an example of mixture modelingwith known classes (multiple groupanalysis)DATA: FILE IS ex7.21.dat;VARIABLE: NAMES = g y1-y4;CLASSES = cg (2) c (2);KNOWNCLASS = cg (g = 0 g = 1);ANALYSIS: TYPE = MIXTURE;MODEL:%OVERALL%c ON cg;MODEL c:%c#1%[y1-y4];%c#2%[y1-y4];MODEL cg:%cg#1%y1-y4;%cg#2%y1-y4;OUTPUT: TECH1 TECH8;y1 y2 y3 y4cgcIn this example, the multiple group mixture model shown in the pictureabove is estimated. The groups are represented by the classes of thecategorical latent variable cg, which has known class (group)membership.176

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

Saved successfully!

Ooh no, something went wrong!