Previous Page | Next Page

The TCALIS Procedure

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

The GROUP statement signifies the beginning of a group specification block and designates a group number for the group. All subsidiary group specification statements after a GROUP statement belong in that group until another MODEL or GROUP statement is used. The subsidiary group specification statements refer to one of the following four statements:

For example, consider the following statements:

   proc tcalis; 
      var X1-X4;
      group 1 / label='Women' data=women_data;
         freq  Z;
      group 2 / label='Men' data=men_data;
         partial P;
      model 1 / group = 1-2;
         factor N=1; /* One factor exploratory factor analysis */
      run;

In the GROUP statements, two groups are defined. Group 1, labeled as 'Women', refers to the data set women_data. Group 2, labeled as 'Men', refers to the data set men_data. Both groups are fitted by an exploratory factor model defined in model 1, as indicated in the GROUP= option of the MODEL statement. While the frequency variable Z defined in the FREQ statement is applicable only to group 1, the partial variable P defined in the PARTIAL statement is applicable only to group 2. However, the VAR statement, which appears before the definitions of both groups, applies globally to both group 1 and group 2. Therefore, variables X1X4 are the analysis variables in the two groups.

You can set group-specific options in each GROUP statement. All but one (that is, the LABEL= option) of these options are also available in the MODEL and PROC TCALIS statements. If you set these group-specific options in the PROC TCALIS statement, they will apply to all groups unless you respecify them in the GROUP statement. If you set these group-specific options in the MODEL statement, they will apply to all groups that are fitted by the associated model. In general, the group-specific options are transfered from the PROC TCALIS statement to the MODEL statements (if present) and then to the fitted groups. In the transferring process, options are overwritten by the newer ones. If you want to apply some group-specific options to a particular group only, you should set those options in the GROUP statement corresponding to that group.

Option Available in the GROUP Statement Only

LABEL | NAME=name

specifies a label for the current group. You can use any valid SAS names up to 256 characters for labels. You can also use quote strings for the labels. This option can be specified only in the GROUP statement, not the PROC TCALIS statement.

Options Available in the GROUP and PROC TCALIS Statements

These options are available in the GROUP and PROC TCALIS statements:

Option

Description

DATA=

specifies the input data set

INWGT=

specifies the data set that contains the weight matrix

OUTSTAT=

specifies the data set for storing the statistical results

OUTWGT=

specifies the data set for storing the weight matrix

See the section Listing of PROC TCALIS Statement Options for more details about these options. If you specify these options in the PROC TCALIS statement, they are transferred to all GROUP statements. They might be overwritten by the respecifications in the individual GROUP statements.

Options Available in GROUP, MODEL, and PROC TCALIS Statements

These options are available in the GROUP, MODEL and PROC TCALIS statements:

Option

Description

BIASKUR

computes the skewness and kurtosis without bias corrections

EDF=

defines nobs by the number of error df

KURTOSIS

computes and displays kurtosis

NOBS=

defines the number of observations (nobs)

PCORR

displays analyzed and estimated moment matrix

PLOTS=

specifies ODS Graphics selection

PWEIGHT

displays the weight matrix

RDF | DFR=

defines nobs by the number of regression df

RESIDUAL | RES

computes the default residuals

RESIDUAL | RES=

specifies the type of residuals

RIDGE

specifies the ridge factor for covariance matrix

SIMPLE

prints univariate statistics

VARDEF=

specifies variance divisor

WPENALTY=

specifies the penalty weight to fit correlations

WRIDGE=

specifies the ridge factor for the weight matrix

If you specify these options in the PROC TCALIS statement, they are transferred to all MODEL statements. These options are overwritten by the respecifications in the individual MODEL statements. After these options are resolved in a given MODEL statement, they are transferred further to the GROUP statements of which the associated groups are fitted by the model. Again, these options might be overwritten by the respecifications in the individual GROUP statements.


Note: This procedure is experimental.

Previous Page | Next Page | Top of Page