[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: prediction after y-logged regression

From   Shehzad Ali <>
Subject   st: prediction after y-logged regression
Date   02 Jun 2008 13:24:09 +0100

Hi Listers,

I am running a regression in which y variable is logged (semi-logarithmic). The literature suggests that in order to get an anti-logged prediction of yhat, one should proceed like this:

1. Run the regression and predict yhat,

2. Then exponentiate the predicted yhat, and finally

3. Mutiply the exponentiated predicted yhat by the mean value of residuals from the regression (otherwise known as smearing).

I was wondering if there is a direct way to do it in stata or if there is any other method that experts would suggest to get anti-logged prediction.

Thank you,


Shehzad I Ali
Department of Social Policy & Social Work
University of York
YO10 5NG
+44 (0) 773-813-0094
* For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index