请lz大神帮看下这个什么问题?总是Error: An array for multiple LHS assignment cannot contain LEX_TS_NUMBER.
静态面板SDM模型
1、时间空间双固定效应
T=10;
N=30;
W=norm(q);
y=sysj(:,[1]);
x=sysj(:,[3,4]);
for t=1:T
t1=(t-1)*N+1;t2=t*N;
wx(t1:t2,:)=W*x(t1:t2,:);
end
xconstant=ones(N*T,1);
[300 2]=size(x);
info.bc=0;
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
results=sar_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);
panel_effects_sdm(results,vnames,W)
|