Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The CALIS Procedure

Getting Started

There are four sets of statements available in the CALIS procedure to specify a model. Since a LISREL analysis can be performed easily by using a RAM, COSAN, or LINEQS statement, there is no specific LISREL input form available in the CALIS procedure.

For COSAN-style input, you can specify the following statements:

COSAN analysis model in matrix notation ;
MATRIX definition of matrix elements ;
VARNAMES names of additional variables ;
BOUNDS boundary constraints ;
PARAMETERS parameter names from program statements ;

For linear equations input, you can specify the following statements:

LINEQS analysis model in equations notation ;
STD variance pattern ;
COV covariance pattern ;
BOUNDS boundary constraints ;
PARAMETERS parameter names from program statements ;

For RAM-style input, you can specify the following statements:

RAM analysis model in list notation ;
VARNAMES names of latent and error variables ;
BOUNDS boundary constraints ;
PARAMETERS parameter names from program statements ;

For (confirmatory) factor analysis input, you can specify the following statements:

FACTOR options ;
MATRIX definition of matrix elements ;
VARNAMES names of latent and residual variables ;
BOUNDS boundary constraints ;
PARAMETERS parameter names from program statements ;

The model can also be obtained from an INRAM= data set, which is usually a version of an OUTRAM= data set produced by a previous PROC CALIS analysis (and possibly modified).

If no INRAM= data set is specified, you must use one of the four statements that defines the input form of the analysis model: COSAN, RAM, LINEQS, or FACTOR.

COSAN Model Specification

You specify the model for a generalized COSAN analysis with a COSAN statement and one or more MATRIX statements. The COSAN statement determines the name, dimension, and type (identity, diagonal, symmetric, upper, lower, general, inverse, and so forth) of each matrix in the model. You can specify the values of the constant elements in each matrix and give names and initial values to the elements that are to be estimated as parameters or functions of parameters using MATRIX statements. The resulting displayed output is in matrix form.

The following statements define the structural model of the alienation example as a COSAN model:

   Cosan J(9, Ide) * A(9, Gen, Imi) * P(9, Sym);
   Matrix A
             [ ,7] = 1. .833  5 * 0. Beta (.5) ,
             [ ,8] = 2 * 0.  1.  .833 ,
             [ ,9] = 4 * 0.  1.  Lamb Gam1-Gam2 (.5 2 * -.5);
   Matrix P
             [1,1] = The1-The2 The1-The4 (6 * 3.) ,
             [7,7] = Psi1-Psi2 Phi (2 * 4. 6.) ,
             [3,1] = The5 (.2) ,
             [4,2] = The5 (.2) ;

The matrix model specified in the COSAN statement is the RAM model

C = J(I- A)-1P((I- A)-1)'J'
with selection matrix J and
C= {\cal E}\{J{v}v^'J^'\} ,  P= {\cal E}\{{\mu}{\mu}^'\}
The COSAN statement must contain only the matrices up to the central matrix P because of the symmetry of each matrix term in a COSAN model. Each matrix name is followed by one to three arguments in parentheses. The first argument is the number of columns. The second and third arguments are optional, and they specify the form of the matrix. The selection matrix J in the RAM model is specified by the 6 ×9 identity (IDE) (sub)matrix J because the first six variables in vector v correspond to the six manifest variables in the data set. The 9 ×9 parameter matrix A has a general (GEN) form and is used as (I- A)-1 in the analysis, as indicated by the identity-minus-inverse (IMI) argument. The central 9 ×9 matrix P is specified as a symmetric (SYM) matrix.

The MATRIX statement for matrix A specifies the values in columns 7, 8, and 9, which correspond to the three latent variables F1, F2, and F3, in accordance with the RAM model. The other columns of A are assumed to be zero. The initial values for the parameter elements in A are chosen as in the path diagram to be

\lambda = \beta = .5 ,  \gamma_1 = \gamma_2 = -.5

In accordance with matrix P of the RAM model and the path model, the nine diagonal elements of matrix P are parameters with initial values

\theta_1 = \theta_2 = \theta_3 = \theta_4 = 3, 
\psi_1 = \psi_2 = 4,  \phi = 6
There are also two off-diagonal elements in each triangle of P that are constrained to be equal, and they have an initial value of 0.2.

See the section "COSAN Model Statement" for more information about the COSAN statement.

LINEQS Model Specification

You can also describe the model by a set of linear equations combined with variance and covariance specifications, using notation similar to that originally developed by P. Bentler for his EQS program. The displayed output can be in either equation form or matrix form.

The following statements define the structural model of the alienation example as a LINEQS model:

    Lineqs                                           
         V1 =         F1                  + E1,      
         V2 =    .833 F1                  + E2,      
         V3 =         F2                  + E3,      
         V4 =    .833 F2                  + E4,      
         V5 =         F3                  + E5,      
         V6 = Lamb (.5) F3                + E6,      
         F1 = Gam1(-.5) F3                + D1,      
         F2 = Beta (.5) F1 + Gam2(-.5) F3 + D2;      
    Std                                              
         E1-E6 = The1-The2 The1-The4 (6 * 3.),       
         D1-D2 = Psi1-Psi2 (2 * 4.),                 
         F3    = Phi (6.) ;                          
    Cov                                              
         E1 E3 = The5 (.2),                          
         E4 E2 = The5 (.2);

The LINEQS statement shows the equations in the section "LINEQS Model", except that in this case the coefficients to be estimated can be followed (optionally) by the initial value to use in the optimization process. If you do not specify initial values for the parameters in a LINEQS statement, PROC CALIS tries to assign these values automatically. The endogenous variables used on the left side can be manifest variables (with names that must be defined by the input data set) or latent variables (which must have names starting with F). The variables used on the right side can be manifest variables, latent variables (with names that must start with an F), or error variables (which must have names starting with an E or D). Commas separate the equations. The coefficients to be estimated are indicated by names. If no name is used, the coefficient is constant, either equal to a specified number or, if no number is used, equal to 1. The VAR statement in Bentler's notation is replaced here by the STD statement, because the VAR statement in PROC CALIS defines the subset of manifest variables in the data set to be analyzed. The variable names used in the STD or COV statement must be exogenous (that is, they should not occur on the left side of any equation). The STD and COV statements define the diagonal and off-diagonal elements in the {{\Phi}} matrix. The parameter specifications in the STD and COV statements are separated by commas. Using k variable names on the left of an equal sign in a COV statement means that the parameter list on the right side refers to all k(k-1)/2 distinct variable pairs in the {{\Phi}} matrix. Identical coefficient names indicate parameters constrained to be equal. You can also use prefix names to specify those parameters for which you do not need a precise name in any parameter constraint.

See the section "LINEQS Model Statement" for more information about the precise syntax rules for a LINEQS statement.

RAM Model Specification

The RAM model allows a path diagram to be transcribed into a RAM statement in list form. The displayed output from the RAM statement is in matrix or list form.

The following statement defines the structural model of the alienation example as a RAM model:

   Ram                         
        1   1  7  1.       ,   
        1   2  7  .833     ,   
        1   3  8  1.       ,   
        1   4  8  .833     ,   
        1   5  9  1.       ,   
        1   6  9  .5    Lamb , 
        1   7  9  -.5   Gam1 , 
        1   8  7  .5    Beta , 
        1   8  9  -.5   Gam2 , 
        2   1  1  3.    The1 , 
        2   2  2  3.    The2 , 
        2   3  3  3.    The1 , 
        2   4  4  3.    The2 , 
        2   5  5  3.    The3 , 
        2   6  6  3.    The4 , 
        2   1  3  .2    The5 , 
        2   2  4  .2    The5 , 
        2   7  7  4.    Psi1 , 
        2   8  8  4.    Psi2 , 
        2   9  9  6.    Phi ;

You must assign numbers to the nodes in the path diagram. In the path diagram of Figure 19.1, the boxes corresponding to the six manifest variables V1, ... , V6 are assigned the number of the variable in the covariance matrix (1, ... ,6); the circles corresponding to the three latent variables F1, F2, and F3 are given the numbers 7, 8, and 9. The path diagram contains 20 paths between the nine nodes; nine of the paths are one-headed arrows and eleven are two-headed arrows.

The RAM statement contains a list of items separated by commas. Each item corresponds to an arrow in the path diagram. The first entry in each item is the number of arrow heads (matrix number), the second entry shows where the arrow points to (row number), the third entry shows where the arrow comes from (column number), the fourth entry gives the (initial) value of the coefficient, and the fifth entry assigns a name if the path represents a parameter rather than a constant. If you specify the fifth entry as a parameter name, then the fourth list entry can be omitted, since PROC CALIS tries to assign an initial value to this parameter.

See the section "RAM Model Statement" for more information about the RAM statement.

FACTOR Model Specification

You can specify the FACTOR statement to compute factor loadings F and unique variances U of an exploratory or confirmatory first-order factor (or component) analysis. By default, the factor correlation matrix P is an identity matrix.
C = FF' + U,    U = diag

For a first-order confirmatory factor analysis, you can use MATRIX statements to define elements in the matrices F, P, and U of the more general model

C = FPF' + U,     P = P' ,     U = diag

To perform a component analysis, specify the COMPONENT option to constrain the matrix U to a zero matrix; that is, the model is replaced by

C = FF'

Note that the rank of FF' is equal to the number m of components in F, and if m is smaller than the number of variables in the moment matrix C, the matrix of predicted model values is singular and maximum likelihood estimates for F cannot be computed. You should compute ULS estimates in this case.

The HEYWOOD option constrains the diagonal elements of U to be nonnegative; that is, the model is replaced by

C = FF' + U2 ,     U = diag

If the factor loadings are unconstrained, they can be orthogonally rotated by one of the following methods:

The most common approach to factor analysis consists of two steps:

  1. Obtain estimates for factor loadings and unique variances.
  2. Apply an orthogonal or oblique rotation method.
Most programs of factor analysis do not provide standard errors for the rotated factor loadings. PROC CALIS enables you to specify general linear and nonlinear equality and inequality constraints using the LINCON and NLINCON statements. You can specify the NLINCON statement to estimate orthogonal or oblique rotated factor loadings; refer to Browne and Du Toit (1992).

For default (exploratory) factor analysis, PROC CALIS computes initial estimates. If you use a MATRIX statement together with a FACTOR model specification, initial values are generally computed by McDonald's (McDonald and Hartmann 1992) method or are set by the START= option. See the section "FACTOR Model Statement" and Example 19.3 for more information about the FACTOR statement.

Constrained Estimation

Although much effort has been made to implement reliable and numerically stable optimization methods, no practical algorithm exists that can always find the global optimum of a nonlinear function, especially when there are nonlinear constraints.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.