BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
gwcanalytics
Calcite | Level 5

What have you found to be the best way to determine seasonal patterns in data?

1 ACCEPTED SOLUTION

Accepted Solutions
user24feb
Barite | Level 11

I think one statistally right way would be a seasonal Unit-Root-Test:

Proc Arima Data=<Data_Set>;

  Identify Var=<Variable> Stationarity=(ADF=(1) DLag=12); /* Augmented Dickey-Fuller-Test with 1 autoregressive term; monthly data */

  Identify Var=<Variable> (1) Stationarity=(ADF=(1) DLag=12); /* -"- in 1st differences */

Run;

There are other tests as well (and simpler methods). For example if you have quaterly data and carry out a trend regression you might check the dummy-coefficients for statistical significance.

View solution in original post

3 REPLIES 3
stat_sas
Ammonite | Level 13

I think we can't generalize which is the best way but as an initial point, data on a graph can give information about seasonal/cyclic patterns.

user24feb
Barite | Level 11

I think one statistally right way would be a seasonal Unit-Root-Test:

Proc Arima Data=<Data_Set>;

  Identify Var=<Variable> Stationarity=(ADF=(1) DLag=12); /* Augmented Dickey-Fuller-Test with 1 autoregressive term; monthly data */

  Identify Var=<Variable> (1) Stationarity=(ADF=(1) DLag=12); /* -"- in 1st differences */

Run;

There are other tests as well (and simpler methods). For example if you have quaterly data and carry out a trend regression you might check the dummy-coefficients for statistical significance.

user24feb
Barite | Level 11

P.S.: I guess you are aware that your question is a tricky one. If you ask your question this way, it is almost certain that the respondent puts his/her statistical reputation on the line. 🙂

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Discussion stats
  • 3 replies
  • 1797 views
  • 0 likes
  • 3 in conversation