317792209 发表于 2020-5-3 20:07 
调整工具变量滞后阶数或者调整工具变量
我的Y是产业结构如产值增加值,这个肯定是具有连续性的。方程右边放入Y(t-1)是可行的。
我今天尝试用xtivreg2,内生变量只有Y(t-1), 用[Y(t-2) Y(t-3) Y(t-4)]三个滞后项作工具变量,命令为
xtivreg2 y x1 x2 x3 (L.y=L2.y L3.y L4.y), fe robust [能否用这个命令替代SYS-GMM??]
提示:Warning - singleton groups detected. 221 observation(s) not used. 随后给出了估计结果。
Warning - singleton groups detected. 221 observation(s) not used.
FIXED EFFECTS ESTIMATION
------------------------
Number of groups = 1909 Obs per group: min = 2
avg = 4.9
max = 8
IV (2SLS) estimation
--------------------
Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity
Number of obs = 9343
F( 11, 7423) = 0.80
Prob > F = 0.6358
Total (centered) SS = 8.44510e+24 Centered R2 = 0.0283
Total (uncentered) SS = 8.44510e+24 Uncentered R2 = 0.0283
Residual SS = 8.20596e+24 Root MSE = 3.3e+10
------------------------------------------------------------------------------------
| Robust
HIGH | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------------+----------------------------------------------------------------
HIGH |
L1. | -.0187245 .1608527 -0.12 0.907 -.33399 .296541
|
Herd | 0 (omitted)
Herd2 | 52574.57 39742.37 1.32 0.186 -25319.04 130468.2
capital_inflow_ | 0 (omitted)
corp_size | 0 (omitted)
corp_levera | 0 (omitted)
corp_groh | 0 (omitted)
corp_ebi | 0 (omitted)
rd_ratio | 0 (omitted)
corp_sala | 6.658666 14.19028 0.47 0.639 -21.15377 34.4711
sudsidcs | -2.818873 1.294879 -2.18 0.029 -5.356789 -.2809576
------------------------------------------------------------------------------------
Underidentification test (Kleibergen-Paap rk LM statistic): 3.066
Chi-sq(3) P-val = 0.3815
------------------------------------------------------------------------------
Weak identification test (Cragg-Donald Wald F statistic): 390.174
(Kleibergen-Paap rk Wald F statistic): 1.580
Stock-Yogo weak ID test critical values: 5% maximal IV relative bias 13.91
10% maximal IV relative bias 9.08
20% maximal IV relative bias 6.46
30% maximal IV relative bias 5.39
10% maximal IV size 22.30
15% maximal IV size 12.83
20% maximal IV size 9.54
25% maximal IV size 7.80
Source: Stock-Yogo (2005). Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
------------------------------------------------------------------------------
Hansen J statistic (overidentification test of all instruments): 1.338
Chi-sq(2) P-val = 0.5121
------------------------------------------------------------------------------
Instrumented: L.HIGH
Included instruments: Herd Herd2 capital_inflow_ratio corp_size corp_leverage
corp_growth corp_ebit rd_ratio corp_salary subsidys
Excluded instruments: L2.HIGH L3.HIGH L4.HIGH
------------------------------------------------------------------------------
接着我加入gmm选项,用命令:xtivreg2 y x1 x2 x3 (L.y=L2.y L3.y L4.y), gmm fe
结果出不来,红色字体提示错误“estimates post: matrix has missing values”
我在想SYS-GMM一直无法通过sargan检验,是不是跟这个提示有关?
老师解解惑啊!!!跪求