Hello -
Little known feature of ESM - from documentation: " If an ID statement is not specified, the observation number, with respect to the BY group, is used as the time ID.". With other words, this code will work too:
proc esm data=ts.Tax
outfor=ts.outTax outstat=ts.statTax
back=0 lead=5 print=all plot=all;
forecast Million / model=damptrend ;
run;
I took the liberty to change the default model (simple ESM) to a damp trend model, which seems to be more appropriate for your data.
Thanks,
Udo