这是VARMAX的一段程序,请问第三行“id date interval = year”如果是股票指数的每日数据,那应该如何写?还有是否要将日期设成变量,或是如何处理?。我的log写“ERROR: Variable DATE not found”。谢谢!
/*--- Vector Autoregressive Model ---*/
proc varmax data = stock1;
id date interval = year;
model y1 y2 / p=1 noint lagmax=3
print=(estimates diagnose);
output out=for lead=5;