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.

TITLE, DATA, VARIABLE, And DEFINE CommandsThe TIMEMEASURES option can be used to identify more than onemeasure that has been measured repeatedly as shown in the followingexample:TIMEMEASURES = y1 (82) y2 (84) y3 (85) y4 (88) y5 (94) |y6 (82) y7 (85) y8 (90) y9 (95) |x1 (83) x2(88) x3 (95);where each set of variables separated by the symbol | represents repeatedmeasures of that variable. For example, y1, y2, y3, y4, and y5 mayrepresent repeated measures of heavy drinking; y6, y7, y8, and y9 mayrepresent repeated measures of alcohol dependence; and x1, x2, and x3may represent repeated measures of marital status.TNAMESThe TNAMES option is used to generate variable names for the newmultiple cohort analysis variables. A root name is specified for each setof variables mentioned using the TIMEMEASURES option. The age ofthe respondent at the time the variable was measured is attached to theroot name. The age is determined by subtracting the cohort value fromthe year the variable was measured. Following is an example of how theTNAMES option is specified:TNAMES = hd;where hd is the root name for the new variables.Following is an example of how the TNAMES option is specified for theTIMEMEASURES and COHORT options when multiple outcomes aremeasured:TNAMES = hd | dep | marstat;Following are the variables that would be created:hd22, hd24, hd25, hd26, hd27, hd28, hd29, hd30,hd31, hd32, hd33, hd34, hd36, hd37, hd38, hd39,dep22, dep24, dep25, dep26, dep27, dep28, dep29, dep30,dep32, dep33, dep35, dep36, dep37, dep38, dep39, dep40,marstat23, marstat25, marstat26, marstat27, marstat28479

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

Saved successfully!

Ooh no, something went wrong!