Bookmark and Share

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

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

Re: st: levpredict after areg

From   Nick Cox <>
Subject   Re: st: levpredict after areg
Date   Fri, 15 Apr 2011 17:51:25 +0100

-levpredict- is from SSC. Please remember...

I don't know why intuition is invoked here. You can look at the code,
and it's a short but sweet program. -levpredict- is indifferent to
quite what lies beyond the fitted and residual values.

In any case, what do you mean by "including the effect of the absorbed


On Fri, Apr 15, 2011 at 5:42 PM, Dimitriy V. Masterov
<> wrote:
> 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.
*   For searches and help try:

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