Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: forecast after reg

From   Robert A Yaffee <[email protected]>
To   [email protected]
Subject   Re: st: forecast after reg
Date   Tue, 26 Oct 2010 13:55:23 -0400

  You have to use the tsappend, add(10)
command before you forecast but after you have
tsset your date-time variable.
  - Bob

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



----- Original Message -----
From: "Lin, Bill" <[email protected]>
Date: Tuesday, October 26, 2010 1:22 pm
Subject: st: forecast after reg
To: [email protected]

> Dear All
> I have a linear model with lags for a time series data, ex.
> y=a+b*L1(y)+cX. After the estimation, I want to do a 10 period ahead
> forecast. I tried to add time points in the data set and to use
> predict for this purpose, but it didn't work. Can any one give some
> suggestions? Thanks a lot,
> Bill
> *
> *   For searches and help try:
> *
> *
> *
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index