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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1117 views
  • 0 likes
  • 3 in conversation