The TCALIS Procedure |
GROUP Statement |
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 X1–X4 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.
These options are available in the GROUP and PROC TCALIS statements:
Option |
Description |
---|---|
specifies the input data set |
|
specifies the data set that contains the weight matrix |
|
specifies the data set for storing the statistical results |
|
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.
These options are available in the GROUP, MODEL and PROC TCALIS statements:
Option |
Description |
---|---|
computes the skewness and kurtosis without bias corrections |
|
defines nobs by the number of error df |
|
computes and displays kurtosis |
|
defines the number of observations (nobs) |
|
displays analyzed and estimated moment matrix |
|
specifies ODS Graphics selection |
|
displays the weight matrix |
|
defines nobs by the number of regression df |
|
computes the default residuals |
|
specifies the type of residuals |
|
specifies the ridge factor for covariance matrix |
|
prints univariate statistics |
|
specifies variance divisor |
|
specifies the penalty weight to fit correlations |
|
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.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.