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.

Examples: Mixture Modeling With Cross-Sectional DataIn this example, the mixture regression model for a continuousdependent variable shown in the picture above is estimated usingautomatic starting values with random starts. Because c is a categoricallatent variable, the interpretation of the picture is not the same as formodels with continuous latent variables. The arrow from c to y indicatesthat the intercept of y varies across the classes of c. This corresponds tothe regression of y on a set of dummy variables representing thecategories of c. The broken arrow from c to the arrow from x2 to yindicates that the slope in the regression of y on x2 varies across theclasses of c. The arrow from x1 to c represents the multinomial logisticregression of c on x1.TITLE:this is an example of a mixture regressionanalysis for a continuous dependentvariableThe TITLE command is used to provide a title for the analysis. The titleis printed in the output just before the Summary of Analysis.DATA:FILE IS ex7.1.dat;The DATA command is used to provide information about the data setto be analyzed. The FILE option is used to specify the name of the filethat contains the data to be analyzed, ex7.1.dat. Because the data set isin free format, the default, a FORMAT statement is not required.VARIABLE: NAMES ARE y x1 x2;CLASSES = c (2);The VARIABLE command is used to provide information about thevariables in the data set to be analyzed. The NAMES option is used toassign names to the variables in the data set. The data set in thisexample contains three variables: y, x1, and x2. The CLASSES optionis used to assign names to the categorical latent variables in the modeland to specify the number of latent classes in the model for eachcategorical latent variable. In the example above, there is onecategorical latent variable c that has two latent classes.ANALYSIS:TYPE = MIXTURE;The ANALYSIS command is used to describe the technical details of theanalysis. The TYPE option is used to describe the type of analysis that147

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

Saved successfully!

Ooh no, something went wrong!