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

From |
Laura Platchkov <LMP881@bham.ac.uk> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
st: ST: predict vs predcalc |

Date |
Sun, 20 Sep 2009 17:09:37 +0100 |

Dear all, Does anyone has a clue? I have a cross sectional dataset, and use OLS. This is the model: ln(Y) = b1 + b2X + b3Z + e I would like to do some predictions to compare the change in Y when the X has, let say 10 units more: ln(Y)* = b1 + b2(X+10) + b3Z + e and compare the change: Y*- Y I have 2 questions: 1) But I will have the change ln(y*) -ln(y). If I compute the percentage change between both log,it would n't be the same as the levels. I should first transpose it in level, right? Wooldridge says that to get rid of the bias, we should multply the exponential of the predicted value by an estimator of the expected value of the exponential of the error term. 2) In general, how can I do exactly? I have created a new dataset with the modified values of the regressors and was planning to do out of sample predictions with the predict command. But the results look strange. I am mistaken in the technique? Or should I use the predcalc command? What is the difference between the predict out-of-sample and the predcalc command? Thanks a lot! laura * * 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/

**Follow-Ups**:**Re: st: ST: predict vs predcalc***From:*Austin Nichols <austinnichols@gmail.com>

- Prev by Date:
**st: interaction in linear regression** - Next by Date:
**st: Bivariate probit rho** - Previous by thread:
**st: interaction in linear regression** - Next by thread:
**Re: st: ST: predict vs predcalc** - Index(es):

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