Hi, I'm new to this program. try to use proc esm but got this error. it's work fine with other data so I don't know why. data TS.Tax;
input Year Million;
datalines;
2005 6955.97
2006 7208.05
2007 7316.21
2008 7651.33
2009 7746.77
2010 8980.54
2011 10249.16
2012 11944.38
2013 12603.92
2014 12436.56
2015 13962.79
;
proc esm data=TS.Tax
outfor=TS.outTax outstat=TS.statTax
back=0 lead=5 print=all plot=all;
id year interval=year;
forecast Million;
run; ERROR: Duplicate time interval found at observation number 2 in the data set TS.TAX, according to the INTERVAL=YEAR option and the ID variable values. The current ID is Year=2006 and the previous is Year=2005, which are within the same YEAR interval. Check that INTERVAL=YEAR is correct for this data set, and that the ID variable Year contains SAS date or datetime values that correctly identify the observations. I would appreciate your help. Thank you
... View more