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.

Examples: Special Featuressingle variable, to groups of variables, or to all of the variables in a dataset. In the example above, y1, y2, and y3 have a missing value flag of 9;y4 has missing value flags of 9 and 99; and y5 through y12 have missingvalue flags of 9, 10, 11, and 12. If all variables in a data set have thesame missing value flags, the keyword ALL can be used as follows:MISSING = ALL (9);to indicate that all variables have the missing value flag of 9.EXAMPLE 13.6: SELECTING OBSERVATIONS ANDVARIABLESTITLE: this is an example of a path analysiswith continuous dependent variables usinga subset of the dataDATA: FILE IS ex3.11.dat;VARIABLE: NAMES ARE y1-y6 x1-x4;USEVARIABLES ARE y1-y3 x1-x3;USEOBSERVATION ARE (x4 EQ 2);MODEL: y1 y2 ON x1 x2 x3;y3 ON y1 y2 x2;The example above is based on Example 3.11 in which the entire dataset is analyzed. In this example, a subset of variables and a subset ofobservations are analyzed. The USEVARIABLES option is used toselect variables for an analysis. In the example above, y1, y2, y3, x1, x2,and x3 are selected. The USEOBSERVATIONS option is used to selectobservations for an analysis by specifying a conditional statement. Inthe example above, individuals with the value of 2 on variable x4 areincluded in the analysis.395

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

Saved successfully!

Ooh no, something went wrong!