由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - question about creating dummy variables in SAS
相关主题
一道SAS面试题,关于dummy variableSAS code help!! thanks
A SAS questionSAS Macro 问题请教 。。。
弱问一个SAS里面求adjusted means的问题请教一个SAS recode variable的问题吧
请教一个SAS Macro问题。谢谢sas question
求助:SAS结果显示model is not full rankSAS 问题:关于比较variable 包子答谢
【包子】弱问个dummy variable问题急问一个SAS 的常见问题
[合集] └ Re: 关于stepwise programmingSAS 一个问题的急问
how to interprete the factor in factor anlaysisAsk 2 simple SAS questions,thanks
相关话题的讨论汇总
话题: variables话题: sas话题: dummy话题: creating话题: when
进入Statistics版参与讨论
1 (共1页)
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).

1 (共1页)
进入Statistics版参与讨论
相关主题
Ask 2 simple SAS questions,thanks求助:SAS结果显示model is not full rank
help on a vary strange result: length statement【包子】弱问个dummy variable问题
在SAS怎么才能有选择的显示部分output?[合集] └ Re: 关于stepwise programming
SAS helphow to interprete the factor in factor anlaysis
一道SAS面试题,关于dummy variableSAS code help!! thanks
A SAS questionSAS Macro 问题请教 。。。
弱问一个SAS里面求adjusted means的问题请教一个SAS recode variable的问题吧
请教一个SAS Macro问题。谢谢sas question
相关话题的讨论汇总
话题: variables话题: sas话题: dummy话题: creating话题: when