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: Out-of-sample forecasting using OLS regression

From   Edin Zoronjic <>
Subject   st: Out-of-sample forecasting using OLS regression
Date   Mon, 20 Aug 2012 18:09:10 +0100

Dear Stata users,

I am currently working on my master thesis which is focused on the Dynamic
factor model forecasting.
Unfortunately, I got stuck at the out-of-sample forecasting. After running
OLS regression when I try to do out-of-sample forecast, Stata generates the
missing values for all the observations.

2011m12 is the last observation in my sample, afterward data set was
expanded.  I am using following command after running regression:

predict pcpi if t>tm(2011m12)

I would really appreciate if somebody could tell me what the potential
source of this problem is and how I could solve it.

Thank you in advance.

Best regards,

Edin Zoronjic
*   For searches and help try:

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