. help spregsemxt
. sysuse spregsemxt.dta, clear
. spregsemxt y x1 x2 , nc(7) wmfile(SPWxt) mfx(lin) test
==============================================================================
*** Binary (0/1) Weight Matrix: 49x49 - NC=7 NT=7 (Non Normalized)
==============================================================================
initial: log likelihood = -187.4251
rescale: log likelihood = -187.4251
rescale eq: log likelihood = -187.4251
Iteration 0: log likelihood = -187.4251
Iteration 1: log likelihood = -187.3013
Iteration 2: log likelihood = -187.29949
Iteration 3: log likelihood = -187.29949
==============================================================================
* MLE Spatial Error Panel Normal Model (SEM)
==============================================================================
y = x1 + x2
------------------------------------------------------------------------------
Sample Size = 49 | Cross Sections Number = 7
Wald Test = 144.2997 | P-Value > Chi2(2) = 0.0000
F-Test = 72.1499 | P-Value > F(2 , 40) = 0.0000
(Buse 1973) R2 = 0.7583 | Raw Moments R2 = 0.9560
(Buse 1973) R2 Adj = 0.7099 | Raw Moments R2 Adj = 0.9473
Root MSE (Sigma) = 9.0116 | Log Likelihood Function = -187.2995
------------------------------------------------------------------------------
- R2h= 0.5523 R2h Adj= 0.4628 F-Test = 28.38 P-Value > F(2 , 40) 0.0000
- R2v= 0.5647 R2v Adj= 0.4776 F-Test = 29.83 P-Value > F(2 , 40) 0.0000
------------------------------------------------------------------------------
| Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
y |
x1 | -.2848547 .1037195 -2.75 0.006 -.4881411 -.0815682
x2 | -1.593681 .3232377 -4.93 0.000 -2.227216 -.9601471
_cons | 67.78676 5.045627 13.43 0.000 57.89751 77.676
-------------+----------------------------------------------------------------
/Lambda | .009203 .0232009 0.40 0.692 -.03627 .0546759
/Sigma | 11.06048 1.117298 9.90 0.000 8.870613 13.25034
------------------------------------------------------------------------------
LR Test SEM vs. OLS (Lambda=0): 0.1573 P-Value > Chi2(1) 0.6916
Acceptable Range for Lambda: -0.5201 < Lambda < 0.3115
------------------------------------------------------------------------------
==============================================================================
* Panel Model Selection Diagnostic Criteria
==============================================================================
- Log Likelihood Function LLF = -187.2995
---------------------------------------------------------------------------
- Akaike Information Criterion (1974) AIC = 74.9280
- Akaike Information Criterion (1973) Log AIC = 4.3165
---------------------------------------------------------------------------
- Schwarz Criterion (1978) SC = 84.1292
- Schwarz Criterion (1978) Log SC = 4.4324
---------------------------------------------------------------------------
- Amemiya Prediction Criterion (1969) FPE = 86.1804
- Hannan-Quinn Criterion (1979) HQ = 78.2941
- Rice Criterion (1984) Rice = 75.5428
- Shibata Criterion (1981) Shibata = 74.4101
- Craven-Wahba Generalized Cross Validation (1979) GCV = 75.2215
------------------------------------------------------------------------------
==============================================================================
*** Spatial Panel Aautocorrelation Tests
==============================================================================
Ho: Error has No Spatial AutoCorrelation
Ha: Error has Spatial AutoCorrelation
- GLOBAL Moran MI = 0.1131 P-Value > Z( 1.177) 0.2393
- GLOBAL Geary GC = 0.8362 P-Value > Z(-1.161) 0.2456
- GLOBAL Getis-Ords GO = -0.3230 P-Value > Z(-1.177) 0.2393
------------------------------------------------------------------------------
- Moran MI Error Test = 0.5410 P-Value > Z(4.938) 0.5885
------------------------------------------------------------------------------
- LM Error (Burridge) = 0.5962 P-Value > Chi2(1) 0.4400
- LM Error (Robust) = 1.2481 P-Value > Chi2(1) 0.2639
------------------------------------------------------------------------------
Ho: Spatial Lagged Dependent Variable has No Spatial AutoCorrelation
Ha: Spatial Lagged Dependent Variable has Spatial AutoCorrelation
- LM Lag (Anselin) = 0.1395 P-Value > Chi2(1) 0.7088
- LM Lag (Robust) = 0.7914 P-Value > Chi2(1) 0.3737
------------------------------------------------------------------------------
Ho: No General Spatial AutoCorrelation
Ha: General Spatial AutoCorrelation
- LM SAC (LMErr+LMLag_R) = 1.3876 P-Value > Chi2(2) 0.4997
- LM SAC (LMLag+LMErr_R) = 1.3876 P-Value > Chi2(2) 0.4997
------------------------------------------------------------------------------
==============================================================================
*** Panel Heteroscedasticity Tests
==============================================================================
Ho: Panel Homoscedasticity - Ha: Panel Heteroscedasticity
- Engle LM ARCH Test AR(1): E2 = E2_1 = 0.3297 P-Value > Chi2(1) 0.5658
------------------------------------------------------------------------------
- Hall-Pagan LM Test: E2 = Yh = 0.0376 P-Value > Chi2(1) 0.8462
- Hall-Pagan LM Test: E2 = Yh2 = 0.0066 P-Value > Chi2(1) 0.9355
- Hall-Pagan LM Test: E2 = LYh2 = 0.0105 P-Value > Chi2(1) 0.9184
------------------------------------------------------------------------------
- Harvey LM Test: LogE2 = X = 4.7766 P-Value > Chi2(2) 0.0918
- Wald Test: LogE2 = X = 11.7859 P-Value > Chi2(1) 0.0006
- Glejser LM Test: |E| = X = 8.4592 P-Value > Chi2(2) 0.0146
- Breusch-Godfrey Test: E = E_1 X = 10.3725 P-Value > Chi2(1) 0.0013
------------------------------------------------------------------------------
- Machado-Santos-Silva Test: Ev=Yh Yh2 = 0.0942 P-Value > Chi2(2) 0.9540
- Machado-Santos-Silva Test: Ev=X = 7.1616 P-Value > Chi2(2) 0.0279
------------------------------------------------------------------------------
- White Test - Koenker(R2): E2 = X = 9.3655 P-Value > Chi2(2) 0.0093
- White Test - B-P-G (SSR): E2 = X = 13.4664 P-Value > Chi2(2) 0.0012
------------------------------------------------------------------------------
- White Test - Koenker(R2): E2 = X X2 = 10.6604 P-Value > Chi2(4) 0.0307
- White Test - B-P-G (SSR): E2 = X X2 = 15.3285 P-Value > Chi2(4) 0.0041
------------------------------------------------------------------------------
- White Test - Koenker(R2): E2 = X X2 XX= 24.9508 P-Value > Chi2(5) 0.0001
- White Test - B-P-G (SSR): E2 = X X2 XX= 35.8762 P-Value > Chi2(5) 0.0000
------------------------------------------------------------------------------
- Cook-Weisberg LM Test: E2/S2n = Yh = 0.0541 P-Value > Chi2(1) 0.8161
- Cook-Weisberg LM Test: E2/S2n = X = 13.4664 P-Value > Chi2(2) 0.0012
------------------------------------------------------------------------------
*** Single Variable Tests (E2/Sig2):
- Cook-Weisberg LM Test: x1 = 4.4590 P-Value > Chi2(1) 0.0347
- Cook-Weisberg LM Test: x2 = 2.3833 P-Value > Chi2(1) 0.1226
------------------------------------------------------------------------------
*** Single Variable Tests:
- King LM Test: x1 = 0.5462 P-Value > Chi2(1) 0.4599
- King LM Test: x2 = 2.8806 P-Value > Chi2(1) 0.0897
------------------------------------------------------------------------------
==============================================================================
* Panel Groupwise Heteroscedasticity Tests
==============================================================================
Ho: Panel Homoscedasticity - Ha: Panel Groupwise Heteroscedasticity
- Lagrange Multiplier LM Test = 7.3373 P-Value > Chi2(6) 0.2908
- Likelihood Ratio LR Test = 7.1253 P-Value > Chi2(6) 0.3094
- Wald Test = 12.4812 P-Value > Chi2(7) 0.0858
------------------------------------------------------------------------------
测试过了,确实 spregdpd 没提供这个检验,我以为两个面板异质性检验是一样的。
这里只有 spregsemxt 提供了Panel Groupwise Heteroscedasticity Tests
这个不是你的错误,好像我去查询过网站应该是叫 idea 的网站。作者是埃及的经济学家。
这几个空间面板估计命令都是他写的。他的 spregdpd 确实没提供你列举的这个统计检验。
不是你的错误啊,是程序的作者没提供这个检验。只要你做空间动态面板估计,如果不需要这个检验可以不考虑,如果需要,那没办法作者的程序命令没提供这个检验,你只能缺省这个检验。
最近忙其他的事情去了,今天才回复,不好意思。




雷达卡

京公网安备 11010802022788号







