Third-order approximation with time-varying volatility

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Third-order approximation with time-varying volatility

Postby jsteinberg » Mon Sep 27, 2010 2:13 am

I am trying to simulate a simple RBC model in which the standard deviation of the innovations to TFP follows an AR(1) process (i.e. time-varying volatility) but I am running into a problem. I want to perform a third-order approximation so that the policy function estimates take into account time-varying volatility but Dynare does not seem to calculate policy functions. It appears to skip that step and go right to the simulation (in which all series are zero everywhere). However, it does not report any errors. I am using the "use_dll" option in the model specification. When I run a second-order approximation of the model (with or without the "use_dll" option), Dynare appears to do everything correctly. I have tried performing a third-order approximation with the "use_dll" option on a number of example mod files (without time-varying risk) and it always works fine.

I am using Dynare 4.1.2 with 64-bit Matlab 2009b on Ubuntu 10.04LTS (Lucid Lynx). I have attached the relevant mod file and the results Dynare generates for second and third-order approximations. Any help would be appreciated.

one_country_RBC.mod
Model specification
(2.06 KiB) Downloaded 197 times

order2.txt
Results for second-order approximation
(5.74 KiB) Downloaded 316 times

order3.txt
Results for third-order approximation
(3.64 KiB) Downloaded 119 times
jsteinberg
 
Posts: 8
Joined: Mon Sep 27, 2010 12:34 am

Re: Third-order approximation with time-varying volatility

Postby jsteinberg » Tue Sep 28, 2010 4:08 pm

Sorry, figured it out. Entered the wrong value for my volatility parameters. Average volatility should be 0.8 PERCENT not 0.8!
jsteinberg
 
Posts: 8
Joined: Mon Sep 27, 2010 12:34 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests