楼主: jianhui80
33518 70

[区域经济学] matlab运行空间计量操作速成   [推广有奖]

61
lonestone 在职认证  发表于 2019-6-20 05:52:24 来自手机
jianhui80 发表于 2016-1-15 18:00
目前用matlab做空间计量还处于讳莫如深的境况,很多会操作的人还利用它来赚钱(诸如开培训班等), ...
积极加群

62
wangpuyuan0 发表于 2019-6-20 20:02:20
非常感谢楼主的无私奉献,前几个模型都跑出来了,只是在跑下面的两个程序时:
% SAC / SARAR / Clifford-Ord/ Kelejian-Prucha model
info.lflag=0; % required for exact results
info.model=3;
info.fe=0; % Do not print intercept and fixed effects; use info.fe=1 to turn on
info.bc=1;
results=sac_panel_FE(y,x,W,T,info);
vnames=strvcat('logcit','logp','logy');
prt_spnew(results,vnames,1);
% Print out effects estimates
spat_model=0;
direct_indirect_effects_estimates(results,W,spat_model);
% ----------------------------------------------------------------------------------------
% Full model
info.model=3;
info.fe=0; % Do not print intercept and fixed effects; use info.fe=1 to turn on
info.bc=1;
results=sac_panel_FE(y,[x wx],W,T,info);
vnames=strvcat('logcit','logp','logy','W*logp','W*logy');
prt_spnew(results,vnames,1);
% Print out effects estimates
spat_model=1;
direct_indirect_effects_estimates(results,W,spat_model);
遇到到问题:??? Error using ==> prt_spnew
results structure not known by prt_sp function
请问大神,这个问题怎么解决?

63
guoahx 发表于 2019-7-30 15:52:44
感谢楼主!

64
shunshuiliu986 发表于 2019-8-16 11:01:34
RainbowSix00 发表于 2018-3-13 15:33
楼主您好!
我这里运行 sac_panel_FE 时显示
这个问题解决了吗,运行楼主的程序,sac总是出错,和你的一样的错误,解决了吗?

65
shunshuiliu986 发表于 2019-8-16 11:03:42
wangpuyuan0 发表于 2019-6-19 19:34
楼主您好!
我这里运行 sac_panel_FE 时显示
这个问题解决了吗,我也是同样的问题,谢谢!

66
317792209 在职认证  学生认证  发表于 2019-10-29 10:51:26
顶。类似崔百胜之流,真是不好说什么。写了本书说会给代码,最后怎么要都不给提供。纯属大骗子

67
lonestone 在职认证  发表于 2019-10-30 07:52:54 来自手机
jianhui80 发表于 2016-1-15 18:00
目前用matlab做空间计量还处于讳莫如深的境况,很多会操作的人还利用它来赚钱(诸如开培训班等), ...
谢谢楼主的分享

68
Luo231 发表于 2019-12-8 18:15:27
317792209 发表于 2019-10-29 10:51
顶。类似崔百胜之流,真是不好说什么。写了本书说会给代码,最后怎么要都不给提供。纯属大骗子
好像是因为写代码的那个老师去其他学校了,把代码也带走了,所以,哎~

69
zhaochuan2 学生认证  发表于 2020-7-15 19:28:57
为啥没人问   空间权重和解释变量的乘机项的估计结果   这个没有分析

70
lugaiben 发表于 2022-3-2 16:17:54
想问问结果怎么解读的,,

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
扫码
拉您进交流群
GMT+8, 2026-1-29 15:07