BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Golf
Pyrite | Level 9

Hello,

I have 3 variables :  LM1, LIP, TB3 and found that they are I(1) with nocointegrating vector.  

Hence I plan to use  the first difference of these variables : dLM1 dLIP dTB3 in VAR with optimal lag of 3.

   I use proc VARMAX for dLM1 dLIP dTB3 with  p = 3.  

 

Capture.PNG

     How can I forecast the original variables: LM1  LIP  TB3 (not in first difference) based on the results the above procedure?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Golf
Pyrite | Level 9
I just got a solution.
proc varmax data=Example_var plots= forecasts ;
model LM1 LIP TB3/ p=3 dif(LM1(1) LIP(1) TB3(1));
output Back=0 Lead=12 out = Example_var_Forecast2;
run;

View solution in original post

1 REPLY 1
Golf
Pyrite | Level 9
I just got a solution.
proc varmax data=Example_var plots= forecasts ;
model LM1 LIP TB3/ p=3 dif(LM1(1) LIP(1) TB3(1));
output Back=0 Lead=12 out = Example_var_Forecast2;
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

Discussion stats
  • 1 reply
  • 759 views
  • 0 likes
  • 1 in conversation