Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: outreg after non-standard estimatoin


From   "Jann Ben" <ben.jann@soz.gess.ethz.ch>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: outreg after non-standard estimatoin
Date   Thu, 18 Aug 2005 10:04:40 +0200

-estout- (-ssc describe estout-) will be able to tabulate
results from your own estimation routines as long as the
results are posted using -ereturn post- and the the
e()-local -e(cmd)- is set. That is, your routine should
look something like

 prog def myestimator, eclass
 ...
 eret post `b' `V', ...
 eret local cmd myestimator
 ...
 end

-estout- (and, e.g., -estimates store-) will fail if
e(cmd) is not set. If neccessary, e(cmd) can also be added
to existing estimates using the -eret2- program (-ssc
describe eret2-):

 . eret2 local cmd whatever

ben


> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu 
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of 
> Richard Williams
> Sent: Thursday, August 18, 2005 12:14 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: Re: st: outreg after non-standard estimatoin
> 
> 
> At 05:44 PM 8/17/2005 -0400, Alexand Shepotilo wrote:
> >Hi,
> >
> >I am using my own estimation routine that does not use one 
> of standard
> >stata command. To display results on the screen I use 
> ereturn display. I
> >realized that it would be wonderful to make outreg work with 
> my routine
> >to present results in the table with all that stars and 
> brackets but do
> >not know how to do it. Is it possible?
> 
> Whenever -outreg- comes up these days the standard answer 
> seems to be, Why 
> don't you try out -estout- instead?  Even if -estout- won't 
> do what you 
> want, the author (Ben Jann) is still actively supporting it 
> and might be 
> willing to listen to good ideas for enhancements.  I just 
> tried it with one 
> of my own estimation routines and it seems to work fine.  Use 
> -findit- to 
> get it, as well as related programs like -estadd-, -eret2- 
> and -estsave-.
> 

*
*   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/



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