Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Can -outreg- show the coefficient in (eform-1)*100


From   "Renzo Comolli" <[email protected]>
To   <[email protected]>
Subject   st: Can -outreg- show the coefficient in (eform-1)*100
Date   Mon, 30 Jun 2003 11:07:02 -0400

Dear Statalist,

I am using -outreg- version 3.0.6  27nov00 
Intercooled Stata 8.0 for Windows

I need to show the regression coefficients (which Stata stores in e(b)) in
the following format 
(exp(e(b))-1)*100 
is it possible to do so with -outreg-? Maybe writing a line before -outreg-?
I tried to write the following lines, but the execution breaks at the second
line:
regress ln_wage women other_regressors
replace e(b)=(exp(e(b)-1)*100)
outreg using myregression.txt, replace se

I imagine that this problem has been tackled many times before, in fact, in
the example here, the transformation (exp(b)-1)*100 has the interpretation
"women's wages are % lower than men's".

I know -outreg, eform- shows the regression coeffcients b in the form exp(b)
and adjusts the standard errors correspondently, but that's one step short
of what I need.

I looked also at -reformat- but it does not do it either. I can't use
-mktab- for unrelated reasons.
I haven't understood how to use -parmby-, so I would avoid if possible.

Thank you very much.

Sincerely,
Renzo Comolli


*
*   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