伍德里奇的书里,在讲到二值变量时,有一个这样的例子:结婚与性别对工资的影响。y=a0+a1*married_male+a2*single_female+a3*married_female.他的解释是,a1,a2,a3都可以解释成相对于单身男性而言的效应,即他们的对照组是单身男性。但是当married_male为1时,single_female和married_female都为0,所以a1衡量的为什么不是相对于单身女性,已婚女性和未婚男性这三个和在一起的效应呢?
|
楼主: V_ere
|
3701
2
[学科前沿] 伍德里奇关于0-1变量的解释 |
|
硕士生 14%
-
|
回帖推荐仔细理解多种分类变量的设定:
已婚男性:married_male=1且single_female=0且married_female=0,
已婚女性:married_male=0且single_female=0且married_female=1,
单身女性:married_male=0且single_female=1且married_female=0,
而参照组单身男性:married_male=0且single_female=0且married_female=0
所以已婚男性相对单身男性,影响y的因素只有married_male由0变为1,那y的变动就是a1了。
本帖被以下文库推荐
| ||
|
|
| ||
加好友,备注jltj京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


