The CALIS Procedure |
COSAN Model Statement |
The COSAN statement constructs the symmetric matrix model for the covariance analysis mentioned earlier (see the section The Generalized COSAN Model):
You can specify only one COSAN statement with each PROC CALIS statement. The COSAN statement contains matrix_terms corresponding to the generalized COSAN formula. The matrix_terms are separated by plus signs () according to the addition of the terms within the model.
Each matrix_term of the COSAN statement contains the definitions of the first matrices, and , separated by asterisks (*) according to the multiplication of the matrices within the term. The matrices of the right-hand-side product are redundant and are not specified within the COSAN statement.
Each matrix_definition consists of the name of the matrix (matrix_name), followed in parentheses by the number of columns of the matrix (column_number) and, optionally, one or two matrix properties, separated by commas, describing the form of the matrix.
The number of rows of the first matrix in each term is defined by the input correlation or covariance matrix. You can reorder and reduce the variables in the input moment matrix by using the VAR statement. The number of rows of the other matrices within the term is defined by the number of columns of the preceding matrix.
The first matrix property is indicated by general_form, which describes the general form of the matrix in the model. You can choose one of the following specifications of the first matrix property. The default first matrix property is GEN.
specifies an identity matrix; if the matrix is not square, this specification describes an identity submatrix followed by a rectangular zero submatrix.
specifies an identity matrix; if the matrix is not square, this specification describes a rectangular zero submatrix followed by an identity submatrix.
specifies a diagonal matrix; if the matrix is not square, this specification describes a diagonal submatrix followed by a rectangular zero submatrix.
specifies a diagonal matrix; if the matrix is not square, this specification describes a rectangular zero submatrix followed by a diagonal submatrix.
specifies a lower triangular matrix; the matrix can be rectangular.
specifies an upper triangular matrix; the matrix can be rectangular.
specifies a symmetric matrix; the matrix cannot be rectangular.
specifies a general rectangular matrix (default).
The second matrix property is indicated by transformation, which describes the kind of inverse matrix transformation. If the second matrix property is omitted, no transformation is applied to the matrix.
uses the inverse of the matrix.
uses the inverse of the difference between the identity and the matrix.
You cannot specify a nonsquare parameter matrix as an INV or IMI model matrix. Specifying a matrix of type DIA, ZDI, UPP, LOW, or GEN is not necessary if you do not use the unspecified location list in the corresponding MATRIX statements. After PROC CALIS processes the corresponding MATRIX statements, the matrix type DIA, ZDI, UPP, LOW, or GEN is recognized from the pattern of possibly nonzero elements. If you do not specify the first matrix property and you use the unspecified location list in a corresponding MATRIX statement, the matrix is recognized as a GEN matrix. You can also generate an IDE or ZID matrix by specifying a DIA, ZDI, or IMI matrix and by using MATRIX statements that define the pattern structure. However, PROC CALIS would be unable to take advantage of the fast algorithms that are available for IDE and ZID matrices in this case.
For example, to specify a second-order factor analysis model
with first-order factors and second-order factors and with variables, you can use the following COSAN statement:
cosan F1(3) * F2(2) * P2(2,SYM)+F1(3) * U2(3,DIA) * I1(3,IDE) +U1(9,DIA) * I2(9,IDE)
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.