楼主: jt18881
1449 2

[问答] 请大神解惑,关于sas逻辑回归块 [推广有奖]

  • 0关注
  • 0粉丝

高中生

82%

还不是VIP/贵宾

-

威望
0
论坛币
749 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
238 点
帖子
8
精华
0
在线时间
64 小时
注册时间
2011-6-25
最后登录
2021-5-27

50论坛币
1、选择变量的参数化方法是效应编码(效应)还是引用单元格编码(引用)
效应编码和引用单元格的编码有什么不同,请分别解释下什么是效应编码和引用单元格编码
2、效应模块里面,交叉、嵌套、因子和多项式各有什么不同,请解释下各个的含义,最好能举例解释下

最佳答案

wsddzr 查看完整内容

sas 默认的应该是effect coding 具体可以看下面两条链接 http://www.ats.ucla.edu/stat/mult_pkg/faq/general/effect.htm http://www.ats.ucla.edu/stat/mult_pkg/faq/general/dummy.htm 我猜一般心里有一个所谓的参照组的时候,可以用reference coding,将那个参照组设置为0 why use effect coding instead of dummy coding? If you have several categorical variables in a model it often doesn't make much differe ...
关键词:逻辑回归 单元格 多项式 最好 多项式
沙发
wsddzr 发表于 2016-4-5 10:29:27 |只看作者 |坛友微信交流群
sas 默认的应该是effect coding
具体可以看下面两条链接
http://www.ats.ucla.edu/stat/mult_pkg/faq/general/effect.htm
http://www.ats.ucla.edu/stat/mult_pkg/faq/general/dummy.htm

我猜一般心里有一个所谓的参照组的时候,可以用reference coding,将那个参照组设置为0

why use effect coding instead of dummy coding? If you have several categorical variables in a model it often doesn't make much difference whether you use effect coding or dummy coding. However, if you have an interaction of two categorical variables then effect coding may provide some benefits. The primary benefit is that you get reasonable estimates of both the main effects and interaction using effect coding. With dummy coding the estimate of the interaction is fine but main effects are not "true" main effects but rather what are called simple effects, i.e., the effect of one variable at one level of the other variable. This is why most analysis of variance programs use some type of effect coding when estimating the various effects in an ANOVA model.

使用道具

藤椅
jt18881 发表于 2016-4-7 11:33:16 |只看作者 |坛友微信交流群
wsddzr 发表于 2016-4-5 11:35
sas 默认的应该是effect coding
具体可以看下面两条链接
http://www.ats.ucla.edu/stat/mult_pkg/faq/gen ...
谢谢大神!大概对效应和引用的差别有点理解了,能不能简单解答下第二个问题

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-25 00:14