全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
8902 10
2010-10-25
有个firm fixed effect 和time fixed effect,

proc glm data=a;
absorb firm;
class time;
model anti=self pov time;
run;

不知道残差怎么算呢?
想算一个residual包括firm fixed effect,但是不包括time fixed effects
二维码

扫码加我 拉你入群

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

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

全部回复
2010-10-25 13:32:23
class firm time;的话 好像说计算量太大。。
二维码

扫码加我 拉你入群

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

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

2010-10-25 14:29:35
木有人能说两句么?

还是我没问清楚?
二维码

扫码加我 拉你入群

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

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

2010-10-25 23:46:42
一眼瞬间 发表于 2010-10-25 13:32
有个firm fixed effect 和time fixed effect,

proc glm data=a;
absorb firm;
class time;
model anti=self pov time;
run;

不知道残差怎么算呢?
想算一个residual包括firm fixed effect,但是不包括time fixed effects
Hi,
Is that just for learning or a problem you met in your job? It looks like using fixed effect on longitudinal data (time). Unfortunately, when using ABSORB statement, you are not able to get the predicted values or residuals because the firm was conditioned out in the model, i.e., excluding from the design matrix. It should be similar (or equal) to regression on centered response and predictors on time. However, I do not know how to do it,
JingJu
二维码

扫码加我 拉你入群

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

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

2010-10-26 01:56:40
It's a problem I met in the job.

Yes, time is dummy, firm fixed effects.

Thanks!

我再研究研究。
二维码

扫码加我 拉你入群

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

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

2010-10-26 03:08:15
那fixed effect,如果都是用class的话,怎样才能得到所有的这个effect的参数呢?

其实目的就是要算模型残差+这个effect的值。

这样问可能更清楚些吧
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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