Renuka wrote:
When I run any regression, despite it having < 2047
variables or even attempt to create a variable, I get
the following message. I would be grateful if someone
could tell me how I can possibly remedy this.
. ge z50plusa=.
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);
=================================================
To see the number of variables in the data in memory:
describe , short
Guessing: If you used -xi:- when running the regression
analysis, you created new variables, and that may
explain your problem.
hth
Svend
________________________________________________________
Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000 Aarhus C, Denmark
Phone, work: +45 8942 6090
Phone, home: +45 8693 7796
Fax: +45 8613 1580
E-mail: [email protected]
_________________________________________________________
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/