SVAR long run restrictions code error
Posted: Wed Dec 06, 2017 5:46 am
Hello,
I've been trying to impose long run restrictions on a VAR. I want to impose a diagonal F matrix by running the following codes
var varname.ls 1 12 lgdp inflation int_rate
varname.append(svar) @diag(f)
varname.svar
or
var varname.ls 1 12 lgdp inflation int_rate
varname.append(svar) @f=matrixf ' (having already created matrixf with NAs in the main diagonal)
varname.svar
I get the following error "Illegal specification . Restriction type for SVAR not specified in "DO_ VARNAME.SVAR".
using the code
var varname.ls 1 12 lgdp inflation int_rate
varname.svar(f=matrixf)
I get the message "Illegal specification . Restriction type for SVAR not specified in "DO_ VARNAME.SVAR(F=MATRIXF)".
Where am I going wrong?
Thanks in advance
I've been trying to impose long run restrictions on a VAR. I want to impose a diagonal F matrix by running the following codes
var varname.ls 1 12 lgdp inflation int_rate
varname.append(svar) @diag(f)
varname.svar
or
var varname.ls 1 12 lgdp inflation int_rate
varname.append(svar) @f=matrixf ' (having already created matrixf with NAs in the main diagonal)
varname.svar
I get the following error "Illegal specification . Restriction type for SVAR not specified in "DO_ VARNAME.SVAR".
using the code
var varname.ls 1 12 lgdp inflation int_rate
varname.svar(f=matrixf)
I get the message "Illegal specification . Restriction type for SVAR not specified in "DO_ VARNAME.SVAR(F=MATRIXF)".
Where am I going wrong?
Thanks in advance