Per the SAS Demo the structure of the proc timeseries is (using SAS Studio):
proc timeseries data={SAS dataset} plots=(series) out={output dataset};
id date interval=month accumulate=sum;
var visits;
run;
* above execution causes error in log.
When written as below it works:
proc timeseries data={SAS dataset} plots=(series) out={output dataset};
id date interval=month;
var visits / accumulate=total;
run;
Is the course syntax incorrect , I am assuming so?
Hi eddieray01,
The ACCUMULATE= option can go on the ID or VAR statement. The value should be TOTAL not sum.
Thank you for bring this to our attention. We have forwarded to the appropriate party to correct this error in the solution.
-theresa
This is a knowledge-sharing community for learners in the Academy. Find answers to your questions or post here for a reply.
To ensure your success, use these getting-started resources:
Estimating Your Study Time
Reserving Software Lab Time
Most Commonly Asked Questions
Troubleshooting Your SAS-Hadoop Training Environment