Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Mincer wage function as a log function - how can stata calculate the percent values


From   "Joao Ricardo F. Lima" <[email protected]>
To   [email protected]
Subject   Re: st: Mincer wage function as a log function - how can stata calculate the percent values
Date   Wed, 29 Oct 2008 17:35:35 -0300

Boris,

I don´t know if you want this, however try:

**************begin example******************
sysuse nlsw88, clear
gen ttl_exp2 = ttl_exp^2
gen wage_log = ln(wage)
reg wage_log ttl_exp ttl_exp2 grade

foreach x of varlist ttl_exp ttl_exp2 grade {
	di (exp(_b[`x'])-1)*100
}
***************end example*******************

HTH,

Joao Lima


2008/10/29 bumbuminc <[email protected]>:
> Hi, i have here the standard Mincer wage function as a log function:
>
> Log(W) = b + cX ^2 + dX + eX + fX
>
> Now if i want the Values of the coefficients in percent i have to
> calculate by hand every value with:
>
> 100 * (exp^b - 1)
>
> Is there a way that stata can do this after the regress command?
>
> Thanks Boris
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>



-- 
-------------------------------
Joao Ricardo Lima
Professor
UFPB-CCA-DCFS
+553138923914
-------------------------------

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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