Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[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 <[email protected]>
To
[email protected]
Subject
Re: st: max number of variables in Stata IC/11.1
Date
Tue, 29 Nov 2011 11:17:59 +0100
I don't know if it helps, but you can update to Stata 11.2 for free,
by typing in Stata -update all-.
-- Maarten
On Tue, Nov 29, 2011 at 11:11 AM, Ivica Rubil <[email protected]> wrote:
> I forgot to mention in the previous post, but I have actually dropped all variables that are not used in the model. I have only 46 variables in memory.
>
>
>
>
> --
> 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. [email protected]
> www.eizg.hr
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Maarten Buis
> Sent: 29. studeni 2011 11:06
> To: [email protected]
> Subject: Re: st: max number of variables in Stata IC/11.1
>
> The error message refers to the dataset and not to the model. Many
> estimation commands create temporary variables during the computation,
> and if Stata runs into the maximum number of variables while executing
> that command it will return that error message. In such a large model
> the number of temporary variables can become quite large. If you also
> have a dataset with many variables than it becomes even more easy to
> run into this problem, even if you are not using those variables in
> your model. In that case the easiest way to solve that is to drop
> those unused variables.
>
> Hope this helps,
> Maarten
>
> On Tue, Nov 29, 2011 at 10:51 AM, Ivica Rubil <[email protected]> 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. [email protected]
>> 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/
>
> *
> * 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/