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

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

From   Michael McCulloch <>
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 McCulloch <> 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
 stcox load bearing
 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
stcox load bearing
esttab, se brackets star wide drop(bearings) eform
*--------------- end example -------------------
(For more on how to use examples I sent to the Statalist, see )

Hope this helps,

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

Want ideas for reducing your carbon footprint? Visit Yahoo! For Good
* For searches and help try:
*   For searches and help try:

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