Statalist


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

Re: st: esto: can it store exponentiated coefficients?


From   Michael McCulloch <[email protected]>
To   [email protected]
Subject   Re: st: esto: can it store exponentiated coefficients?
Date   Sun, 21 Oct 2007 17:16:32 -0700

Thank you kindly Maarten, your suggestions worked well:
	eform gave me the exponentiated coefficients, and
	drop(varlist) allowed me to drop the covariates from the display table.
Michael

--- Michael McCulloch <[email protected]> wrote:
 In the context of survival analysis, I'm using esto to store
 regression estimates, then esta to build a table of results.

 1. I'd like to learn  how to exponentiate the coefficients held in
 memory by esto.
 2. I'd also like to learn how to specify that esto give me only the
 main effects.  In the example below, I want to create a table showing
 only the exponentiated Hazard Ratio  for the main effects variable
 <load>, but not for the covariable <bearing>.

 However, I don't see in the esto help file how these results display
 modifications can be achieved.

 Here's what I have done:
 webuse kva, clear
 esto clear
 stcox load
 esto
 stcox load bearing
 esto
 esta, se brackets star wide
The logic is that -eststo- stores the model as is (+ optionally some
extra statistics), and -esttab- later exponentiates coefficients or
drops coefficients. So what you appear to want is:

*-------------- begin example ------------------
webuse kva, clear
eststo clear
stcox load
eststo
stcox load bearing
eststo
esttab, se brackets star wide drop(bearings) eform
*--------------- end example -------------------
(For more on how to use examples I sent to the Statalist, see
http://home.fsw.vu.nl/m.buis/stata/exampleFAQ.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/
-----------------------------------------


___________________________________________________________
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index