Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: RE: Calculate confidence intervals for log-log models


From   Jason Ferris <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: Calculate confidence intervals for log-log models
Date   Tue, 5 Mar 2013 20:58:57 +0000

Hi  Nick and Rich,

Nick - I was going to run a series of 'changes' in the original variable (as you suggested) by dividing the original variable by a series of constants (representing the percentage value changes) that I want.  I thought I could get this directly by using lincom - but didn't appreciate it was only about 'linear combinations'.

Rich - thank you for suggestion - this gives me exactly what I am looking for.

------------------------------------------------------------------------------
         lny |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         lnx |   2.105722   .0817271    25.77   0.000     1.942802    2.268642
       _cons |  -3.032146   .4274653    -7.09   0.000    -3.884282   -2.180009
------------------------------------------------------------------------------

. nlcom 1.1^_b[lnx]

       _nl_1:  1.1^_b[lnx]

------------------------------------------------------------------------------
         lny |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       _nl_1 |   1.222254   .0095207   128.38   0.000     1.203275    1.241233
------------------------------------------------------------------------------

Cheers,

Jason 


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index