全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1177 1
2022-07-21
R里有几个package可以进行动态面板回归,比如plm和panelvar。但是前者在System GMM中不支持常数项,后者太慢。

pydynpd是个python package,可以对动态面板模型进行回归。包含的功能如下:

  • Differene and System GMM
  • One-step, two-step, and iterative estimates
  • First-difference and forward orthogonal deviation transformations
  • Robust standard errors. For two-step GMM, the calculation suggested by Windmeijer (2005) is used.
  • Hansen over-identification test
  • Arellano-Bond test for autocorrelation
  • Time dummies
  • Collapse GMM instruments to limit instrument proliferation
  • Search for models based on users' request, rather than just run the model specified by users as other packages do


回归结果和Stata中的xtabond2相同。即便在R中调用这个Python package, 速度仍然比调用R package panelvar快几十倍。在Python和R环境中安装使用可参考
https://github.com/dazhwu/pydynpd



二维码

扫码加我 拉你入群

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

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

全部回复
2023-6-26 09:11:13
谢谢  已经收藏
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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