Hello -
Your data is on daily frequency, but you are asking PROC FORECAST to generate a forecast on yearly frequency. This is why the procedure is complaining.
To address the situation you will need to accumulate your data first.
Alternatively you may want to consider PROC ESM, which allows you to deal with this challenge in one step.
Example (going from monthly to yearly by adding up values - syntax for going from daily to yearly does not change):
proc esm data=sashelp.air out=_null_ outfor=outfor plot=forecasts lead=3;
id date interval=year accumulate=total;
forecast air /method=linear;
run;
Note that you will need to decide which ESM technique to use - in the example above method=linear seems to make sense.
Thanks,
Udo