楼主: 淡如清水
2864 2

[面板数据求助] 请问做完两步系统GMM后,如何显示wald检验值? [推广有奖]

  • 0关注
  • 4粉丝

已卖:28份资源

博士生

33%

还不是VIP/贵宾

-

威望
0
论坛币
847 个
通用积分
6.2820
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
30181 点
帖子
140
精华
0
在线时间
366 小时
注册时间
2017-7-21
最后登录
2023-10-16

楼主
淡如清水 发表于 2018-11-22 18:20:52 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
请问做完两步系统GMM后,如何显示wald检验值?
二维码

扫码加我 拉你入群

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

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

关键词:两步系统GMM 系统GMM 系统GM

沙发
Scarl111111ett 发表于 2022-4-24 05:36:12
Stata 论坛看到的,
command:
testparm x1 x2 x3 x4 x5 x6 x7
https://www.statalist.org/forums ... or-wald-test-in-gmm

以下是问和答:

I have two questions in this regard:
Q: (1) How can I get the results of Wald test for my regressors and also for i.Year separately?
(2) If I find that the Wald test result of my regressors (apart from i.Year) is significant while the test result of i.Year is insignificant, will that question my model?
Please note, the p-values of AR(2) and Hansen J Statistic are 0.124 and 0.458 respectively; Difference-in-Hansen tests of exogeneity is 0.705.
  

A:
(1)
Code:
testparm x1 x2 x3 x4 x5 x6 x7
testparm i.Year
(2)
If the Wald test for the time dummies does not reject the null hypothesis of joint insignificance, you may exclude the time dummies from the model (provided that this does not adversely affect the other specification tests). You can still keep them to be on the safe side. The risk of model misspecification is higher when you exclude variables.

As an aside: There is a bug in xtabond2 that produces incorrect degrees of freedom for the overidentification tests (Sargan-Hansen) if time dummies are specified with the factor-variable notation and some of them are displayed as omitted (or empty) in the regression output. This implies that the corresponding p-values are incorrect and the test results are invalid. To avoid this problem, you need to specify all the time dummies separately and ensure that none of them get omitted. Alternatively, you can use my xtdpdgmm command:
XTDPDGMM: new Stata command for efficient GMM estimation of linear (dynamic) panel models with nonlinear moment conditions
https://twitter.com/Kripfganz

藤椅
Scarl111111ett 发表于 2022-4-24 05:37:23
需要先安装一个东西:
command:
net install xtdpdgmm, from(http://www.kripfganz.de/stata/)

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-20 07:07