全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件
3639 2
2014-05-20
伍德里奇的书里,在讲到二值变量时,有一个这样的例子:结婚与性别对工资的影响。y=a0+a1*married_male+a2*single_female+a3*married_female.他的解释是,a1,a2,a3都可以解释成相对于单身男性而言的效应,即他们的对照组是单身男性。但是当married_male为1时,single_female和married_female都为0,所以a1衡量的为什么不是相对于单身女性,已婚女性和未婚男性这三个和在一起的效应呢?
二维码

扫码加我 拉你入群

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

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

全部回复
2014-5-21 20:58:08
仔细理解多种分类变量的设定:
已婚男性: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了。
二维码

扫码加我 拉你入群

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

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

2014-5-26 17:13:49
stream 发表于 2014-5-21 20:58
仔细理解多种分类变量的设定:
已婚男性:married_male=1且single_female=0且married_female=0,
已婚女性 ...
O(∩_∩)O谢谢
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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