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.

TITLE, DATA, VARIABLE, And DEFINE CommandsREPETITIONThe REPETITION option is used to provide a name for the variable thatcontains information on the order in which the variables were measured.The REPETITION option is specified as follows:REPETITION = time;where time is the variable that contains information on the order inwhich the variables were measured. This variable assigns consecutivevalues starting with zero to the repetitions. This variable can be used ina growth model as a time score variable. This option is not required.The default variable name is rep.THE DATA LONGTOWIDE COMMANDIn growth modeling an outcome measured at four time points can berepresented in a data set in two ways. In the long format, the outcome isrepresented as a single variable using four records, one for each timepoint. In the wide format, the outcome is represented as four variableson a single record. The DATA LONGTOWIDE command is used torearrange data from a univariate long format to a multivariate wideformat.When the data are rearranged, the outcome is given a set of new variablenames. These new variable names must be placed on theUSEVARIABLES statement of the VARIABLE command if they areused in the analysis. They must be placed after any original variables.The creation of the new variables in the DATA LONGTOWIDEcommand occurs after any transformations in the DEFINE command andany of the other DATA transformation commands. Following is adescription of the options used in the DATA LONGTOWIDE command.LONGThe LONG option is used to identify the variables in the long formatdata set that will be used to create sets of variables in the wide formatdata set. These variables must be variables from the NAMES statementof the VARIABLE command. The LONG option is specified as follows:467

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

Saved successfully!

Ooh no, something went wrong!