全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
7404 4
2010-10-12
stata11.0 se版可以容纳的的最大变量个数是多少个?如何查看所允许的最大变量个数?
二维码

扫码加我 拉你入群

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

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

全部回复
2010-10-12 17:31:17
help limits
---------------------------------------------------------------------------------------------------------------------

Maximum size limits
                                                                 Stata/MP and
                                          Small       Stata/IC       Stata/SE
---------------------------------------------------------------------------------------------------------------------
   # of observations  (1)                 1,200  2,147,483,647  2,147,483,647
   # of variables                            99          2,047         32,767
   width of a dataset in bytes              800         24,564        393,192

   value of matsize                         100            800         11,000
   # characters in a command              8,697        165,216      1,081,527
   # options for a command                   70             70             70

   # of elements in a numlist             1,600          1,600          1,600
   # of interacted continuous variables       8              8              8
   # of interacted factor variables           8              8              8

   # of unique time-series operators in
       a command                            100            100            100
   # seasonal suboperators per time-series
       operator                               8              8              8

   # of dyadic operators in an expression    66            800            800
   # of numeric literals in an expression    50            300            300
   # of string literals in an expression    256            512            512
   length of string in string expression    244            244            244
   # of sum functions in an expression        5              5              5
   # of pairs of nested parentheses         249            249            249

   # of characters in a macro             8,681        165,200      1,081,511
   # of nested do-files                      64             64             64
   # of lines in a program                3,500          3,500          3,500
   # of characters in a program         135,600        135,600        135,600

   length of a variable name                 32             32             32
   length of ado-command name                32             32             32
   length of a global macro name             32             32             32
   length of a local macro name              31             31             31

   length of a string variable              244            244            244
   anova
       # of variables in one anova term       8              8              8
       # of terms in the repeated() option    4              4              4

   char
       length of one characteristic       8,681         67,784         67,784

   constraint
       # of constraints                   1,999          1,999          1,999

   encode and decode
       # of unique values                 1,000         65,536         65,536

   _estimates hold
       # of stored estimation results       300            300            300

   estimates store
       # of stored estimation results       300            300            300

   exlogistic and expoisson
       maximum memory specification in      2gb            2gb            2gb
       memory(#)

   grmeanby
       # of unique values in varlist       _N/2           _N/2           _N/2

   graph twoway
       # of variables in a plot             100            100            100
       # of styles in an option's stylelist  20             20             20

   impute
       # of variables in varlist             31             31             31

   infile
       record length without dictionary    none           none           none
       record length with a dictionary  524,275        524,275        524,275

   infix
       record length with a dictionary  524,275        524,275        524,275

   label
       length of dataset label               80             80             80
       length of variable label              80             80             80
       length of value label string      32,000         32,000         32,000
       length of name of value label         32             32             32
       # of codings within one
           value label                    1,000         65,536         65,536

   label language
       # of different languages             100            100            100

   macros
       # of nested macros                    20             20             20

   manova
       # of variables in single manova term   8              8              8

   matrix  (2)
       dimension of single matrix       40 x 40      800 x 800  11,000x11,000

   maximize options
       iterate() maximum                 16,000         16,000         16,000

   mprobit
       # of categories in a depvar           30             30             30

   net (also see usersite)
       # of description lines in .pkg file  100            100            100

   nlogit and nlogittree
       # of levels in model                   8              8              8

   notes
       length of one note                 8,681         67,784         67,784
       # of notes attached to _dta        9,999          9,999          9,999
       # of notes attached to each
           variable                       9,999          9,999          9,999

   numlist
       # of elements in the numeric list  1,600          1,600          1,600

   reg3, sureg, and other system estimators
       # of equations                        40            800         11,000

   set adosize
       memory ado-files may consume       1000K          1000K          1000K

   set scrollbufsize
       memory for Results window buffer   2000K          2000K          2000k

   slogit
       # of categories in a depvar           30             30             30

   snapshot
       length of label                       80             80             80
       # of saved snapshots               1,000          1,000          1,000

   stcox
       # of variables in strata() option      5              5              5

   stcurve
       # of curves plotted on the same graph 10             10             10

   table and tabdisp
       # of by variables                      4              4              4
       # of margins, i.e., sum of rows,
         columns, supercolumns, and
         by groups                        3,000          3,000          3,000

   tabulate  
       # of rows in one-way table           500          3,000         12,000
       # of rows & cols in two-way table 160x20         300x20       1,200x80

   tabulate, summarize (see tabsum)
       # of cells (rows X cols)             375            375            375

   xt estimation commands (e.g., xtgee,
       xtgls, xtpoisson, xtprobit, xtreg
       with mle option, and xtpcse when
       neither option hetonly nor option
       independent are specified)

       # of time periods within panel        40            800         11,000
       # of integration points accepted      40            800         11,000
         by intpoints(#)                    195            195            195
---------------------------------------------------------------------------------------------------------------------


Notes
    (1) 2,147,483,647 is a theoretical maximum; memory availability will certainly impose a smaller maximum.
    (2) In Mata, matrices are limited only by the amount of memory on your computer.

Matrix size
    See matsize.

Determining which flavor of Stata you are running
    Type
            . about
    The response will be Stata/MP, Stata/SE, Stata/IC, or Small Stata.  Other information is also shown, including
    your serial number.  See about.


Also see
      Help:  [R] about, [D] compress, [D] data types, [D] infile (free format), [D] infile (fixed format), [D]
             infile, [R] matsize, [D] memory, [D] obs
二维码

扫码加我 拉你入群

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

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

2011-4-11 08:36:51
that is great!
二维码

扫码加我 拉你入群

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

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

2011-6-15 11:48:42
也在学习中
二维码

扫码加我 拉你入群

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

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

2018-1-26 12:07:56
蓝色 发表于 2010-10-12 17:31
help limits
--------------------------------------------------------------------------------------- ...
不错不错
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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