LOGLIN Statement
- LOGLIN effects < / option > ;
The LOGLIN statement is used to define log-linear model
effects. It can be used whenever the default response
functions (generalized logits) are used.
In the LOGLIN statement, effects are design effects
that contain dependent variables in the MODEL statement.
You can use the bar (|) and at (@) operators as well. The
following lists of effects are equivalent:
a b c a*b a*c b*c
and
a|b|c @2
When you use the LOGLIN statement, the keyword _RESPONSE_
should be specified in the MODEL statement.
For further information on log-linear model analysis, see
the "Log-Linear Model Analysis" section.
You cannot specify the LOGLIN statement for an analysis that
also contains the REPEATED or FACTORS statement since all of
them specify the same information: how to partition the
variation among the response functions within a population.
You can specify the following option in the LOGLIN statement
after a slash.
- TITLE='title'
-
displays the title at the top of certain pages
of output that correspond to this LOGLIN statement.
The following statements give an example of how to use the LOGLIN
statement.
proc catmod;
model a*b*c=_response_;
loglin a|b|c @ 2;
run;
These statements yield a log-linear model analysis that contains all
main effects and two-variable interactions.
For more examples of log-linear model analysis, see
the "Log-Linear Model Analysis" section.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.