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. 🙂

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!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

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