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, is already up and running.

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

st: prediction after y-logged oheckman regression

From   "Vanessa Carrion" <>
To   <>
Subject   st: prediction after y-logged oheckman regression
Date   Fri, 3 May 2013 17:18:20 -0400


I am running an oheckman model in which y variable is logged. I read that in
order to get an anti-logged prediction of yhat, one should proceed like

1. Run the regression and predict yhat,
2. Then exponentiate the predicted yhat, and finally
3. Multiply the exponentiated predicted yhat by the mean value of residuals
from the regression.

After doing so, my yhat becomes a column of missing values. Am I doing
something wrong?

On the other hand, I read that predlog is useful for OLS regression.
However, I don't know how to implement it for an oheckman.

Thank you!


*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index