Statalist


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

st: eform in ML Display


From   "E. Paul Wileyto" <[email protected]>
To   [email protected]
Subject   st: eform in ML Display
Date   Wed, 18 Jul 2007 08:05:10 -0400

So, I have a multi-equation likelihood, and I want to apply eform to all of the equations. Stata, by default, applies it only to the first. The help tells you that there is a way to do it, by changing the value of a scalar e(k_eform) to 3, but they stop short of actually telling you how to create or alter e(k_eform).

Does anyone know how to do this?

Paul

Quoting from help:

eform_option: eform(string), eform, hr, irr, or, and rrr display the
coefficient table in exponentiated form: for each coefficient,
exp(b) rather than b is displayed, and standard errors and confidence
intervals are transformed. Display of the intercept, if any, is
suppressed. string is the table header that will be displayed above
the transformed coefficients and must be 11 characters or
shorter--for example, eform("Odds ratio"). The options eform, hr,
irr, or, and rrr provide a default string equivalent to "exp(b)",
"Haz. Ratio", "IRR", "Odds Ratio", and "RRR", respectively. These
options may not be combined.

ml display looks at e(k_eform) to determine how many equations are
affected by an eform_option; by default, only the first equation is
affected.





--
E. Paul Wileyto, Ph.D.
Assistant Professor of Biostatistics
Tobacco Use Research Center
School of Medicine, U. of Pennsylvania
3535 Market Street, Suite 4100
Philadelphia, PA 19104-3309

215-746-7147
Fax: 215-746-7140
[email protected]
http://mail.med.upenn.edu/~epw/
*
* 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