Statalist


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

st: Problems with outreg


From   David Malison <[email protected]>
To   [email protected]
Subject   st: Problems with outreg
Date   Mon, 24 Nov 2008 19:20:27 -0500

Hello all. I'm having a lot of trouble getting the outreg and outreg2
commands to work in Stata (version 10.1). When invoking outreg, I
always get the r(198) error that says "obs must be between" and then
gives an arbitrary range (the lower bound of which is twice the number
of variables in the regression). For example:

sysuse auto, clear
reg price mpg
outreg using auto1

This sequence of commands gives me the following error:

obs must be between 4 and 1167
r(198);

If I use the outreg2 command I get a r(902) error that says there is a
memory problem. To use the previous example:

sysuse auto, clear
reg price mpg
outreg2 using auto1

This sequence triggers the following error:

no room to add more variables because of width
    An attempt was made to add a variable that would have increased
the memory required to store an observation beyond what
    is currently possible.  You have the following alternatives:

     1.  Store existing variables more efficiently; see help compress.
     2.  Drop some variables or observations; see help drop.  (Think
of Stata's data area as the area of a rectangle; Stata
         can trade off width and length.)
     3.  Increase the amount of memory allocated to the data area
using the set memory command; see help memory.
r(902);

No idea why I would be running into memory problems with this simple
sequence. I've contacted Stata tech support but they have not been of
any help.

Any suggestions?

Thanks,
David

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index