全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
7221 3
2010-01-20
请问各位大侠,我现在如果set memory 1g以上,sys refuse me to do so
但是我有一个非常大的数据,我现在已经把数据删掉只剩下回归中要用到得变量了,也compress过了,但是在1g的memory下,还是out of memory了,请问有什么解决办法吗?
谢谢
二维码

扫码加我 拉你入群

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

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

全部回复
2010-1-20 11:48:24
好像是几千个变量吧,记不清了.如果超过万为了,要向Stata公司购买。
二维码

扫码加我 拉你入群

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

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

2010-1-20 11:51:36
Setting Stata/SE's limits


    The three limits for Stata/SE are as follows:


        1.  maxvar
                The maximum number of variables allowed in a dataset.  This
                limit is initially set to 5,000; you can increase it up to
                32,767.


        2.  matsize
                The maximum size of matrices, or said differently, the
                maximum number of independent variables allowed in the
                models that you fit.  This limit is initially set to 400,
                and you can increase it up to 11,000.


        3.  memory
                The amount of memory Stata requests from the operating
                system to store your data.  This limit is initially set to
                50 MB.  You may set it to as large a number as your
                operating system will allow.


    You reset the limits by using the


            set maxvar  #          [, permanently]
            set matsize #          [, permanently]
            set memory  #[b|k|m|g] [, permanently]


    commands.  For instance, you might type


            . set maxvar  6000
            . set matsize 900
            . set memory  100m


    The order in which you set the limits does not matter.  If you specify
    the permanently option when you set a limit, in addition to making the
    change for the present session, Stata/SE will remember the new limit and
    use it in the future when you invoke Stata/SE:


            . set maxvar  6000, permanently
            . set matsize 900, permanently
            . set memory  50m, permanently


    You can reset the current or permanent limits whenever and as often as
    you wish.
二维码

扫码加我 拉你入群

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

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

2010-1-20 13:11:44
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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