Cell Covariates (LOGLINEAR command)
- Continuous variables can be used as covariates. When
used, the covariates must be specified after the keyword
WITH
following the list of categorical variables. Ranges are not specified for the continuous variables. - A variable cannot be named as both a categorical variable and a cell covariate.
- To enter cell covariates into a model, the covariates
must be specified on the
DESIGN
subcommand. - Cell covariates are not applied on a case-by-case basis. The mean covariate value for a cell in the contingency table is applied to that cell.
Example
LOGLINEAR DPREF(2,3) RACE CAMP (1,2) WITH CONSTANT
/DESIGN=DPREF RACE CAMP CONSTANT.
- The variable CONSTANT is a continuous variable specified as a cell covariate. Cell covariates
must be specified after the keyword
WITH
following the variable list. No range is defined for cell covariates. - To include the cell covariate in the model, the variable CONSTANT is specified on
DESIGN
.