求助各位啊,之前发了类似的帖子一直没人回复,问题一直没有得到解决。所有再发一次寻求帮助
https://bbs.pinggu.org/thread-3567370-1-1.html
这个是之前发的
问题还是在于用stata跑回归的时候提示系统不提供内存,但是跑工具变量的时候又可以。就连用stata自己提供的数据都是这样。具体见下。
看了论坛相关帖子也没办法解决,求懂的人指点一下,真的很急啊!
. clear
. set max_memory 3000m
. webuse auto
(1978 Automobile Data)
. reg price mpg
op. sys. refuses to provide memory
r(909);
. ivreg2 price mpg
OLS estimation
--------------
Estimates efficient for homoskedasticity only
Statistics consistent for homoskedasticity only
Number of obs = 74
F( 1, 72) = 20.26
Prob > F = 0.0000
Total (centered) SS = 635065396.1 Centered R2 = 0.2196
Total (uncentered) SS = 3447834321 Uncentered R2 = 0.8563
Residual SS = 495615922.6 Root MSE = 2588
------------------------------------------------------------------------------
price | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
mpg | -238.8943 52.35452 -4.56 0.000 -341.5073 -136.2814
_cons | 11253.06 1154.883 9.74 0.000 8989.532 13516.59
------------------------------------------------------------------------------
Included instruments: mpg
------------------------------------------------------------------------------
.