全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 MATLAB等数学软件专版
4727 8
2014-03-24
LM检验结果如下:
Ordinary Least-squares Estimates
R-squared      =    0.4606
Rbar-squared   =    0.4446
sigma^2        =    0.0981
Durbin-Watson  =    1.2845
Nobs, Nvars    =    105,     4
***************************************************************
Variable        Coefficient      t-statistic    t-probability
variable 1         5.064736         2.877886         0.004886
variable 2         0.397817         6.549467         0.000000
variable 3         0.074589         0.360249         0.719413
variable 4        -0.022606        -1.683082         0.095448

loglikols =
-25.063737813143149
LM test no spatial lag, probability          =    0.0469,   0.8285
robust LM test no spatial lag, probability   =   14.8957,   0.0001
LM test no spatial error, probability        =    1.5247,   0.2169
robust LM test no spatial error, probability =   16.3735,   0.0001
Moran I-test for spatial correlation in residuals

Moran I                    0.06526690
Moran I-statistic          1.75068006
Marginal Probability       0.08000104
mean                      -0.02076895
standard deviation         0.04914424


Ordinary Least-squares Estimates
Dependent Variable =             lny  
R-squared      =    0.8818
Rbar-squared   =    0.8795
sigma^2        =    0.0047
Durbin-Watson  =    1.2219
Nobs, Nvars    =    105,     3
***************************************************************
Variable      Coefficient      t-statistic    t-probability
lnk              0.205502         9.610303         0.000000
lnkn             0.763116         8.412981         0.000000
lnsd            -0.006877        -1.020648         0.309836

FE_rsqr2 =
   0.974066573964821
loglikfe =
    1.342683910244727e+002
LM test no spatial lag, probability          =   58.0861,   0.0000
robust LM test no spatial lag, probability   =   49.1880,   0.0000
LM test no spatial error, probability        =   12.0660,   0.0005
robust LM test no spatial error, probability =    3.1680,   0.0751
Moran I-test for spatial correlation in residuals

Moran I                    0.18360380
Moran I-statistic          4.11715908
Marginal Probability       0.00003836
mean                      -0.01748135
standard deviation         0.04884075


Ordinary Least-squares Estimates
Dependent Variable =             lny  
R-squared      =    0.3238
Rbar-squared   =    0.3105
sigma^2        =    0.0966
Durbin-Watson  =    1.2960
Nobs, Nvars    =    105,     3
***************************************************************
Variable      Coefficient      t-statistic    t-probability
lnk              0.402875         6.087664         0.000000
lnkn             0.003301         0.013699         0.989097
lnsd            -0.021322        -1.365784         0.175011

loglikfe =
-24.766142030523039
LM test no spatial lag, probability          =    0.1637,   0.6858
robust LM test no spatial lag, probability   =   18.3830,   0.0000
LM test no spatial error, probability        =    1.4266,   0.2323
robust LM test no spatial error, probability =   19.6459,   0.0000
Moran I-test for spatial correlation in residuals

Moran I                    0.06313130
Moran I-statistic          1.27417695
Marginal Probability       0.20260071
mean                      -0.00402925
standard deviation         0.05270897


Ordinary Least-squares Estimates
Dependent Variable =             lny  
R-squared      =    0.0862
Rbar-squared   =    0.0683
sigma^2        =    0.0021
Durbin-Watson  =    1.9468
Nobs, Nvars    =    105,     3
***************************************************************
Variable      Coefficient      t-statistic    t-probability
lnk              0.049947         2.481067         0.014734
lnkn             0.191113         1.732727         0.086167
lnsd             0.006257         0.936994         0.350975

loglikfe =
    1.768995551502678e+002
LM test no spatial lag, probability          =    3.6425,   0.0563
robust LM test no spatial lag, probability   =    6.5426,   0.0105
LM test no spatial error, probability        =    2.4345,   0.1187
robust LM test no spatial error, probability =    5.3346,   0.0209
Moran I-test for spatial correlation in residuals

Moran I                   -0.08247107
Moran I-statistic         -1.56127006
Marginal Probability       0.11846005
mean                       0.00011859
standard deviation         0.05289902

二维码

扫码加我 拉你入群

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

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

全部回复
2014-3-24 19:01:55
谁能帮我解释一下?
二维码

扫码加我 拉你入群

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

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

2014-12-8 22:06:23
请问楼主这个是怎么做出来的呢 我的数据怎么就爬不出来呢
二维码

扫码加我 拉你入群

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

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

2014-12-11 11:09:23
民大学子 发表于 2014-12-8 22:06
请问楼主这个是怎么做出来的呢 我的数据怎么就爬不出来呢
我昨天发现moran是这么出来的

先定义数据,什么是y,什么是x之类的
然后W1=kron(I,W)    这是把空间权重矩阵扩展
re=moran(y,x,W1)
就出来了
二维码

扫码加我 拉你入群

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

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

2014-12-11 11:10:06
但是谁能告诉我怎么做LM检验?
我出来的结果是:
LMsarsem_panel(re,W1,y,[xconstant x])
Reference to non-existent field 'beta'.

Error in LMsarsem_panel (line 31)
二维码

扫码加我 拉你入群

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

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

2015-10-25 18:12:08
请问您解决了这个问题了吗?小弟现在也不知道怎么看LM检验和robustLM检验的结果
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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