[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: treating a categorial variable as a set of dummies in a "glm binom logit" regression
I believe there is an easy way to treat a nominal variable as a set of dummies
in a glm-command.
Let's say i have the following: glm Y X1 X2 X3, family(binom) link(logit)
and the X3-variable is a numeric categorical variable, which have to be treaten
as a set of dummies.
Off cause I can create 4 new dummies, and use those instead of the X3, but i
think there is an easier way of doing that?
* For searches and help try: