RBC Baseline Model Equations and Introduction to preprocessing with Dynare

Sdílet
Vložit
  • čas přidán 5. 09. 2024

Komentáře • 70

  • @anshulkumar5091
    @anshulkumar5091 Před 2 lety +2

    Thank you for your efforts!! Your videos are abundantly helpful for beginners and so are your slides and notes available on your website. I am losing my fear of Dynare and Matlab coding and gaining some confidence, thanks to your videos. I highly appreciate your work, sir!!

  • @user-tx6lv9tf4m
    @user-tx6lv9tf4m Před 2 lety

    thank you so much for your video!we don’t have DSGE class in our school, I learn a lot from your video!thanks from China❤️

  • @jromerch
    @jromerch Před rokem

    Great material! Thank you professor Mutschler!

  • @ukuk9162
    @ukuk9162 Před 3 lety

    Many thanks i'm looking for this for a long time ,there no one provide and did a same job,keep it on.

  • @almontheralmonther9712

    We highly appreciate your efforts

  • @sauravaryal193
    @sauravaryal193 Před rokem

    Thank you, professor, for the tutorial.

  • @lazymind1990
    @lazymind1990 Před rokem

    Dear Prof. Mutschler, I really appreciate your in depth videos and lectures. Here you mention future videos on linearization by hand and if you should do it. Is the video concerning this topic already available ? If not, notes or a future video would be appreciated. - Thomas

    • @wmutschl
      @wmutschl  Před rokem

      I have touched on this in my lecture series github.com/wmutschl/Computational-Macroeconomics

  • @mathewkoshy1464
    @mathewkoshy1464 Před 2 lety

    amazing presentation. really useful

  • @alvarocastilloaguilera4937

    Very clear and useful video. Thanks

  • @almontheralmonther9712
    @almontheralmonther9712 Před 2 lety +1

    I just want to let you know that we love you so much

  • @douglask2203
    @douglask2203 Před 2 lety

    Excellent video, thanks!

  • @lawrenceguo5982
    @lawrenceguo5982 Před rokem

    This is really helpful !!!! Life saver for my macro Theory!!! I am wondering which playlist in your channel would be considered Advanced Macroeconomics II (Part I)

  • @cihangwang8044
    @cihangwang8044 Před 2 lety

    Thank you for this video!! It’s great!

  • @apica1234
    @apica1234 Před 3 lety

    I was waiting for this ❤️. Thank you.

  • @takeshi2465
    @takeshi2465 Před 2 lety +2

    Unrelated but how did you came up with the values of the parameters at around the 36 min. mark?

    • @wmutschl
      @wmutschl  Před 2 lety

      Have a look here: mutschler.eu/dynare/intro-dsge-dynare/rbc_video_calibration/

  • @davidscholz8909
    @davidscholz8909 Před 3 měsíci +1

    Hello, thank you for the tutorial. Sadlly after installing (basic-)TEX my latex files aren't compiled immediately. Is there any guide or reference for setting up pdflatex for this application? thank you !

  • @shepherdnyamhuno7653
    @shepherdnyamhuno7653 Před rokem

    Excellent videos

  • @swkratislit911
    @swkratislit911 Před 3 měsíci

    Great video! While profits are described in the HH's budget constraint, they are omitted in the Lagrangian. Is there any reason for that? If profits were included, would it make any difference?

  • @andreluizmtg
    @andreluizmtg Před rokem

    A great job! Thank you! One doubt at 13min: 0

  • @forughghadamyari8281
    @forughghadamyari8281 Před 8 měsíci +1

    Hi... I really appreciate your great job. I have installed Latex and when I run your codes(from the description), it gives me " 'pdflatex' is not recognized as an internal or external command operable program or batch file." error. please guide me how can I fix it.
    please introduce a resources to study more about macroeconomics that you are presenting about. thanx in advance

  • @swkratislit911
    @swkratislit911 Před 2 lety

    Nice video!

  • @elshan_yusibov
    @elshan_yusibov Před rokem

    Thanks for all your efforts.
    Could you please quickly mention how you initially get the pdf file at the last quarter of the video?

    • @wmutschl
      @wmutschl  Před rokem

      The tex files are created by using the dynare commands. You can then simply open them with your favorite Latex editor and compile them. Alternatively, if pdflatex is in your PATH, then the system command can be used. Note that this depends which operating system you are working on: git.dynare.org/Dynare/dynare#optional-pass-the-full-path-to-matlab-to-run-system-commands

  • @joseluismolina4187
    @joseluismolina4187 Před 3 lety +1

    Hi!!! i have a problem with the last part of the code...:
    if system ([`/Library/TeX/texbin/pdflatex -halt-on-error -interaction=batchmode` M_.fname`TeX_binder.tex`])
    `Text-File did not compile; you need to compile it manually `)
    end
    A am a macOS user. the error is:
    Error using RBC_nonlinear.driver
    Error: File: driver.m Line: 228 Column: 90
    Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other
    syntax error. To construct matrices, use brackets instead of parentheses.
    Error in dynare (line 293)
    evalin('base',[fname '.driver']) ;

    • @wmutschl
      @wmutschl  Před 3 lety +1

      I uploaded the description of the video where you can find the mod file. Try to run this and check whether you run into issues with that.

    • @joseluismolina4187
      @joseluismolina4187 Před 3 lety

      @@wmutschl thx so much!!! is woking perfect right now!!!!!

  • @xixi1770
    @xixi1770 Před rokem

    Thanks a lot. Really like your illustration! May I ask you one question:
    At 14:20-15:35, you say transversality conditions is a boundary condition, which can make us focus on first-order conditions without the need to look at second-order derivatives., may I know what first-order conditions you refer to,
    is it the model equations we get from the model maximization problem? E.g. Euler equation comes from the FOC of household utility. So, does it mean the transversality condition makes the Euler equation meaningful?
    I am also a little confused about what boundary is it, for which variable and how the transversality condition can make us only need to focus on FOC, may I have some intuition behind this conclusion.
    I am thinking FOC equals zero is enough for any concave function to be the maximum.

    • @wmutschl
      @wmutschl  Před rokem

      Yes for concave functions and bounded sets on which you are optimizing on. However, we have an infinite planning horizon and for this we need the transversality conditions, because otherwise we could end up in situations where debt is never repaid etc.

  • @user-xh8gb7ch1i
    @user-xh8gb7ch1i Před rokem

    Thank you so much, this video is really good it has helped me alot. Can you please help me on exogenous variables am finding errors. How do u put them in the model when u already have values for them

  • @atishkumar2192
    @atishkumar2192 Před rokem

    thanks, Professor for the tutorial. why do we approximate the first-order conditions around the steady state?

    • @wmutschl
      @wmutschl  Před rokem

      Do you mean, when we do perturbation 1st order? The reason there is that we use the implicit function theorem and the steady-state is a natural choice because we know how to compute it and we know that it is also a function of the true but unknown policy function. But conceptionally, you can do Taylor approximation at any point. Sometimes people use a concept called the stochastic steady-state to approximate around. But that is rather advanced.

  • @jorgebenjamimlhaminemouco6991

    Thanks for this tutorial, it was not clear why to differentiate part of the second equation in the minute 20:09-22:00. Throughout the presentation you were considering equation 1, when j=0, that is for C, I, L. But for K you used J=1, is there a specific reason?

    • @wmutschl
      @wmutschl  Před rokem

      Because K_t appears not only for j=0, but also for j=1.

  • @ukuk9162
    @ukuk9162 Před 2 lety

    Thank you for the great job, At 4:45 please can you explain me how derive the functional forms of CES utility. is there the unique form??

    • @wmutschl
      @wmutschl  Před 2 lety

      Have a look at mutschler.eu/dynare/best-practices/steadystate/

  • @user-bi3jy8yd6b
    @user-bi3jy8yd6b Před rokem

    Thanks for your tutorial. I'm working on Open DSGE modelling. I have been viewing your videos many many times. Confused with firm maximisation of expected profits is normal discount factor x stochastic discount factor x profits of representative firm (in real terms). Can you explain the rational behind?

    • @wmutschl
      @wmutschl  Před rokem +1

      Firms want to maximize lifetime profits, because typically they assume that they will "produce forever" (or don't have a rationale to go bankrupt). So the planning horizon is infinite. To compare the VALUE of profits in some future period with the VALUE of today's profits one has to discount the future profits with a discount factor. As firms are assumed to be owned by households, we make use of the Euler-Equation of savings for the households to measure the VALUE of profits, and we call this the stochastic discount factor.

  • @cm_penna
    @cm_penna Před 3 lety

    Perfect

  • @karthiknarayan1888
    @karthiknarayan1888 Před 2 lety

    Is it possible to use SMM to match moments without specifying a data-file? For example, if I want to match the variance of consumption, is it possible to match it by specifying it directly or does it have to be computed from a data file?

    • @wmutschl
      @wmutschl  Před 2 lety +1

      It has to be computed for a datafile. What you have in mind is called calibration. Have a loot at my advanced calibration video where you flip variables and parameters. Create a new variable which is the square of consumption and then find the parameter(s) most relevant to target a specific value of that.

  • @shubhammonga3762
    @shubhammonga3762 Před 3 lety

    Could you explain how you decided that present decisions of firms j=0 don't impact decisions of j=1?

    • @wmutschl
      @wmutschl  Před 3 lety +1

      In general j=0 could have an impact on future profits, but in the RBC model this is not the case, it is just a static optimization problem. Each period the firm decides on labor and capital used and this decision has no impact on future periods. In the New-Keynesian model with say Calvo price rigidities this is different as there is a probability that firms are stuck with their price for a certain amount of time.

  • @svitvalencic2507
    @svitvalencic2507 Před rokem

    Hello, can someone help me at designating the steady-state variables in Dynare? In my non-linear system, I have variables in various periods (e.g. k and k(+1)), as well as variables that aren’t set in any specific time period.

    • @wmutschl
      @wmutschl  Před rokem

      I think you have something fundamentally wrong. Please watch my video on steady-state computations and have a look at the Dynare forum.

  • @apica1234
    @apica1234 Před 3 lety

    one very basic question. How do i install the database from excel to dynare. ??

    • @wmutschl
      @wmutschl  Před 3 lety

      Have a look in the manual, it depends on the command you run, but you can import data from excel with Dynare.

  • @i_love_economics
    @i_love_economics Před 9 měsíci

    My mod file doesn’t show any colour… what do you think is the problem?

    • @TL-wf2cu
      @TL-wf2cu Před 9 měsíci +1

      Same here, it has something to do with Matlab 2023b or MacOS, this will be fixed in Matlab 2024a or you can use 2023a instead.

  • @marcelochuquitapa1482
    @marcelochuquitapa1482 Před 2 lety

    How can i save into pdf file with windows? Help me please.
    The error code is:
    The system can not find the path specified.
    Warning: TeX-File did not compile; you need to compile it manually
    > In RBC_nonlinear.driver (line 230)
    In dynare (line 281)
    Total computing time : 0h00m00s
    Note: warning(s) encountered in MATLAB/Octave code

    • @musicsport8475
      @musicsport8475 Před 2 lety

      I also have the same issue.

    • @wmutschl
      @wmutschl  Před rokem

      Well it seems like you don't have latex installed. Install it and open the .tex files and compile them.

  • @ismailseddiki1988
    @ismailseddiki1988 Před 3 lety

    I can't find the right words to thank you sir
    I am working on the coordination between fiscal and monetary policy and I do not know how to build my own model can you help me please I am in trouble
    Thank you very much

    • @wmutschl
      @wmutschl  Před 3 lety +1

      Building your own models is an art and requires experience. You are better advised to take a model from the literature and start making very subtle and slight changes to understand the model dynamics.