全部版块 我的主页
论坛 提问 悬赏 求职 新闻 读书 功能一区 经管百科 爱问频道
3705 4
2016-08-31
matlab做出空间滞后模型的结果,但是不会看结果,求助大神
Pooled model with spatially lagged dependent variable, no fixed  effects
Dependent  Variable =        y         
R-squared          =     0.3133   
corr-squared       =     0.5059   
sigma^2            =    2.1849
Nobs,Nvar,#FE      =     667,     6,     5  
log-likelihood     =              NaN
# of  iterations    =      1   
min and max  rho    =   -1.0000,    1.0000
total time  in secs =    0.4300
time for  optimiz   =    0.1620
time for  lndet     =    0.0720
time for  t-stats   =    0.0130
No lndet  approximation used
***************************************************************
Variable        Coefficient  Asymptot t-stat    z-probability
intercept         -7.080313        -4.223337         0.000024
LNPGDP             1.449192         6.072201         0.000000
a                  1.241021        15.722816         0.000000
b                 -0.125728        -1.883889         0.059580
c                  1.799770         4.122435         0.000037
W*dep.var.        -0.236068        -4.943752         0.000001

二维码

扫码加我 拉你入群

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

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

全部回复
2017-4-17 19:23:28
想问一下,楼主有没有源代码,我也在做这个,但是不会编程~谢谢楼主
二维码

扫码加我 拉你入群

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

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

2017-4-18 15:38:23
kellinsweet 发表于 2017-4-17 19:23
想问一下,楼主有没有源代码,我也在做这个,但是不会编程~谢谢楼主
T=12;
N=267;
W=normw(w);
y=pm(:,[3])
x=pm(:,[4,5,8,9,10,12,14,17,26])
Xconstant=ones(N*T,1)
info.lflag=1;
info.model=1;
info.fe=0;
results=sar_panel_FE(Y,X,W,T,info)    //空间滞后模型固定效应
vnames=strvcat('lnpm2.5','fd','fdfd','is','lngdp','lngdplngdp','ex','lnpd')
prt_spnew(results,vnames,1)
results = sem_panel_FE(Y,X,W,T,info)    //空间误差模型固定效应
vnames=strvcat('lnpm2.5','fd','fdfd','is','lngdp','lngdplngdp','ex','lnpd')
prt_spnew(results,vnames,1)
results=sar_panel_RE(Y,[Xconstant X],W,T,info)    //空间滞后模型随机效应
vnames=strvcat('lnpm2.5','intercept','fd','fdfd','is','lngdp','lngdplngdp','ex','lnpd')
prt_spnew(results,vnames,1)
results=sem_panel_RE(Y,[Xconstant X],W,T,info)    //空间误差模型随机效应
vnames=strvcat('lnpm2.5','intercept','fd','fdfd','is','lngdp','lngdplngdp','ex','lnpd')
prt_spnew(results,vnames,1)
二维码

扫码加我 拉你入群

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

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

2018-3-9 15:37:20
楼主现在看懂了吗?求教
二维码

扫码加我 拉你入群

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

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

2018-3-9 15:37:24
楼主现在看懂了吗?求教
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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