SVARpatterns
Moderators: EViews Gareth, EViews Moderator, EViews Esther
SVARpatterns
This thread is about svarpatterns add-in for just-identified SVAR models.
The add-in allows you to impose both short-run and long-run restrictions to obtain non-recursive orthogonalization of the error terms (as opposed to recursive Cholesky decomposition) for impulse response analysis that would make more sense from a macroeconomic/structural point of view. In order to use the add-in, you should first estimate a regular VAR model. After that, you can either supply the name of your model or the covariance matrix. The output will be a factor matrix, which can further be used in generating impulse responses, but NOT in conducting variance decomposition (see the picture below). In short, this add-in aims to extend the current functionality of EViews' Structural VAR estimation toolbox.
The add-in allows you to impose both short-run and long-run restrictions to obtain non-recursive orthogonalization of the error terms (as opposed to recursive Cholesky decomposition) for impulse response analysis that would make more sense from a macroeconomic/structural point of view. In order to use the add-in, you should first estimate a regular VAR model. After that, you can either supply the name of your model or the covariance matrix. The output will be a factor matrix, which can further be used in generating impulse responses, but NOT in conducting variance decomposition (see the picture below). In short, this add-in aims to extend the current functionality of EViews' Structural VAR estimation toolbox.
Last edited by trubador on Sun Aug 16, 2015 6:15 am, edited 2 times in total.
Re: SVARpatterns
Hi
Can this add-in be called inside a programme? I've searched the forum and googled in vain to find an answer to the more general question of whether add-ins can be called inside programmes rather like sub-routines.
Can this add-in be called inside a programme? I've searched the forum and googled in vain to find an answer to the more general question of whether add-ins can be called inside programmes rather like sub-routines.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: SVARpatterns
Of course they can. Just use whatever command the add-in has assigned to it.
Follow us on Twitter @IHSEViews
Re: SVARpatterns
Thanks. I suppose I just missed this point somehow.
Re: SVARpatterns
Does anyone know how to do variance decomposition after using SVARpatterns?
EViews only allow variance decomposition via Cholesky or structural decomposition (short OR long-run), but not when SVARpatterns is used.
EViews only allow variance decomposition via Cholesky or structural decomposition (short OR long-run), but not when SVARpatterns is used.
Re: SVARpatterns
How do i specify the long run and short run matices in the svarpatterns? e.g var1.svarpatterns(options).
Also, how do I do the impulse response functions after this?
Also, how do I do the impulse response functions after this?
Re: SVARpatterns
The options are clearly shown in the documentation. What is lacking now is how to do impulse response functions and variance decomposition after the svarpatterns. Any one has ideas?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
-
- Posts: 1
- Joined: Wed Jan 14, 2015 8:41 pm
variance decomposition in SVARpatterns
Hello
Is it possible to have the variance decomposition with the user specified factor matrix (the one obtained from LR and SR restrictions)??
Is it possible to have the variance decomposition with the user specified factor matrix (the one obtained from LR and SR restrictions)??
Re: SVARpatterns
Hello,
The SVAR add-in that help to estimate both short and long run restrictions, is it possible to have the variance decomposition?
And the output graphs, the dashed lines indicate a 95% confidence interval, or the one standard error bounds?
The SVAR add-in that help to estimate both short and long run restrictions, is it possible to have the variance decomposition?
And the output graphs, the dashed lines indicate a 95% confidence interval, or the one standard error bounds?
Re: SVARpatterns
Hi all,
When I use a matrix object (a variance-covariance matrix) to call the SVARpattersn addin, I got the following error message:
"Please supply the matrix for VAR coefficents."
Do you know how to fix it?
Thanks
Wilshire
When I use a matrix object (a variance-covariance matrix) to call the SVARpattersn addin, I got the following error message:
"Please supply the matrix for VAR coefficents."
Do you know how to fix it?
Thanks
Wilshire
Re: SVARpatterns
wilshire wrote:Hi all,When I use a matrix object (a variance-covariance matrix) to call the SVARpattersn addin, I got the following error message:"Please supply the matrix for VAR coefficents."Do you know how to fix it?ThanksWilshire
Please do not post the same question twice.
You need to explicitly provide the estimated VAR coefficients as a matrix as well.
Re: SVARpatterns
Thanks Trubador.
I have another question: Almost every time when I run the addin, I got the error "Estimation not converge". But when I supplied a starting values matrix, I got another error which say "THETAVEC is not defined."
Can you please help?
I have another question: Almost every time when I run the addin, I got the error "Estimation not converge". But when I supplied a starting values matrix, I got another error which say "THETAVEC is not defined."
Can you please help?
Re: SVARpatterns
Estimation from covariance matrix is a little bit complicated. I cannot locate the source of the problem without seeing the actual workfile. In the meantime, you can use the add-in through the VAR object, if possible.
Re: SVARpatterns
Trubador,
Actually I used the VAR object to perform SVARPatterns. Please see attached the workfile. The VAR object is VAR_COMM, and pattern matrices are pattern_sr for short-run, and pattern_lr for long-run restriction. I have tried many ways to use the SVARPetterns but each time gives the error message "estimation not converges". I donot know why.
Wilshire
Actually I used the VAR object to perform SVARPatterns. Please see attached the workfile. The VAR object is VAR_COMM, and pattern matrices are pattern_sr for short-run, and pattern_lr for long-run restriction. I have tried many ways to use the SVARPetterns but each time gives the error message "estimation not converges". I donot know why.
Wilshire
- Attachments
-
- tradable.wf1
- The workfile
- (57.6 KiB) Downloaded 868 times
Who is online
Users browsing this forum: No registered users and 37 guests