Previous Page | Next Page

The TCALIS Procedure

MODEL Statement
MODEL i </ options> ;
where i is an assigned model number between 1 and 9999, inclusively.

A MODEL statement signifies the beginning of a model specification block and designates a model number for the model. All main and subsidiary model specification statements after a MODEL statement belong in that model until another MODEL or GROUP statement is encountered.

The MODEL statement itself does not serve the purpose of model specification, which is actually done by the main and subsidiary model specification statements that follow it. The MODEL statement serves as a "place-holder" of specification of a single model. It also makes the reference to a model easier with an assigned model number. For example, consider the following statements:

   proc tcalis;
      group 1 / data=women_data;
      group 2 / data=men_data;
      model 1 / group=1 label='Women Model';
         {model 1 specification here}
      model 2 / group=2 label='Men Model';
         {model 2 specification here}
      run;

This example illustrates a two-group analysis with two models. One is model 1 labeled as 'Women Model' in a MODEL statement. Another is model 2 labeled as 'Men Model' in another MODEL statement. The two groups, group 1 and group 2, as defined in two separate GROUP statements, are fitted by model 1 and model 2, respectively, as indicated by the GROUP= option of the MODEL statements. Within the scope of model 1, you provide model specification statements by using the main and subsidiary model specification statements. Usually, one of the following main model specification statements is used: FACTOR, LINEQS, LISMOD, MSTRUCT, PATH, RAM, or REFMODEL. Similarly, you provide another set of model specification statements within the scope of model 2.

Hence, for an analysis with a single group, the use of the MODEL statement is not necessary because the model that fits the group is unambiguous.

You can set model-specific options in each MODEL statement. All but two of these options are also available in the PROC TCALIS statement. If you set these options in the PROC TCALIS statement, they will apply to all models, unless you respecify them in the local MODEL statements. If you want to apply some options only to a particular model, set these options in the MODEL statement corresponding to that model.

You can also set group-specific options in the MODEL statement. These group options will apply to the groups that are specified in GROUP= option of the MODEL statement. See the section Options Available in the GROUP and PROC TCALIS Statements for a detailed descriptions of these group options.

Option Available in MODEL Statement Only

LABEL | NAME=name

specifies a label for the model. You can use any valid SAS names up to 256 characters for labels. You can also use quote strings for labels.

GROUP | GROUPS=int-list

specifies a list of integers int-list of group numbers representing the groups to be fitted by the model.

Options Available in the MODEL and PROC TCALIS Statements

These options are available in the MODEL and PROC TCALIS statements. If you specify these options in the PROC TCALIS statement, they are transferred to all MODEL statements. These options might be overwritten by the respecifications in the local MODEL statements.

Option

Description

CORRELATION

analyzes correlation matrix

COVARIANCE

analyzes covariance matrix

DEMPHAS=

emphasizes the diagonal entries

EFFPART | TOTEFF

displays total, direct, and indirect effects

INEST=

specifies the data set that contains the initial values and constraints

INMODEL | INRAM=

specifies the data set that contains the model specifications

MEANSTR

analyzes the mean structures

MODIFICATION

computes modification indices

NOMOD

suppresses modification indices

NOORDERSPEC

displays model specifications and results according to the input order

NOPARMNAME

suppresses the printing of parameter names in results

NOSTAND

suppresses the standardized output

NOSTDERR

suppresses standard error computations

ORDERSPEC

orders the model output displays according to the parameter types within each model

OUTEST=

specifies the data set that outputs the estimates and their covariance matrix

OUTMODEL | OUTRAM=

specifies the output data set for storing the model specification and results

PARMNAME

displays parameter names in model specifications and results

PDETERM

computes the determination coefficients

PESTIM

prints parameter estimates

PINITIAL

prints initial pattern and values

PLATCOV

computes the latent variable covariances and scoring coefficients

PRIMAT

displays results in matrix forms

STDERR

computes the standard errors


Options Available in MODEL, GROUP, and PROC TCALIS Statements

Some options in the GROUP statement can also be specified in the MODEL statements. Group options that are specified the MODEL statements are transferred to the GROUP statements that define the groups fitted by the associated models in the MODEL statements. This is a little bit more convenient than setting the common group options individually in the GROUP statements for all fitted groups by a model. See the section Options Available in GROUP, MODEL, and PROC TCALIS Statements for a reference of these options.


Note: This procedure is experimental.

Previous Page | Next Page | Top of Page