SVAR restrictions

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

nicote
Posts: 4
Joined: Tue May 12, 2015 11:40 pm

SVAR restrictions

Postby nicote » Tue May 12, 2015 11:52 pm

Hi,

I am writing my thesis and I am experiencing little trouble with the SVAR model and cannot find out how and where to impose restriction in my model in EVIEWS.

Basically, I have done the VAR with two lags and I only need to add restrictions for doing the structural VAR that I am looking for. The original SVAR was done in this paper : http://www.sciencedirect.com/science/ar ... 8910000197.

I feel like I am only missing a simple step. Attached are some screenshots of EVIEWS concerning my problem.

If anyone could help, I would be very very very thankful !!

Thank you for your consideration.

Best regards,

Nicolas.

( PS: Working on EVIEWS version 7 )
Attachments
question.docx
(124.46 KiB) Downloaded 768 times

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: SVAR restrictions

Postby trubador » Wed May 13, 2015 6:15 am

That would be the A matrix (mata) with an identity B matrix. However, since the S matrix is underidentified they further impose two long run restrictions. In that case, you'll need the svarpatterns add-in as EViews does not allow for both short and long run restrictions.

nicote
Posts: 4
Joined: Tue May 12, 2015 11:40 pm

Re: SVAR restrictions

Postby nicote » Wed May 13, 2015 7:35 am

Thank you very much for your reply trubador. I really appreciate.

I have included the add-in after running my VAR and tried many combination but without success.
There is something that I do not get. Might be the steps

-How could I get the S matrix?

With the add-in I can only add one pattern matrix for short-run and one for the long-run. Maybe I do something wrong when adding the two pattern matrix. Could you explicite which matrix I should use for what ?

Again, thank you !

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: SVAR restrictions

Postby trubador » Thu May 14, 2015 12:10 am

Short run matrix is the S matrix. However, since it is underidentified they impose two additional restrictions to control the long run impact of monetary policy shock on real exchange rate and real output rate. This is done by creating another 6x6 matrix (say longmat) with (2,6) and (5,6) elements are zero and the rest are filled with NAs.

nicote
Posts: 4
Joined: Tue May 12, 2015 11:40 pm

Re: SVAR restrictions

Postby nicote » Thu May 14, 2015 1:42 am

Alright.

It is working as far as I know (the add-in does not give any confirmation but I had no warning message this time so I guess it is fine).

However, it provides any significant change neither in the results nor in the impulse response functions.

I thank you again very much trubador for your precious help!!!

Best regards.

Nicolas

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: SVAR restrictions

Postby trubador » Thu May 14, 2015 1:49 am

SVAR is actually a different (more general) factorization method of the residuals than a simple cholesky. So it does not (and should not) change the original estimation. You can generate impulse responses, as I already mentioned here: svarpatterns
trubador wrote: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 (i.e. as a user-specified impulse definition). In short, this add-in aims to extend the current functionality of EViews' Structural VAR estimation toolbox.

terrya
Posts: 107
Joined: Wed Aug 26, 2009 2:37 pm

Re: SVAR restrictions

Postby terrya » Thu May 14, 2015 2:05 am

If I can horn in here, is there any way we can get the residuals from the estimation using SVARPatterns? I can't see anything that allows this.

Also, I think that Bjornland probably used RATS for this work.

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: SVAR restrictions

Postby trubador » Thu May 14, 2015 4:09 am

terrya wrote:If I can horn in here, is there any way we can get the residuals from the estimation using SVARPatterns?

I think you are referring to structural residuals. svarpatterns add-in will produce a factor matrix, which can be used as an input to hdecomp add-in to generate the structural residuals.

terrya
Posts: 107
Joined: Wed Aug 26, 2009 2:37 pm

Re: SVAR restrictions

Postby terrya » Thu May 14, 2015 2:13 pm

Thanks.

Helia
Posts: 6
Joined: Sun Aug 09, 2015 2:26 pm

Re: SVAR restrictions

Postby Helia » Thu Aug 13, 2015 6:49 am

Hi,
Thanks for the add-in. It is very helpful.
However, how can i get the impulse response funtions graphs? It would be just perfect if i can have them

tiffkatie
Posts: 2
Joined: Sat Aug 20, 2016 5:46 am

Re: SVAR restrictions

Postby tiffkatie » Sun Sep 04, 2016 5:33 pm

Thanks for your guidelines on using both short and long run restrictions on Svar. I have a question related to the sign of the shock.
Suppose I have a SVAR matrix (5,5) and the factormat matrix (5,5) after using the add-in. Looking at the elements of factormat matrix, suppose factormat(4,5)=-0.15, factormat(5,5)=0.27. Am I correct if interpret that the shock of 0.27 on the 5th element have an impact of -0.15 on the the 4th variables?

if the SVar is not symmetric and I need to measure the impact of a negative shock of 5th variable on the 4th variables, how could I do in Eviews.

Thanks

dakila
Posts: 420
Joined: Tue Nov 24, 2015 4:57 pm

Re: SVAR restrictions

Postby dakila » Tue Sep 06, 2016 3:10 pm

Yes, your interpretation is correct.
You can multiply factormat by -1. However the result will not change since svar is symmetric.

tiffkatie
Posts: 2
Joined: Sat Aug 20, 2016 5:46 am

Re: SVAR restrictions

Postby tiffkatie » Sun Sep 11, 2016 8:03 am

Thanks Dakila.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 23 guests