BookmarkSubscribeRSS Feed
KHayes
Calcite | Level 5

Hi, I'm trying cross-correlate 2 time series variables to estimate their correlations and determine the time lag between the variables. Both variables are adjusted using ARIMA models MA(1,1) and ARIMA (1,1,1).

 

When I run the code below, I don't get any errors in my log but the table produced in the results tab has WARNING in the STATUS column or sometimes is has 0 Converged in the STATUS column.  

 

I've read about using OUTCORR and OUTEST but I'm not sure what the difference is between the two or where to place in the ESTIMATE line. Or maybe the problem comes in when I enter the ARIMA models in the code...??? 

 

Any help is much appreciated. Great if you can share an example code! 

 

My code is :

 

proc arima data = dataset1.pceaus;
identify var = dpcecap;
estimate q=1 p=1 outcorr outest=dataset1.pceaus5;
identify var=dhale q=1 crosscorr= dpcecap;
run;
proc print data=dataset1.pceaus5;

run;

5 REPLIES 5
JOL
SAS Employee JOL
SAS Employee
Try reposting under menu: Analytics - Statistical Procedures
KHayes
Calcite | Level 5

Hi, I'm trying cross-correlate 2 time series variables to estimate their correlations and determine the time lag between the variables. Both variables are adjusted using ARIMA models MA(1,1) and ARIMA (1,1,1).

 

When I run the code below, I don't get any errors in my log but the table produced in the results tab has WARNING in the STATUS column or sometimes is has 0 Converged in the STATUS column.  

 

I've read about using OUTCORR and OUTEST but I'm not sure what the difference is between the two or where to place in the ESTIMATE line. Or maybe the problem comes in when I enter the ARIMA models in the code...??? 

 

Any help is much appreciated. Great if you can share an example code! 

 

My code is :

 

proc arima data = dataset1.pceaus;
identify var = dpcecap;
estimate q=1 p=1 outcorr outest=dataset1.pceaus5;
identify var=dhale q=1 crosscorr= dpcecap;
run;
proc print data=dataset1.pceaus5;

run;

KHayes
Calcite | Level 5

@Kurt_Bremser thanks so much for your response. Could you expand on what you mean by merging and moving everything? I'm a novice to SAS and appreciate your help!

 

Thanks!

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 5 replies
  • 1016 views
  • 1 like
  • 3 in conversation