3rd order simulation negative conditional variance

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.

3rd order simulation negative conditional variance

Postby kchristo » Fri Oct 17, 2014 11:27 am

To implement the conditional variance of x, I use
A=x(+1)
cond_var=x(+1)^2 –A^2
According to Jensen’s inequality con_var should always be positive. Using 3rd order simulation I find that cond_var is on average positive but is sometimes negative. Any views on this?
kchristo
 
Posts: 7
Joined: Thu Jan 26, 2006 2:15 pm

Re: 3rd order simulation negative conditional variance

Postby kchristo » Tue Oct 21, 2014 7:19 am

It seems to be related to the imprecision of the numerical approximation. So I take it out of the dynare and use more stable numerical methods to compute the variance.
kchristo
 
Posts: 7
Joined: Thu Jan 26, 2006 2:15 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests