Page 1 of 1

NaN theoretical moments and unit roots

PostPosted: Thu Feb 25, 2016 8:34 pm
by dynare16
Hello,

I know that unit roots variables have no finite first and second order moments and thus that unit roots in a model can obviously lead some theoretical moments to be non available. However, can the presence of only 1 or 2 unit roots in one model lead all theoretical moments of all variables in the model to be infinite (except the stochastic shocks) ?

This is a general question so I apologize not to provide a .mod file.

Many thanks !

Re: NaN theoretical moments and unit roots

PostPosted: Fri Feb 26, 2016 7:27 am
by jpfeifer
If the unit root causes all variables to be non-stationary, the answer is yes. More generally, however, the problem appears when you use simulated moments at higher order without pruning. In this case explosive simulations will show up as NaN moments.