arlionn 发表于 2012-9-18 10:14 
应该是没有正确升级导致的 bug。
执行如下完整升级过程后再试一下你的命令:
update all
spautoreg y x1 x2 , wmfile(SPWcs) model(sar) mfx(lin)
==============================================================================
*** Binary (0/1) Weight Matrix: 49x49 (Non Normalized)
==============================================================================
initial: log likelihood = -187.4251
rescale: log likelihood = -187.4251
rescale eq: log likelihood = -187.4251
Iteration 0: log likelihood = -187.4251
Iteration 1: log likelihood = -186.83861
Iteration 2: log likelihood = -186.81614
Iteration 3: log likelihood = -186.8161
Iteration 4: log likelihood = -186.8161
==============================================================================
* MLE Spatial Lag Normal Model (SAR)
==============================================================================
y = x1 + x2
------------------------------------------------------------------------------
Sample Size = 49 | Cross Sections Number =
Wald Test = 56.4471 | P-Value > Chi2(2) = 0.0000
F-Test = 28.2236 | P-Value > F(2 , 47) = 0.0000
(Buse 1973) R2 = 0.5510 | Raw Moments R2 = 0.9184
(Buse 1973) R2 Adj = 0.5414 | Raw Moments R2 Adj = 0.9166
Root MSE (Sigma) = 11.3305 | Log Likelihood Function = -186.8161
------------------------------------------------------------------------------
- R2h= 0.5510 R2h Adj= 0.5415 F-Test = 28.23 P-Value > F(2 , 47) 0.0000
- R2v= 0.5543 R2v Adj= 0.5448 F-Test = 28.61 P-Value > F(2 , 47) 0.0000
------------------------------------------------------------------------------
y | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
y |
x1 | -.252788 .1007052 -2.51 0.012 -.4501667 -.0554094
x2 | -1.585978 .3198759 -4.96 0.000 -2.212924 -.959033
_cons | 64.04514 6.233457 10.27 0.000 51.82779 76.26249
-------------+----------------------------------------------------------------
Rho | .0211161 .0197638 1.07 0.285 -.0176202 .0598524
Sigma | 10.94111 1.10546 9.90 0.000 8.774445 13.10777
------------------------------------------------------------------------------
LR Test SAR vs. OLS (Rho=0): 1.1415 P-Value > Chi2(1) 0.2853
Acceptable Range for Rho: -0.3199 < Rho < 0.1633
------------------------------------------------------------------------------
<istmt>: 3499 divide() not found
r(3499);
当我是用upate all 后再执行update swap 会提示 :
1. Removing older backups
恳求连老师出手相助 谢谢
File D:\stata11\StataSE.bin was not found, aborting swap.