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

From |
"Ada Ma" <heu034@googlemail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Problems with outreg |

Date |
Tue, 25 Nov 2008 14:37:14 +0000 |

I tried both sets of your commands and I too have version 10.1 and outreg2 freshly installed (never having used it) and I got neither of your command problem. I know this is really silly but checking it just in case - have you tried increasing the memory size BEFORE you load up your data set? On Tue, Nov 25, 2008 at 12:20 AM, David Malison <takeshimalison@gmail.com> wrote: > 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/ > * * 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/

**References**:**st: Problems with outreg***From:*David Malison <takeshimalison@gmail.com>

- Prev by Date:
**Re: st: Panel data manipulation** - Next by Date:
**st: RE: RE: Problems with outreg** - Previous by thread:
**st: RE: RE: Problems with outreg** - Next by thread:
**Re: st: RE: Problems with outreg** - Index(es):

© Copyright 1996–2019 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |