BookmarkSubscribeRSS Feed
praveen_ratna
Calcite | Level 5

Hi,

I am having the data of 60 months and trying to make it stationary by using ARIMA but i am unable as the data is quite scattered.I have followed the below mentioned process and codes...

 

PROC GPLOT DATA = Praveen.Projection;
PLOT margin*Month;
RUN;

DATA PRAVEEN.PROJECTION;SET PRAVEEN.PROJECTION;DROP DIF12_LOG_MARGIN;RUN;

/* make the data stationary*/

DATA PRAVEEN.PROJECTION; 
SET PRAVEEN.PROJECTION;
LOG_MARGIN = LOG (MARGIN);
SQRT_MARGIN = MARGIN**0.5;
RUN;

/* TO CHECK DATA IS STATIONARY OR NOT BY USING DICKEY FULLER TEST*/

PROC ARIMA DATA = PRAVEEN.PROJECTION;
IDENTIFY VAR = LOG_MARGIN STATIONARITY = (ADF);
RUN:

DATA PRAVEEN.PROJECTION;
SET PRAVEEN.PROJECTION;
DIF_LOG_MARGIN = DIF(LOG_MARGIN);      
RUN;

 

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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
  • 0 replies
  • 530 views
  • 0 likes
  • 1 in conversation