FACTOR
<EFA-options |CFA-spec> ;
where EFA-options are options for the exploratory factor analysis that are described in the section Exploratory Factor Analysis and CFA-spec is a specification of confirmatory factor analysis that is described in the section Confirmatory Factor Analysis.
In the FACTOR statement, you can specify either EFA-options, CFA-spec, or neither of these. However, you cannot specify both EFA-options and CFA-spec at the same time. If no option is specified or there is at least one EFA-option (exploratory factor analysis option) specified in the FACTOR statement, an exploratory factor model is analyzed. Otherwise, a confirmatory factor model is analyzed with the CFA-spec. These two types of models are discussed in the next two sections.
FACTOR
<EFA-options> ;
For the exploratory factor model with orthogonal factors, PROC CALIS assumes the following model structures for the population covariance or correlation matrix :
|
where is the factor loading matrix and is a diagonal matrix of error variances. In this section, p denotes the number of manifest variables corresponding to the rows and columns of matrix , and n denotes the number of factors (or components, if the COMPONENT option is specified in the FACTOR statement) corresponding to the columns of the factor loading matrix . While the number of manifest variables is set automatically by the number of variables in the VAR statement or in the input data set, the number of factors can be set by the N= option in the FACTOR statement.
The unrestricted exploratory factor model is not identified because any orthogonal rotated factor loading matrix satisfies the same model structures as does, where is any orthogonal matrix so that . Mathematically, the covariance or correlation structures can be expressed as:
|
To obtain an identified orthogonal factor solution as a starting point, the elements in the upper triangle of are constrained to zeros in PROC CALIS. Initial estimates for factor loadings and unique variances are computed by an algebraic method of approximate factor analysis. Given the initial estimates, final estimates are obtained through the iterative optimization of an objective function, which depends on the estimation method specified in the METHOD= option (default with ML—maximum likelihood) of the PROC CALIS statement.
To make the factor solution more interpretable, you can use the ROTATE= option in the FACTOR statement to obtain a rotated factor loading matrix with a “simple” pattern. Rotation can be orthogonal or oblique. The rotated factors remain uncorrelated after an orthogonal rotation but would be correlated after an oblique rotation. The model structures of an oblique solution are expressed in the following equation:
|
where is the rotated factor loading matrix and is a symmetric matrix for factor correlations. See the sections The FACTOR Model and Exploratory Factor Analysis Models for more details about exploratory factor models.
You can also do exploratory factor analysis by the more dedicated FACTOR procedure. Even though extensive comparisons of the factor analysis capabilities between the FACTOR and CALIS procedures are not attempted here, some general points can be made here. In general, the FACTOR procedure provides more factor analysis options than the CALIS procedure does, although both procedures have some unique factor analysis features that are not shared by the other. PROC CALIS requires more computing time and memory than PROC FACTOR because it is designed for more general structural estimation problems and is not able to exploit all the special properties of the unconstrained factor analysis model. For maximum likelihood analysis, you can use either PROC FACTOR (with METHOD=ML, which is not the default method in PROC FACTOR) or PROC CALIS. Because the initial unrotated factor solution obtained by PROC FACTOR uses a different set of identification constraints than that of PROC CALIS, you would observe different initial ML factor solutions for the procedures. Nonetheless, the initial solutions by both procedures are statistically equivalent.
The following EFA-options are available in the FACTOR statement:
FACTOR
factor-variables-relation <, factor-variables-relation …> ;
where each factor-variables-relation is defined as factor right-arrow var-list < = parameter-spec> where right-arrow is one of the following: ===>
, --->
, ==>
, -->
, =>
, ->
, or >
. To complete the specification of a confirmatory factor model, you might need to use the PVAR, COV, and MEAN statements to specify the variance, partial variance, covariance, and mean parameters in the model, as shown in the following
syntax:
FACTOR
factor-variable-relation <, factor-variables-relation …> ;
PVAR
partial-variance-parameters ;
COV
covariance-parameters ;
MEAN
mean-parameters ;
The model structures for the covariance matrix of the confirmatory factor model are described in the equation
|
where is the factor loading matrix, is a symmetric matrix for factor correlations, and is a diagonal matrix of error variances.
If the mean structures are also analyzed, the model structures for the mean vector of the confirmatory factor model are described in the equation
|
where is the intercept vector for the observed variables and is the vector for factor means. See the sections The FACTOR Model and Confirmatory Factor Analysis Models for more details about confirmatory factor models.
The FACTOR statement is the main model specification statement for the confirmatory factor model. The specifications in the FACTOR statement concern the factor loading pattern in the matrix. More details follow after a brief description of the subsidiary model specification statements: PVAR, COV, and MEAN.
By default, the factor variance parameters in the diagonal of matrix and the error variances in the diagonal of matrix are free parameters in the confirmatory factor model. However, you can override these default parameters by specifying them explicitly in the PVAR statement. For example, in some confirmatory factor models, you might want to set some of these variances to fixed constants, or you might want to set equality constraints by using the same parameter name at different parameter locations in your model.
By default, factor covariances, which are the off-diagonal elements of matrix , are free parameters in the confirmatory factor model. However, you can override these default covariance parameters by specifying them explicitly in the COV statement. Note that you cannot use the COV statement to specify the error covariances—they are always fixed zeros in the confirmatory factor analysis model.
By default, all factor means are fixed zeros and all intercepts are free parameters if the mean structures are analyzed. You can override these defaults by explicitly specifying the means of the factors in vector and the intercepts of the manifest variables in vector in the MEAN statement.
Because the default parameterization of the confirmatory FACTOR model already covers most commonly used parameters in matrices
, , , and , the specifications in the PVAR, COV, and MEAN statements are secondary to the specifications in the FACTOR statement, which
specifies the factor pattern of the matrix. The following example statement introduces the syntax of the confirmatory FACTOR statement. Suppose that there are
nine manifest variables V1
–V9
in your sample and you want to fit a model with four factors, as shown in the following FACTOR statement:
factor g_factor ===> V1-V9 , factor_a ===> V1-V3 , factor_b ===> V4-V6 , factor_c ===> V7-V9 ;
In this factor model, you assume a general factor g_factor
and three group-factors: factor_a
, factor_b
, and factor_c
. The general factor g_factor
is related to all manifest variables in the sample, while each group-factor is related only to three manifest variables.
This example fits the following pattern of factor pattern of :
g_factor factor_a factor_b factor_c V1 x x V2 x x V3 x x V4 x x V5 x x V6 x x V7 x x V8 x x V9 x x
where an x
represents an unnamed free parameter and all other cells that are blank are fixed zeros. For each of these unnamed parameters,
PROC CALIS generates a parameter name with the _Parm
prefix and appended with a unique integer (for example, _Parm1
, _Parm2
and so on).
An unnamed free parameter is only one of the following five types of parameters (parameter-spec) you can specify at the end of each factor-variables-relation:
an unnamed free parameter
an initial value
a fixed value
a free parameter with a name provided
a free parameter with a name and initial value provided
To illustrate these different types of parameter specifications, consider the following factor pattern for :
g_factor factor_a factor_b factor_c V1 g_load1 1. V2 g_load2 x V3 g_load3 x V4 g_load4 1. V5 g_load5 load_a V6 g_load6 load_b V7 g_load7 1. V8 g_load8 load_c V9 g_load9 load_c
where an x
represents an unnamed free parameter, a constant 1 represents a fixed value, and each name in a cell represents a name for
a free parameter. You can specify this factor pattern by using the following FACTOR statement:
factor g_factor ===> V1-V9 = g_load1-g_load9 (9*0.6), factor_a ===> V1-V3 = 1. (.7 .8), factor_b ===> V4-V6 = 1. load_a (.9) load_b, factor_c ===> V7-V9 = 1. 2*load_c ;
In the first entry of the FACTOR statement, you specify that the loadings of V1
–V9
on g_factor
are free parameters g_load1
–g_load9
with all given an initial estimate of 0.6. The syntax 9*0.6
means that 0.6
is repeated nine times. Because they are enclosed in a pair parentheses, all these values are treated as initial estimates,
but not fixed values.
The second entry of the FACTOR statement can be split into the following specification:
factor_a ===> V1 = 1. , factor_a ===> V2 = (.7), factor_a ===> V3 = (.8),
This means that the first loading is a fixed value of 1, while the other loadings are unnamed free parameters with initial
estimates 0.7 and 0.8, respectively. For each of these unnamed parameters with initial values, PROC CALIS also generates a
parameter name with the _Parm
prefix and appended with a unique integer.
The third entry of the FACTOR statement can be split into the following specification:
factor_b ===> V4 = 1. , factor_b ===> V5 = load_a (.9), factor_b ===> V6 = load_b,
This means that the first loading is a fixed value of 1, the second loading is a free parameter named load_a
with an initial estimate of 0.9, and the third loading is a free parameter named load_b
without an initial estimate. PROC CALIS generates the initial value for this free parameter.
The fourth entry of the FACTOR statement states that the first loading is a fixed 1 and the remaining two loadings are free
parameters named load_c
. No initial estimate is given. But because the two loadings have the same parameter name, they are constrained to be equal
in the estimation.
Notice that an initial value that follows after a parameter name is associated with the free parameter. For example, in the
third entry of the FACTOR statement, the specification (.9)
after load_a
is interpreted as the initial value for the parameter load_a
, but not as the initial estimate for the next loading for V6
.
However, if you indeed want to specify that load_a
is a free parameter without an initial value and (0.9)
is an initial estimate for the loading for V6
, you can use a null initial value specification for the parameter load_a
, as shown in the following specification:
factor_b ===> V4-V6 = 1. load_a() (.9),
This way 0.9 becomes the initial estimate of the loading for V6
. Because a parameter list with mixed parameter types might be confusing, you can split the specification into separate entries
to remove ambiguities. For example, you can use the following equivalent specification:
factor_b ===> V4 = 1., factor_b ===> V5 = load_a, factor_b ===> V6 = (.9),
If you provide fewer parameters than the number of loadings that are specified in the corresponding factor-variable-relation, all the remaining parameters are treated as unnamed free parameters. For example, the following specification assigns a fixed value of 1.0 to the first loading, while treating the remaining two loadings as unnamed free parameters:
factor factor_a ===> V1-V3 = 1.;
This specification is equivalent to the following specification:
factor factor_a ===> V1 = 1., factor_a ===> V2 V3 ;
If you intend to fill up all values with the last parameter specification in the list, you can use the continuation syntax
[...]
, [..]
, or [.]
, as shown in the following example:
factor g_factor ===> V1-V30 = 1. (.5) [...];
This means that the loading of V1
on g_factor
is a fixed value of 1.0, while the remaining 29 loadings are unnamed free parameters with all given an initial estimate of
0.5.
However, you must be careful not to provide too many parameters. For example, the following specification results in an error:
factor g_factor ===> V1-V3 = load1-load6;
The parameter list has six parameters for three loadings. Parameters after load3
are excessive.
It is important to understand the default parameters in the FACTOR model. First, if you know which parameters are default free parameters, you can make your specification more efficient by omitting the specifications of those parameters that can be set by default. For example, because all error variances in the confirmatory FACTOR model are free parameters by default, you do not need to specify them with the PVAR statement if these error variances are not constrained. Second, if you know which parameters are default free parameters, you can specify your model accurately. For example, because all factor variance and covariances in the confirmatory FACTOR model are free parameters by default, you must use the COV statement to restrict the covariances among the factors if you want to fit an orthogonal factor model. See the section Default Parameters in the FACTOR Model for details about the default parameters of the FACTOR model.
This section assumes that you use a REFMODEL statement within the scope of a MODEL statement and that the reference model (or base model) is a factor model, either exploratory or confirmatory. The reference model is called the old model, and the model that refers to the old model is called the new model. If the new model is not intended to be an exact copy of the old FACTOR model, you can use the extended FACTOR modeling language described in this section to make modifications from the old model before transferring the specifications to the new model.
Using the REFMODEL statement for defining new factor models is not recommended in the following cases:
If your old model is an exploratory factor analysis model, then specification by using the FACTOR modeling language in the new model replaces the old model completely. In this case, the use of the REFMODEL statement is superfluous and should be avoided.
If your old model is a confirmatory factor analysis model, then specification of an exploratory factor model by using the FACTOR statement in the new model also replaces the old model completely. Again, the use of the REFMODEL statement is superfluous and should be avoided.
The nontrivial case where you might find the REFMODEL statement useful is when you modify an old confirmatory factor model to form a new confirmatory factor model. This nontrivial case is the focus of discussion in the remaining of the section.
The extended FACTOR modeling language for modifying model specification bears the same syntax as that of the ordinary FACTOR modeling language (see the section Confirmatory Factor Analysis). The syntax is:
FACTOR
factor-variable-relation ;
PVAR
partial-variance-parameters ;
COV
covariance-parameters ;
MEAN
mean-parameters ;
The new model is formed by integrating with the old model in the following ways:
If you do not specify in the new model a parameter location that exists in the old model, the old parameter specification is duplicated in the new model.
If you specify in the new model a parameter location that does not exist in the old model, the new parameter specification is added in the new model.
If you specify in the new model a parameter location that also exists in the old model and the new parameter is denoted by the missing value '.', the old parameter specification is not copied into the new model.
If you specify in the new model a parameter location that also exists in the old model and the new parameter is not denoted by the missing value '.', the new parameter specification replaces the old one in the new model.
For example, consider the following two-group analysis:
proc calis; group 1 / data=d1; group 2 / data=d2; model 1 / group=1; factor F1 ===> V1-V3 = 1. load1 load2, F2 ===> V4-V6 = 1. load3 load4, F3 ===> V7-V9 = 1. load5 load6; cov F1 F2 = c12, F2 F3 = c23; pvar F1-F3 = c1-c3, V1-V9 = ev1-ev9; model 2 / group=2; refmodel 1; factor F1 ===> V1 = loada, F2 ===> V4 = loadb, F3 ===> V7 = loadc; cov F1 F2 = ., F1 F3 = c13; run;
In this specification, you specify Model 2 by referring to Model 1 in the REFMODEL statement; Model 2 is the new model which refers to the old model, Model 1. Because the PVAR statement is not used in new model, all variance and partial variance parameter specifications in the PVAR statement of the old model are duplicated in the new model. The covariance parameter c23
for covariance between F2
and F3
in the COV statement of the old model is also duplicated in the new model. Similarly, loading parameters load1
–load6
for some specific factor matrix locations are duplicated from the old model to the new model.
The new model has an additional parameter specification that the old model does not have. In the COV statement of the new model, covariance parameter c13
for the covariance between F1
and F3
is added.
In the same statement, the covariance between F1
and F2
is denoted by the missing value '.'. The missing value indicates that this parameter location in the old model should not
be included in the new model. The consequence of this deletion from the old model is that the covariance between F1
and F2
is a fixed zero in the new model.
Finally, the three new loading specifications in the FACTOR statement of the new model replace the fixed ones in the old model.
They are now free parameters loada
, loadb
, and loadc
in the new model.