>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).
I sometimes hear from people with unexpected Stata
behaviors. It could be your machine, your Stata, or
your outreg command. It's like fixing a car. Replace
a part until the problem goes away. Always start
with the cheapest, i.e. reinstall the program.
ssc install outreg, replace
If this does not fix the problem, then you should
reinstall your Stata from scratch. Stata rarely gets
corrupted, but it is known to happen.
Because your problem cannot be replicated by other
people, I am guess it's your Stata installation.
Reinstalling Stata takes some effort, so you probably
want to send us a trace output like Martin suggested.
I am willing to take a look at the whole ugly thing if
you send it to me privately.
You should restart your computer, and then start Stata
and run the following codes.
Incidently, people wanting to report an error should
consider generating a trace output like this, whether
you are reporting it to the Help Desk, the Statalist,
or the original author.
Roy
cap log close
set logtype text
log using myTrace.txt, replace
which outreg
which outreg2
cd
cret list
set trace on
ssc install outreg, replace
ssc install outreg2, replace
- your stuff here-
_________________________________________________________________
Get more done, have more fun, and stay more connected with Windows Mobile®.
http://clk.atdmt.com/MRT/go/119642556/direct/01/
*
* 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/