Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: levpredict after areg


From   "Dimitriy V. Masterov" <dvmaster@gmail.com>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: levpredict after areg
Date   Fri, 15 Apr 2011 12:42:19 -0400

I am estimating a model using -areg- where the dependent variable is
logged. I was hoping to use -levpredict- to transform my prediction
back to levels and I would like include the effect of the absorbed
variable. My intuition is that levpredict is just using the xb fitted
values and omitting d_absorbvar. Is there a way to do this?

I tried to estimate the model using reg with a large set of factor
variable created dummies, but this seems a whole lot slower than areg.

DVM
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index