Programming the statistical procedures from SAS

Forecasting/Time series analysis in SAS/STAT

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 12
Accepted Solution

Forecasting/Time series analysis in SAS/STAT

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!


Accepted Solutions
Solution
‎05-08-2018 09:40 PM
Valued Guide
Posts: 593

Re: Forecasting/Time series analysis in SAS/STAT

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


All Replies
Solution
‎05-08-2018 09:40 PM
Valued Guide
Posts: 593

Re: Forecasting/Time series analysis in SAS/STAT

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

Occasional Contributor
Posts: 12

Re: Forecasting/Time series analysis in SAS/STAT

Posted in reply to ChrisBrooks

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

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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