Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: -estimates post- followed by post-estimation processing


From   "Ben Jann" <ben.jann@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: -estimates post- followed by post-estimation processing
Date   Fri, 6 Jun 2008 14:18:03 +0200

As Maarten wrote, the -estimates- commands (and therefore also
-estout-) require e(cmd) to be defined. Type

 . ereturn  post `Q' `TR'
 . estadd local cmd "mycmd"

You can also use -eststo- to store the estimates, which automatically
adds e(cmd) if it is undefined (-eststo- sets e(cmd) to "."):

 . eststo: ereturn  post `Q' `TR'

ben

On Fri, Jun 6, 2008 at 1:48 PM, Maarten buis <maartenbuis@yahoo.co.uk> wrote:
> --- "Stephen P. Jenkins" <stephenj@essex.ac.uk> wrote:
>> I have posted  to e(b) and e(V)  using -ereturn post- some estimates
>> derived from some code I wrote. I want now to process the estimates
>> using -estimates table- or -estout-. But I get error messages
>> complaining that "last estimates (.) not found".
>
> Often a requirement is that you also specify e(cmd), see for example:
> http://www.stata.com/statalist/archive/2008-05/msg01145.html
>
> Hope this helps,
> Maarten
>
> -----------------------------------------
> Maarten L. Buis
> Department of Social Research Methodology
> Vrije Universiteit Amsterdam
> Boelelaan 1081
> 1081 HV Amsterdam
> The Netherlands
>
> visiting address:
> Buitenveldertselaan 3 (Metropolitan), room Z434
>
> +31 20 5986715
>
> http://home.fsw.vu.nl/m.buis/
> -----------------------------------------
>
>
>      __________________________________________________________
> Sent from Yahoo! Mail.
> A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
> *
> *   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/
>
*
*   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