| 所在主题: | |
| 文件名: Stata Journal 2010 A simple feasible procedure to ?t models withhigh-dimensiona.pdf | |
| 资料下载链接地址: https://bbs.pinggu.org/a-1793547.html | |
| 附件大小: | |
|
以前用areg来加入固定效应进行回归比较多,但是最近用的数据固定效应数目太多,性能良好的电脑进行运算依旧速度极慢,于是搜寻解决办法,发现reghdfe能有效解决这个问题。你是否还有更好的解决方案?欢迎大家积极讨论!附上作者发表在stata journal的介绍文章
作者本人Sergio Correia总结的这个命定的一些优点: It performs linear and instrumental variable regressions while absorbing for any number of fixed effects. reghdfe builts heavily on the packages reg2hdfe by Paulo Guimaraes and a2reg by Amine Ouazad. Details and examples are included in the help file, but key features include: Much faster than the alternatives (reg2hdfe, a2reg, ivreg2hdfe, felsdvreg, etc) in most scenarios. It's built in Mata and avoids some of the usual bottlenecks such as sorting the data every iteration or large memory consumption. Allows more than two sets of highly dimensional fixed effects (HDFE), using the same absorb() syntax as areg. Allows interactions of fixed effects: absorb(industry#year) Allows absorbing for interactions with categorical variables. For instance, absorb(i.industry##c.t) will include industry fixed effects, and a different time trend for each industry. Can run IV/2SLS regressions using either -ivregress- or -ivreg2- (if avaiable). Allows factor variable and time series in the varlists. In OLS regressions, it also reports FStats for the FEs (see option -nested-) as well as correlation between the fixed effects and xb. |
|
熟悉论坛请点击新手指南
|
|
| 下载说明 | |
|
1、论坛支持迅雷和网际快车等p2p多线程软件下载,请在上面选择下载通道单击右健下载即可。 2、论坛会定期自动批量更新下载地址,所以请不要浪费时间盗链论坛资源,盗链地址会很快失效。 3、本站为非盈利性质的学术交流网站,鼓励和保护原创作品,拒绝未经版权人许可的上传行为。本站如接到版权人发出的合格侵权通知,将积极的采取必要措施;同时,本站也将在技术手段和能力范围内,履行版权保护的注意义务。 (如有侵权,欢迎举报) |
|
京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明