Statistical Procedures

Programming the statistical procedures from SAS
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-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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