Statalist


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

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


From   "Stephen P. Jenkins" <[email protected]>
To   <[email protected]>
Subject   st: RE: -estimates post- followed by post-estimation processing
Date   Fri, 6 Jun 2008 17:00:37 +0100

To answer  my own question: my conjecture was correct. I've got the
problem to go away by writing an eclass wrapper program for these
matrix manipulations


Stephen
-------------------------------------------------------------
Professor Stephen P. Jenkins <[email protected]>
Director, Institute for Social and Economic Research
University of Essex, Colchester CO4 3SQ, U.K.
Tel: +44 1206 873374.  Fax: +44 1206 873151.
http://www.iser.essex.ac.uk  
Survival Analysis using Stata:
http://www.iser.essex.ac.uk/teaching/degree/stephenj/ec968/ 
Downloadable papers and software: http://ideas.repec.org/e/pje7.html

Learn about the UK's new household panel survey, the United Kingdom
Household Longitudinal Study: http://www.iser.essex.ac.uk/ukhls/ 


> -----Original Message-----
> From: Stephen P. Jenkins [mailto:[email protected]] 
> Sent: 06 June 2008 12:37
> To: '[email protected]'
> Subject: -estimates post- followed by post-estimation processing
> 
> 
> 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". Illustration below. I suspect that the problem is 
> that the code that produces the matrices `Q' and `TR' (the 
> ones posted) are not created within an eclass program. Do I 
> have do this for the post-estimation processing to work? Or 
> is there some other strategy?
>  
> . ereturn  post `Q' `TR'
> 
> . ereturn display
> --------------------------------------------------------------
> ----------------
>              |      Coef.   Std. Err.      z    P>|z|     
> [95% Conf. Interval]
> -------------+------------------------------------------------
> ----------------
>           c1 |   .6343208   .0997837     6.36   0.000     
> .4387483    .8298933
>           c2 |   .1983812   .0066031    30.04   0.000     
> .1854395     .211323
>           c3 |   .1892472   .0072121    26.24   0.000     
> .1751116    .2033827
>           c4 |   .2443121   .0169948    14.38   0.000     
> .2110029    .2776213
>           c5 |   .4396315   .0626958     7.01   0.000     
> .3167499    .5625131
> --------------------------------------------------------------
> ----------------
> 
> . estimates table , b(%20.9f) se(%20.9f) 
> last estimates (.) not found
> r(301);
> 
> end of do-file
> 
> r(301);
> 
> . eret list
> 
> macros:
>          e(properties) : "b V"
> 
> matrices:
>                   e(b) :  1 x 5
>                   e(V) :  5 x 5
> 
> . estimates table ., b(%20.9f) se(%20.9f)
> last estimates (.) not found
> r(301);
> 
> . mat li e(b)
> 
> e(b)[1,5]
>            c1         c2         c3         c4         c5
> y1  .63432083  .19838121  .18924716  .24431213  .43963146
> 
> . est store a
> last estimation results not found, nothing to store
> r(301);
> 

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index