Mplus VARIABLE

来自OBHRM百科
跳转至: 导航搜索

VARIABLE命令语法

VARIABLE:                        
NAMES ARE                names of variables in the data set;      
USEOBSERVATIONS ARE      conditional statement to select observations;                                                all observations in data set
USEVARIABLES ARE         names of analysis variables;                                                                 all variables in NAMES
MISSING ARE              variable (#);      
                         . ;      
                         * ;      
                         BLANK;      
CENSORED ARE             names, censoring type, and inflation status for censored  dependent variables;      
CATEGORICAL ARE          names of binary and ordered categorical (ordinal) dependent variables;      
NOMINAL ARE              names of unordered categorical (nominal) dependent variables;      
COUNT ARE                names of count variables (model);      
DSURVIVAL ARE            names of discrete-time survival variables;      
GROUPING IS              name of grouping variable (labels);      
IDVARIABLE IS            name of ID variable;      
FREQWEIGHT IS            name of frequency (case) weight variable;      
TSCORES ARE              names of observed variables with information on individually-varying times of observation;        
AUXILIARY =              names of auxiliary variables;      
                         names of auxiliary variables (M);      
                         names of auxiliary variables (R3STEP);      
                         names of auxiliary variables (R);      
                         names of auxiliary variables (BCH);      
                         names of auxiliary variables (DU3STEP);      
                         names of auxiliary variables (DCATEGORICAL);      
                         names of auxiliary variables (DE3STEP);      
                         names of auxiliary variables (DCONTINUOUS);      
                         names of auxiliary variables (E);      
CONSTRAINT =             names of observed variables that can be used in the MODEL CONSTRAINT command;      
PATTERN IS               name of pattern variable (patterns);      
STRATIFICATION IS        name of stratification variable;      
CLUSTER IS               name of cluster variables;      
WEIGHT IS                name of sampling weight variable;      
WTSCALE IS               UNSCALED;                                                                                   CLUSTER
                         CLUSTER;      
                         ECLUSTER;      
BWEIGHT                  name of between-level sampling weight variable;      
B2WEIGHT IS              name of the level 2 sampling weight variable;      
B3WEIGHT IS              name of the level 3 sampling weight variable;      
BWTSCALE IS              UNSCALED;                                                                                   SAMPLE
                         SAMPLE;      
REPWEIGHTS ARE           names of replicate weight variables;      
SUBPOPULATION IS         conditional statement to select subpopulation;                                              all observations in data set
FINITE =                 name of  variable;                                                                        FPC
                         name of variable (FPC);      
                         name of variable (SFRACTION);      
                         name of variable (POPULATION);      
CLASSES =                names of categorical latent variables (number of latent classes);      
KNOWNCLASS =             name of categorical latent variable with known class membership (labels);      
TRAINING =               names of training variables;                                                                MEMBERSHIP
                         names of variables (MEMBERSHIP);      
                         names of variables (PROBABILITIES);      
                         names of variables (PRIORS);      
WITHIN ARE               names of individual-level observed variables;      
WITHIN ARE (label)       names of individual-level observed variables;      
            
BETWEEN ARE              names of cluster-level observed variables;      
BETWEEN ARE (label)      names of cluster-level observed variables;      
SURVIVAL ARE             names and time intervals for time-to-event variables;      
TIMECENSORED ARE         names and values of variables that contain right censoring information;                    (0 = NOT   1 = RIGHT)