楼主: sheila_qian
2136 2

使用stata10.0引用一个.dta文件,提示空间不足 [推广有奖]

  • 4关注
  • 1粉丝

大专生

36%

还不是VIP/贵宾

-

威望
0
论坛币
278 个
通用积分
0
学术水平
19 点
热心指数
19 点
信用等级
14 点
经验
1115 点
帖子
47
精华
0
在线时间
51 小时
注册时间
2011-9-25
最后登录
2015-5-13

楼主
sheila_qian 发表于 2012-4-19 16:27:38 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
这个.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

二维码

扫码加我 拉你入群

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

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

关键词:stata10 Stata DTA文件 空间不足 tata 空间

沙发
sheila_qian 发表于 2012-4-19 16:43:23
谢谢大家,自己解决了~~
set memory 400m
但是不能超过1g,这是为什么呢

藤椅
yihuier 发表于 2012-4-23 11:30:24
因为一般电脑内存是2G,所以设定STATA的内存时不能过高。

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-2-3 18:48