Hi, I am trying to estimate a sacrifice ratio like in Cechetti and Rich (2001): Structural Estimates of the US Sacrifice Ratio. I'am using a SVAR with two variables, inflation and output (both in first differences). The VAR is estimated using the SYSTEM instruction and the errors are decomposed in the Blanchard-Quah fashion. I'am interested in analysing the effect of a negative unit shock on inflation (interpreted as a demand shock) on output so I would appreciate if someone can tell me how to program this on RATS. Below you will find the program I'am using. The montevar.src has been modified to use the "g" matrix computed earlier and to print the confidence intervals and the responses as well. I suppose this program will have to be modified also if I want to get the confidence intervals for the one unit negative shock on inflation. Thanks in advance.
cal 1991 01 04
all 0 2010:04
open data Y_INF.XLS
data(for=xls,org=obs) / DINF DY
TABLE
*****************FORMULACION DEL VAR******************
SYSTEM(MODEL= RS)
VARIABLES DY DINF
det constant
LAGS 1 TO 6
END(SYSTEM)
ESTIMATE(OUTSIGMA=V, RESIDUALS = RESIDS_RS, SIGMA,noprint)
***********Obtencion de las FIR usando la descomposicion de Blanchard-Quah (1989)****************
COM C = %VARLAGSUMS
COM S1=%MQFORM(%SIGMA,TR(INV(C)))
COM S2=%DECOMP(S1)
DIS S2
COM G= C*S2 ; DIS G
DECLARE RECTANGULAR[series] IMPULSES(2,2)
impulse(MODEL=RS,RESULTS= IMPULSES,DECOMP=G) * 20 * v
**************************Calculo de los intervalos de confianza********************************
@MonteVar(model=rs, step=20, draws=10000, header= 'Funciones de impulso respuesta',shocklabels=shocks,varlabels=variables)
