全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
9932 14
2014-01-27
我是这么产生虚拟变量的
tab year,gen(yr)                    
tab indc1,gen(industry)

global yr "yr*"
global industry "industry*"

回归的时候是这样的
probit dualrolen $dealx $yr,cluster(gvkey_DCL)
estimates store likelihood_1
probit dualrolen $dealx $acqx $yr,cluster(gvkey_DCL)
estimates store likelihood_2
probit dualrolen $dealx $acqx $yr $industry,cluster(gvkey_DCL)
estimates store likelihood_3


按理说 增加年份虚拟变量 啥的 应该不影响总的 no. of observation 但是我每加一个都掉很多 为啥?




二维码

扫码加我 拉你入群

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

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

全部回复
2014-1-28 05:50:17
there may be some cases with perfect prediction of the y?
二维码

扫码加我 拉你入群

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

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

2014-1-28 12:50:09
jjjj6666 发表于 2014-1-28 05:50
there may be some cases with perfect prediction of the y?
could you be more specific?
二维码

扫码加我 拉你入群

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

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

2014-1-29 05:25:41
when you ran the probit, does the output say anything like "outcome predicts data perfectly"?  
二维码

扫码加我 拉你入群

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

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

2014-1-29 11:06:34
jjjj6666 发表于 2014-1-29 05:25
when you ran the probit, does the output say anything like "outcome predicts data perfectly"?
thanks for the reminder, will check it out ~
二维码

扫码加我 拉你入群

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

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

2014-1-29 11:38:44
jjjj6666 发表于 2014-1-29 05:25
when you ran the probit, does the output say anything like "outcome predicts data perfectly"?
对 它有的变量好像说了 那我该怎么处理啊?
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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