Tips:Effect coding and class variables in PROC LOGISTIC

From sasCommunity
Jump to: navigation, search

When you have a categorical independent variable with more than two levels, you need a CLASS statement. The default coding in PROC GLM is dummy coding, in PROC LOGISTIC this is effect coding; this can be changed to reference cell (or dummy) coding with

/param = ref

in the CLASS statement.

Submitted by Peter L. Flom. Contact me at my Discussion Page. more