Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
Khurram
Calcite | Level 5

I have time series data and it has following Autocorrelation plot for each lag , x is lag number and y is correlation

 

Screen Shot 2022-08-09 at 3.20.29 pm.png

 

I read https://support.minitab.com/en-us/minitab/18/help-and-how-to/modeling-statistics/time-series/how-to/... 

at bottom of this link

 

"A stationary time series has a mean, variance, and autocorrelation function that are essentially constant through time. The data is non-stationary when there is a large spike at lag 1 that slowly decreases over several lags. If you see this pattern, you should difference the data before you attempt to identify a model. To difference the data, use differences. Once you difference the data, obtain another autocorrelation plot."

 

do we really need to have constant autocorrelation for each lag for data to be stationary?

 

Thanks

2 REPLIES 2
HarrySnart
SAS Employee

Stationarity in a time series effectively means the series fluctuates around a given mean for the series, this is a useful property for creating a reliable forecast because you are modelling the fluctuation of the series around the mean, not the series trend. When you have non-stationarity such as an upward trend in a stock price, for example, typically you difference it to make the series stationary. This is where models such as ARIMA are useful as they encapsulate three important aspects of time series forecasting:

Autocorrelation (AR): how does x(t) depend on x(t-1), x(t-2), x(t-n)...

Integration (I): how does the series need to be differenced to make it stationary

Moving Average (MA): for how long do exogenous shocks impact the model not captured in the series autocorrelation

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 1180 views
  • 2 likes
  • 3 in conversation