Question about correction/constant

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.

Question about correction/constant

Postby dsgeapprox » Mon Jan 07, 2013 10:59 pm

Hi,
I have a question about the correction term in my second order approximation. I have a model with stochastic volatility that I am trying to approximate. The model has an error term that is being multiplied by an endogenous variable. The endogenous variable follows a log AR(1) process with a shock. When I use the approximation in Dynare, I find that changing the variance of the shock to the AR(1) process does not change the correction term. When I calculate the correction term on my own, I find that the correction term changes as the variance changes. Am I making a mistake in my coding in Dynare, or is the result I am getting correct in Dynare? (It's entirely possible that my calculation is correct.)

I have attached a mod file with a simplified version of my code. The "sig" variable is allowed to change over time when there are shocks to "u." When I change the variance of "u" (in line 27) I don't find that the correction term (and therefore the constant) for the approximation to "y" does not change like when I calculate this on my own. In this case, with var u=2, by my calculation the correction should be 1.4923 instead of 0.206612. I am wondering if I have a problem in my coding in the .mod file or if this is a type of model that isn't supported by Dynare or if this is indeed correct and my calculation is incorrect. Any help is appreciated.

Thanks in advance
Attachments
simplesv.mod
(371 Bytes) Downloaded 93 times
dsgeapprox
 
Posts: 2
Joined: Mon Jan 07, 2013 10:21 pm

Re: Question about correction/constant

Postby dsgeapprox » Thu Jul 25, 2013 5:57 pm

Has anyone had a chance to look at this? Any input is appreciated. Thanks.
dsgeapprox
 
Posts: 2
Joined: Mon Jan 07, 2013 10:21 pm

Re: Question about correction/constant

Postby jpfeifer » Thu Jul 25, 2013 6:52 pm

Could you tell me how you computed the supposed outcome?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 9 guests