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

Re: st: Using predict to do forecasting

From   Robert A Yaffee <>
Subject   Re: st: Using predict to do forecasting
Date   Sun, 27 Sep 2009 14:17:57 -0400

Dear Hope,
  You have to generate the forecasts first for each of your exogenous variables
and be sure those are included in the forecast horizon before you forecast an
endogenous series.
         Bob Yaffee

Robert A. Yaffee, Ph.D.
Research Professor
Silver School of Social Work
New York University



----- Original Message -----
From: Hope Kayiska Chavula <>
Date: Sunday, September 27, 2009 9:33 am
Subject: st: Using predict to do forecasting

> I have estimated an ARIMA model 
> Arima lgdp, arima(1,1,1)bfgs, if tin( ,2007) and after estimation when 
> I enter: Predict gdp, (with exogenous vars), y dynamic(2008) to do out 
> of sample forecasting.
> Unfortunately I do not get the forecasted values in my data file in 
> which the time variable goes up to 2015. Hoever I can get the 
> forecasted values if I do not include the exogenous variables. How can 
> I get the forecasted values but with the exogenous variables included 
> in my model?
> Please advise.
> Hope K. Chavula
> *
> *   For searches and help try:
> *
> *
> *
*   For searches and help try:

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