l******0 发帖数: 313 | 1 Hello,
When I am doing logit regression using SAS, what is the differences between
creating dummy variables and using CLASS statement for categorical data(say,
if I have 4 to 5 categories)?
When I am creating dummy variables, should I always use this command to set
all the variables to 0:
if var>. then do;
var1=o;
var2=0;
var3=0;
...
what does the "." mean? why not 0 itself?
Thank you very much. | l*********s 发帖数: 5409 | 2 Manual coding is more flexible, but essentially are same.
. is missing value, "var>." is equal to not missing(var). | l******0 发帖数: 313 | 3 thank you. That is helpful!
【在 l*********s 的大作中提到】 : Manual coding is more flexible, but essentially are same. : . is missing value, "var>." is equal to not missing(var).
|
|