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   Thu, 30 Oct 2008 15:12:19 -0300

This advice isn´t an alternative to Maarten' s. It only demonstrate
how to the calculate 100 * (exp^b - 1) automatically (your original
question).

JR

2008/10/30 bumbuminc <[email protected]>:
> Thanks for your answer, but i think i'm going with the advice from Maarten buis.
> Boris
>
> 2008/10/29, Joao Ricardo F. Lima <[email protected]>:
>> 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/
>>
>
> *
> *   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