BookmarkSubscribeRSS Feed
mmansaray
Calcite | Level 5

Hi, I am trying to generate a generalized impulse response functions for some macroeconomics data. I would like to assess the response of y as a result of x caused by some exogenous features. I was wondering if the program below appears correct. Thas was taken from SAS examples:

proc varmax data=grunfeld plot=impulse;
   model y1-y3 = x1 x2 / p=1 lagmax=5
                         printform=univariate
                         print=(impulsx=(all) estimates);
run; 

 

3 REPLIES 3
dw_sas
SAS Employee

Hello,

 

The PRINT=(IMPULSX=(ALL)) option in PROC VARMAX produces the simple and accumulated impulse response function of the transfer function as described in Chapter 10 of Lutkepohl(2006).  This is different than the generalized IRFs as described in Pesaran and Shin (1998), however, the IMPULSX= option does allow you to assess the long-run responses of Y to an impulse in X.  Please see the documentation link below for more details and an example:

 

http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/etsug_varmax_details05.htm#etsu... 

 

Hope this helps!

DW

mmansaray
Calcite | Level 5

ndeed, I was referring to the methodology proposed by Pesaran and Shin (1998). Well in the absence of this methodology, which you rightly explained, do you think this alternative would work?

 

 

proc varmax data=grunfeld plot=impulse;
   model y1-y3 = x1 x2 / p=1 lagmax=5
                         printform=univariate
                         print=(impulsx=(all) estimates);

mmansaray
Calcite | Level 5

Thank you. That would help.

 

Mahmud

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1059 views
  • 0 likes
  • 2 in conversation