SVAR(x, Amat = NULL, Bmat = NULL, start = NULL, ...)
varest
svarest
hessian = TRUE
A
hessian = TRUE
B
LRIM
is the estimated
long-run impact matrix; for all other SVAR models LRIM
is
NULL
.varest
x
call
to ?VAR
). One can now
impose restrictions on A
B
Amat
Bmat
NULL
Amat
NA
NA
Amat
NULL
Amat
Bmat
NA
start
0.1
is used as
starting values for the unknown coefficients. If the function is
called with hessian = TRUE
Ase
Bse
VAR
, SVAR2
, SVEC
,
logLik
, irf
, fevd
data(Canada)
var.2c <- VAR(Canada, p = 2, type = "const")
amat <- diag(4)
diag(amat) <- NA
amat[2, 1] <- NA
amat[4, 1] <- NA
SVAR(var.2c, Amat = amat, Bmat = NULL, hessian = TRUE, method="BFGS")
Run the code above in your browser using DataLab