The following statements are available in the PLM procedure:
PROC PLM RESTORE=item-store-specification <options>;
CODE <options>;
EFFECTPLOT <plot-type <(plot-definition-options)>> </ options>;
ESTIMATE <'label'> estimate-specification <(divisor=n)><, …<'label'> estimate-specification <(divisor=n)>> </ options>;
FILTER expression;
LSMEANS <model-effects> </ options>;
LSMESTIMATE model-effect <'label'> values <divisor=n><, …<'label'> values <divisor=n>> </ options>;
SCORE DATA=SAS-data-set <OUT=SAS-data-set><keyword<=name>> …<keyword<=name>> </ options>;
SHOW options;
SLICE model-effect </ options>;
TEST <model-effects> </ options>;
WHERE expression;
With the exception of the PROC PLM statement and the FILTER statement, any statement can appear multiple times and in any order. The default order in which the statements are processed by the PLM procedure depends on the specification in the item store and can be modified with the STMTORDER= option in the PROC PLM statement.
In contrast to many other SAS/STAT modeling procedures, the PLM procedure does not have common modeling statements such as the CLASS and MODEL statements. This is because the information about classification variables and model effects is contained in the source item store that is passed to the procedure in the PROC PLM statement. All subsequent statements are checked for consistency with the stored model. For example, the statement
lsmeans c / diff;
is detected as not valid unless all of the following conditions were true at the time when the source store was created:
The effect C
was used in the model.
C
was specified in the CLASS statement.
The CLASS variables in the model had a GLM parameterization.
The FILTER , SCORE , SHOW , and WHERE statements are described in full after the PROC PLM statement in alphabetical order. The CODE EFFECTPLOT , ESTIMATE , LSMEANS , LSMESTIMATE , SLICE , and TEST statements are also used by many other procedures. Summary descriptions of functionality and syntax for these statements are also given after the PROC PLM statement in alphabetical order, but full documentation about them is available in Chapter 19: Shared Concepts and Topics.