Hi,
I am trying to program a regression model which includes multiple independent variables and a lagged dependent variable. It can be written as
Yt=a0 + a1*X1+a2*X2+a3*X3+a4*Yt-1
where Yt is predicted value at time t, X1-X4 are independent varibales, Yt-1 is the predicted value at time t-1, and a0-a4 are parameters.
My questions is which proc statement I should use.
Thanks,
Sherri
If I was right, PROC ARIMA could do it .
.. or proc autoreg (use nlag for yt-1) or even proc reg (if you use lag function on y).
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →