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

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: Problems with outreg |

Date |
Tue, 25 Nov 2008 14:49:35 +0100 |

" I've contacted Stata tech support but they have not been of any help." That is unusual. Probable cause is that you are asking for advice on a user-written command. Anyway, -outreg2- probably generates -tempvar-s along the way, so throw the trace on "-set tr on-" and show us the output in the immediate vicinity of the error... HTH Martin -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of David Malison Sent: Tuesday, November 25, 2008 1:20 AM To: statalist@hsphsun2.harvard.edu Subject: st: Problems with outreg 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/

**Follow-Ups**:**st: RE: RE: Problems with outreg***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

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

- Prev by Date:
**Re: st: coding problem: looping through a list of ID's** - Next by Date:
**st: Panel data manipulation** - Previous by thread:
**Re: st: Problems with outreg** - Next by thread:
**st: RE: RE: Problems with outreg** - Index(es):

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