作者linlowmoon (哲维)
看板Statistics
标题[问题] SAS回归分析(类别变数)
时间Wed Oct 20 00:05:47 2010
大家好
如果我A变数(X)为3类 DATA显示1.2.3.
对Y跑回归
想问要怎样做才能顺利跑回归??
DATA a1;
infile 'c:\ruby\haha.txt' expandtabs firstobs=2;
input x y ;
proc reg data=s;
model y=x ;
run;
如果是跟统计软体有关请重发文章
如果跟论文有关也烦请您重发文章
文章类别是为了帮助大家搜寻资料与解答,造成不便之处请见谅
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.227.161.222
1F:推 chien533:dummy variable 10/20 00:55
2F:→ janAA: class x; 10/20 04:07
※ 编辑: linlowmoon 来自: 140.123.10.100 (10/20 13:05)
3F:→ linlowmoon:请问程式要怎麽打呢???? 10/20 13:06