全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2095 2
2012-04-19
这个.dta是导师拷给我的,结果我都没法打开~~
是软件版本不够高,还是因为什么?
急求解决方法~~

部分显示如下:

. use "F:\2004.dta", clear
no room to add more observations
    An attempt was made to increase the number of observations beyond what is
    currently possible.  You have the following alternatives:
     1.  Store your variables more efficiently; see help compress.  (Think of
         Stata's data area as the area of a rectangle; Stata can trade off width
         and length.)
     2.  Drop some variables or observations; see help drop.
     3.  Increase the amount of memory allocated to the data area using the set
         memory command; see help memory.

估计只有第三种方法可行吧~~
查了下内存,不太看得懂
memory
                                                  bytes
--------------------------------------------------------------------
Details of set memory usage
    overhead (pointers)                               0        0.00%
    data                                              0        0.00%
                                        ----------------------------
    data + overhead                                   0        0.00%
    free                                     10,485,752      100.00%
                                        ----------------------------
    Total allocated                          10,485,752      100.00%
--------------------------------------------------------------------
Other memory usage
    set maxvar usage                          2,001,666
    set matsize usage                         1,315,200
    programs, saved results, etc.                 1,866
                                        ---------------
    Total                                     3,318,732
-------------------------------------------------------
Grand total                                  13,804,484

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2012-4-19 16:43:23
谢谢大家,自己解决了~~
set memory 400m
但是不能超过1g,这是为什么呢
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-4-23 11:30:24
因为一般电脑内存是2G,所以设定STATA的内存时不能过高。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群