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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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