全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1944 2
2016-04-05
悬赏 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 ...
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
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.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

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 ...
谢谢大神!大概对效应和引用的差别有点理解了,能不能简单解答下第二个问题
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群