经鉴定:是空间计量的面板数据,需要空间计量工具箱,未安装,所以有些函数未能识别。
http://www.spatial-econometrics.com/为下载地址 。安装过程:
1. Go on thedownload section of the website
2. Download MatlabVersion 7 zip file
3. Create an ad hocdirectory (ex. c:\***\toolbox) and extract the zip file there
4. Open Matlab go to file, set path,Add with subfolders select your directory, click save
5. Exit from setpath
直接运行程序 出结果:
Pooled model with spatially lagged dependent variable, no fixed effects
Dependent Variable = logcit
R-squared = 0.3369
Rbar-squared = 0.3349
sigma^2 = 0.0334
Nobs,Nvar,TNvar = 1380, 4, 5
log-likelihood = 386.61545
# of iterations = 17
min and max rho = -1.0000, 1.0000
total time in secs = 0.9690
time for lndet = 0.2660
time for t-stats = 0.0310
No lndet approximation used
后面省略1000字