Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: max number of variables in Stata IC/11.1


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: max number of variables in Stata IC/11.1
Date   Tue, 29 Nov 2011 11:30:21 +0100

I can imagine that -nlsur- would have to create less temporary
variables if you code linear combination like -{xb:var1 var2 var3}-
instead of -{xb_var1}*var1 + {xb_var2}*var2 + {xb_var3}*var3-. I don't
know if this statement is true, but I could imagine it is.

-- Maarten


On Tue, Nov 29, 2011 at 10:51 AM, Ivica Rubil <irubil@eizg.hr> wrote:
> Dear all,
>
> here's the problem: I'm trying to run -nlsur- with 12 equations, same 34
> regressors in each, and 354 coefficients to be estimated. When I run it,
> Stata returns the following error message:
>
> no room to add more variables
>    An attempt was made to add a variable that would have resulted in
> more than 2048 or 2047 variables (Stata reserves one variable
>    for its own use).  You have the following alternatives:
>
>     1.  Drop some variables; see help drop.
>
>     2.  If you are using Stata/SE, increase maxvar; see help maxvar.
> r(900);
>
> I'm using Stata IC/11.1 which, as far as I'm aware, accepts more
> variables than I actually have (46 = 34 regressors + 12 dep. var.), plus
> I have compressed (-compress-) all of them.
>
> Please, help.
>
> Thanks,
> ivica
>
> --
> Ivica Rubil
> Ekonomski institut / The Institute of Economics, Zagreb
> a. Trg J. F. Kennedyja 7, 10 000 Zagreb, Croatia
> t. +385-1-2362-269
> f. +385-1-2335-165
> e. irubil@eizg.hr
> www.eizg.hr
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/



-- 
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany


http://www.maartenbuis.nl
--------------------------

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index