BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
lauramb
Fluorite | Level 6

Hello everyone,

I'm using SAS/STAT 14.3 and I was requested to do some basic (moving average) forecasting with time series data.

I know it would be super easy if I had SAS/ETS, but unfortunately I'm a stat person.

I was wondering if I could adapt some of the stat proc to do moving average. Or someone had a nice macro I could borrow.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisBrooks
Ammonite | Level 13

There's some code at this link showing how to do a moving average in data step http://support.sas.com/kb/25/027.html

View solution in original post

2 REPLIES 2
ChrisBrooks
Ammonite | Level 13

There's some code at this link showing how to do a moving average in data step http://support.sas.com/kb/25/027.html

lauramb
Fluorite | Level 6

Thanks, I'll look into adapting it for a 12 months time series analysis. Thanks!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1999 views
  • 1 like
  • 2 in conversation