BookmarkSubscribeRSS Feed
🔒 This topic is locked. We are no longer accepting replies to this topic. Need further help? Please sign in and ask a new question.
eddieray01
Fluorite | Level 6

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?

5 REPLIES 5
Cynthia_sas
SAS Super FREQ
Hi:
Thanks for the feedback. Can you clarify where in the class the demo occurs (Lesson, Demo topic)? That will be helpful for asking the instructors to investigate.
Thanks,
Cynthia
eddieray01
Fluorite | Level 6
Chapter 1 Introduction to Time Series
Exercise and Solution 1-28b.
TheresaStemler
SAS Moderator

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

eddieray01
Fluorite | Level 6
okay thanks.  So for testing the exam would reflect proper syntax vs. what is in exercises. 
Cynthia_sas
SAS Super FREQ
Yes. And the e-learning developers are correcting the material in the class. That was a typo in the class.
Cynthia

 

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

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 903 views
  • 3 likes
  • 3 in conversation