由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 请教 sas regression 问题
相关主题
请问怎么建立变量全是ordinal data的model?急,谢谢。紧急求助,问到MULTIPLE REGRESSION的题
regression的时候提高自由度对模式有什么好处?a question
[合集] help - sas proc sql with do loopSAS Regression Macro 问题请教 (有包子)
sas code 求助一道SAS面试题,关于dummy variable
linear regression 关于dummy variable 和interaction term 的问题。(spss)一个关于macro的问题,多谢。
How to the macro regression with if?sampling weight variable怎么用到linear regression里啊?
请教SAS达人关于编循环regression的问题,多谢!SAS Macro 问题请教 。。。
regression problem - go confusedis proc tabulate the right procedure to use?
相关话题的讨论汇总
话题: variable话题: proc话题: glm话题: dummy话题: regression
进入Statistics版参与讨论
1 (共1页)
h******n
发帖数: 232
1
在proc glm中,可以用class命令得到同一个variable不用的value的coefficient。例
如:
variable x 有1,2,3,4,5,6六种值, y有1,2,3三种值。
proc glm data = test;
class x y;
model z = x y x*y/solution;
run;
我们可以得到
x 1
x 2
......
x 6
y 1
y 2
y 3
x*y 1 1
x*y 2 1
......
x*y 6 3
请问,如何用proc reg 得到以上结果?如果用dummy variable,怎么处理x*y?有没有
办法不用把所有的dummy variable全列出来一个一个相乘?
谢谢!
1 (共1页)
进入Statistics版参与讨论
相关主题
is proc tabulate the right procedure to use?linear regression 关于dummy variable 和interaction term 的问题。(spss)
sas questionHow to the macro regression with if?
一个 proc mixed 的问题请教SAS达人关于编循环regression的问题,多谢!
model和variables都sig.但每个category都不sigregression problem - go confused
请问怎么建立变量全是ordinal data的model?急,谢谢。紧急求助,问到MULTIPLE REGRESSION的题
regression的时候提高自由度对模式有什么好处?a question
[合集] help - sas proc sql with do loopSAS Regression Macro 问题请教 (有包子)
sas code 求助一道SAS面试题,关于dummy variable
相关话题的讨论汇总
话题: variable话题: proc话题: glm话题: dummy话题: regression