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;

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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