全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 MATLAB等数学软件专版
1438 0
2017-11-28
悬赏 20 个论坛币 未解决
请教matlab做空间面板如何做LM和robust-LM检验?还有固定效应模型中的个体效应和时间效应如何显示?   

请问一下作业中4个LM检验和Robust LM检验,用来选择用SAR模型,还是SEM模型,是通过哪个LM检验来看呢?请各位大神回复一下
Ordinary Least-squares Estimates
Dependent Variable =        logcit   
R-squared      =    0.3861
Rbar-squared   =    0.3794
sigma^2        =    0.0320
Durbin-Watson  =    1.8047
Nobs, Nvars    =    276,     4
***************************************************************
Variable       Coefficient      t-statistic    t-probability
intercept         1.605485         5.435955         0.000000
logp             -1.041989        -8.610354         0.000000
logpn             0.146363         1.176771         0.240316
logy              0.703143        10.651591         0.000000

LM test no spatial lag, probability          =    2.8677,    0.090
robust LM test no spatial lag, probability   =    1.5139,    0.219
LM test no spatial error, probability        =    6.3199,    0.012
robust LM test no spatial error, probability =    4.9661,    0.026

Ordinary Least-squares Estimates
Dependent Variable =           logcit
R-squared      =    0.4634
Rbar-squared   =    0.4595
sigma^2        =    0.0015
Durbin-Watson  =    1.8004
Nobs, Nvars    =    276,     3
***************************************************************
Variable      Coefficient      t-statistic    t-probability
logp            -0.597372       -12.071931         0.000000
logpn            0.162570         2.598087         0.009883
logy             0.335686         9.102462         0.000000


FE_rsqr2 =

    0.9716


loglikfe =

  509.8241

LM test no spatial lag, probability          =   12.7208,    0.000
robust LM test no spatial lag, probability   =    4.7332,    0.030
LM test no spatial error, probability        =   23.6084,    0.000
robust LM test no spatial error, probability =   15.6207,    0.000

Ordinary Least-squares Estimates
Dependent Variable =           logcit
R-squared      =    0.4272
Rbar-squared   =    0.4230
sigma^2        =    0.0013
Durbin-Watson  =    2.0461
Nobs, Nvars    =    276,     3
***************************************************************
Variable      Coefficient      t-statistic    t-probability
logp            -0.648719       -13.267854         0.000000
logpn            0.067473         1.072247         0.284556
logy             0.317823         4.891167         0.000002

LM test no spatial lag, probability          =    0.9402,    0.332
robust LM test no spatial lag, probability   =    3.8306,    0.050
LM test no spatial error, probability        =    4.0933,    0.043
robust LM test no spatial error, probability =    6.9837,    0.008
>>

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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