where option represents one of the following: display-option test-setand test-set represents one of the following: set-name = [ regions ] set-name = regions where set-name is the name of the set of Lagrange multiplier (LM) tests defined by the regions that follow after the equal sign and regions are keywords denoting specific sets of parameters in the model.
You can use the LMTESTS statement to set display-options or to customize the test-sets for the LM tests. The LMTESTS statement is one of the model analysis statements . It can be used within the scope of the CALIS statement so that the options will apply to all models. It can also be used within the scope of each MODEL statement so that the options will apply only locally. Therefore, different models within a CALIS run can have very different LMTESTS options.
In addition to the display-options, you can define customized sets of LM tests as test-sets in the LMTESTS statement. You can define as many test-sets as you like. Ranking of the LM tests will be done individually for each test-set. For example, the following LMTESTS statement requests that the default sets of LM tests not be conducted by the NODEFAULT option. Instead, two customized test-sets are defined.
lmtests nodefault MyFirstSet=[ALL] MySecondSet=[COVEXOG COVERR];
The first customized set MyFirstSet
pulls all possible parameter locations together for the LM test ranking (ALL keyword). The second customized set MySecondSet
pulls only the covariances among exogenous variables (COVEXOG keyword) and among errors (COVERR keyword) together for the
LM test ranking.
Two different kinds of regions for LM tests are supported in PROC CALIS: matrix-based or non-matrix-based.
The matrix-based regions can be used if you are familiar with the matrix representations of various types of models. Note that defining test-sets by using matrix-based regions does not mean that LM tests are printed in matrix format. It means only that the parameter locations within the specified matrices are included into the specific test-sets for LM test ranking. For matrix output of LM tests, use the LMMAT option in the LMTESTS statement.
Non-matrix-based regions do not assume the knowledge of the model matrices. They are easier to use in most situations. In addition, non-matrix-based
regions can cover special subsets of parameter locations that cannot be defined by model matrices and submatrices. For example, because
of the compartmentalization according to independent and dependent variables in the LINEQS model matrices, the sets of LM
tests defined by the LINEQS matrix-based regions are limited. For example, you cannot use any matrix-based regions to request LM tests for new paths to existing independent variables in the LINEQS model. Such a matrix does not exist in
the original specification. However, you can use the non-matrix based region NEWENDO
to refer to these new paths.
The regions for parameter locations are specified by keywords in the LMTESTS statement. Because the regions are specific to the types of models, they are described separately for each model type in the following.
The keywords for the matrix-based regions are associated with the FACTOR model matrices. See the section Summary of Matrices in the FACTOR Model for the definitions and properties of these matrices.
The keywords for the matrix-based regions are associated with the LINEQS model matrices. See the section Matrix Representation of the LINEQS Model for definitions of these model matrices and see the section Summary of Matrices and Submatrices in the LINEQS Model for the names and properties and the model matrices and submatrices.
The keywords for the matrix-based regions are associated with the LISMOD model matrices. See the section Model Matrices in the LISMOD Model for the definitions and properties of these matrices.
The keywords for the matrix-based regions are associated with the MSTRUCT model matrices. See the section Model Matrices in the MSTRUCT Model for the definitions and properties of these matrices.
The keywords for the matrix-based regions are associated with the submatrices of the RAM model matrices. See the section Partitions of the RAM Model Matrices and Some Restrictions for the definitions of these submatrices and the section Summary of Matrices and Submatrices in the RAM Model for the summary of the names and properties of these submatrices.