全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2592 1
2010-06-30
I've run multiple regressions by writing a do-file:
Foreach i of varlist xx-yy {
regress `i' price
}
How do I predict all residuals for all regressions? For example, if I've run 200 regressions then I need to predict 200 series of residual.
I am newbie here, hope to find my answer.
I am really appreciated for your time.
二维码

扫码加我 拉你入群

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

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

全部回复
2010-6-30 16:16:00
foreach i of var xx-yy {
reg `i' price
predict e`i',r
}
list e*
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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