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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 2118 views
  • 1 like
  • 2 in conversation