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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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