Structural Vector Autoregression in R

Поділитися
Вставка
  • Опубліковано 21 січ 2025

КОМЕНТАРІ • 53

  • @uignireddngfiurdsgfiurdse
    @uignireddngfiurdsgfiurdse Рік тому

    Thank you, very neat and informative example. Glad to have stumbled upon your video.

  • @karanrai618
    @karanrai618 4 роки тому +4

    Thank You so much for the video on Time Series Analysis. It will be a great if you can make videos on Univariate and Multivariate GARCH.

  • @obiomaasuzu5469
    @obiomaasuzu5469 2 роки тому

    Thank you so much for this excellent explanation and step by step procedure.

  • @mengdantian3240
    @mengdantian3240 3 роки тому +3

    how to impose some sign restriction on Amat or Bmat. I don't think R package currently handle this? do you have any insight on it? thanks

  • @monirahmed05
    @monirahmed05 2 роки тому

    Please explain the process if I impose restrictions on B matrix. I did but there were some error messages.

  • @subhankarsanyal8138
    @subhankarsanyal8138 2 роки тому

    what is the vertical axis of IRF plot? how to interpret?

  • @stanislaswilfried8550
    @stanislaswilfried8550 3 роки тому

    Very interesting and instructive to watch your videos . Thanks 👍

  • @ishjitsingh
    @ishjitsingh 3 роки тому

    How do we have the confidence intervals to double bootstrapping?

  • @celinhernandez4729
    @celinhernandez4729 Рік тому

    Justin, how do impone restrictions in the lags in the VAR model? I am interested in make restrictions about the relations between variables and its lags

  • @pan19682
    @pan19682 Рік тому

    WHAT A NICE AND ILLUSTRATIVE PRESENTATION THANKS MANY

  • @gariaguero2733
    @gariaguero2733 3 роки тому

    What is the name of this package to see the graphics and zoom in on the cuts?

  • @Shauracool123
    @Shauracool123 3 роки тому

    Does VAR Represent reduced form VAR? If not how do we go from this VAR to structural VAR?

  • @haripokhrel2136
    @haripokhrel2136 3 роки тому

    Do you (or community) have any video on ggplot to combine all these irfs in a single page?

  • @gueyenono
    @gueyenono 4 роки тому +2

    Hi Justin, I must say this is a fantastic series of videos on (S)VAR modeling and I would like to thank you for this as it has taught me a lot. My questions are more on the economics side of things:
    1- In your explanation of why inflation has a positive response to a shock in the output gap, you said that this was due to the economy "overheating". You further said that inflation increased as a result of a continuous increase in productivity. Shouldn't be the opposite instead? Productivity is a supply-side variable and we know that an increase in the short-run aggregate supply will lead to a decrease in the price level (hence deflation) ceteris paribus. Is there anything I am missing?
    2- Do you know what the definition of "output gap" is in the dataset? Real GDP minus Potential GDP or the opposite?
    I am well aware that this is not an economics video, but I just wanted some clarifications. Thank you very much.

    • @JustinEloriaga
      @JustinEloriaga  4 роки тому +1

      Hi, thanks for your comment.
      On 1 - Could very well be the case. The emphasis I wanted to make was on the order that I chose but a different line of intuition as you are saying may also be feasible which would take a new ordering. Those assumptions could also be validated should this be tested using a different order in which case you may want to order productivity first.
      On 2 - Real minus Potential.
      Hope this helps. Thanks

    • @gueyenono
      @gueyenono 4 роки тому

      @@JustinEloriaga Thank you for the prompt response.

  • @Pinger1983
    @Pinger1983 Рік тому

    Is there a way to apply this to a panel data frame? Thank you for your videos!

  • @rcarolineyun
    @rcarolineyun 2 роки тому

    What exactly does the A matrix tell us? Why are we looking to fill it?

  • @adriennewelch5891
    @adriennewelch5891 4 роки тому +2

    Hi, thanks for all your amazing lectures. just wondering if you are going to post the related lectures on FAVAR and panel SVAR.

  • @gian-lucaomari5823
    @gian-lucaomari5823 4 роки тому +1

    Thank you so much for this! It was very helpful! Just one short question. The policy rate doesn't look stationary as a downward trend can be seen there. Isnt that a problem for the results of the VAR model?

    • @JustinEloriaga
      @JustinEloriaga  4 роки тому +1

      Thank you for your feedback. Yes, you are correct! A potential consequence (although not all the time) if a non-stationary variable is used is that the IRFs are permanent. In this case, it doesn't happen to be. However, to be on the safe side, you may want to log, difference or get the log difference of any nonstationary variable. I retained it in levels so as to match it with the other variables.

    • @gian-lucaomari5823
      @gian-lucaomari5823 4 роки тому

      ​@@JustinEloriaga Thank you for your fast reply. Okay, I think the intention was also to show the implementation of a SVAR. I just thought that maybe leave certain variables non-stationary (in this case the policy rate) to keep the economic interpretation. Thanks a lot.

    • @JustinEloriaga
      @JustinEloriaga  4 роки тому +1

      @@gian-lucaomari5823 Right! That is another consideration.

    • @gian-lucaomari5823
      @gian-lucaomari5823 4 роки тому +1

      @@JustinEloriaga Hey. Would you mind if I drop you a private message on Twitter or Facebook? I would like to ask you another question. Thank you!

  • @evelynwiegand7894
    @evelynwiegand7894 4 роки тому

    I hope you respond to comments on old videos, I have been following your methods to create an SVAR model for a final data project, but I keep getting the error Error in VAR(y = ysampled, p = 1) : NAs in y. Would you know why this is? I looked through the data by hand and there are no NAs in the sample data.

  • @ijahman9011
    @ijahman9011 3 роки тому

    Hi Justin , thank you so much for this video. I am using the SVAR in my thesis and I have followed through your example keenly with my data. My only challenge is that I cannot estimate the impuse response function in my case. I keep getting this error:
    "Error in VAR(y = ysampled, p = 8, type = "const", exogen = NULL) :
    NAs in y".
    Any form of assistance will be appreciated.
    Counting on your favorable response.
    Best.

    • @Fissqui
      @Fissqui 3 роки тому

      your y variable seems to have NA values in it (lines with no value) which then can't be calculated. You need to get rid of those before

    • @ijahman9011
      @ijahman9011 3 роки тому

      @@Fissqui Thank you.
      I have done that.
      What diagnostic tests do I need to perform?
      Best.

  • @srijaniebanerjee9275
    @srijaniebanerjee9275 2 роки тому

    Hi, Thanks for such a great tutorial. I am getting an error while running the code.
    SVARrtgs SVARrtgs

    • @georgekokhreidze5982
      @georgekokhreidze5982 Рік тому

      Hi, I think the problem is with names of impulse variable. The name of the variable should not include spaces, try to do it with underscores, or put the name together with Uppercase. It should help.

    • @srijaniebanerjee4077
      @srijaniebanerjee4077 Рік тому +1

      @@georgekokhreidze5982 thank you sir. It worked.

  • @aleksejsmamedovs6351
    @aleksejsmamedovs6351 2 роки тому

    Hi, thank you for the video , helped quite a bit ! Im just wondering is it possible to only include the last part of the fanchart ? So its a bit zoomed in

  • @ameliasalsabila6253
    @ameliasalsabila6253 3 роки тому

    Amazing.... I hope you make tutorial Threshold VAR... Thank u so much

  • @isaiahgangadeen3802
    @isaiahgangadeen3802 4 роки тому +3

    Amazing stuff man!!!
    Could you do a video on how to run the Panel SVAR in Rstudio?
    Or is there an email that I can contact you?

  • @RudolfFaininger
    @RudolfFaininger 8 місяців тому

    Nice video, thank you!

  • @ronaldbaronirojasguerrero7831
    @ronaldbaronirojasguerrero7831 3 роки тому

    thanks for explaining the matrix amat

  • @jakobforslin6301
    @jakobforslin6301 4 роки тому

    You are so awesome

  • @tjhnnnmbg
    @tjhnnnmbg 4 роки тому +1

    Thank you Justin. If you can please make some calculations on output gap in R. It is better to make few ways, for example HP filter, Kalman and TFP

  • @heisenbong6691
    @heisenbong6691 3 роки тому

    God bless you

  • @yuhan6277
    @yuhan6277 2 роки тому

    Thank you !

  • @blackangelofthedead
    @blackangelofthedead 3 роки тому

    Nice video, i try to do this on commodities prices, so i had to put my variables in log and the meaning of my graph is shit

  • @lennyb.9616
    @lennyb.9616 3 роки тому

    thank you so much

  • @mattiasrodrigogallegosnovo5070
    @mattiasrodrigogallegosnovo5070 3 роки тому

    Hi, very good content!
    I am trying to model an SVAR of two variables, log of the real price of commodities (I (1)) and mining investment as a percentage of GDP (I (0)), both series are non-cointegrated. My idea is to be able to see the effects of shocks in the price of commodities in mining investment, and for that I would like to be able to differentiate between permanent and transitory shocks to the price of commodities, but I don't know how to do that R.
    Can you help me? Thank you!

  • @glawdismatadi361
    @glawdismatadi361 Рік тому

    wonderfull

  • @GJohnG9
    @GJohnG9 Рік тому

    Top! But, this data is real?
    If, 10 qtr to inflation accommodation is game over for millennials.