Page 1 of 1

How to detect unit roots?

PostPosted: Mon Dec 22, 2014 2:42 pm
by shr
Hi,

I am working with a 2-country model with complete asset markets and full risk-sharing. Dynare tells me the model has 3 unit roots. However, when I plot IRFs they all return to zero within 40-50 periods (I have persistent shocks), and when I simulate the model for as much as 100,000 periods, all variables remain stationary. I am wondering how I can "detect" which variables give rise to the unit roots, so that I can eventually solve the problem. Any hints? Thanks in advance.

Re: How to detect unit roots?

PostPosted: Thu Dec 25, 2014 10:06 am
by jpfeifer
Try requesting theoretical moments and check whether Dynare displays NaN for the moments of some endogenous variables.

Re: How to detect unit roots?

PostPosted: Sat Dec 27, 2014 9:10 am
by shr
Thanks for your response. I have tried that already, and all the theoretical moments are well-defined, i.e. none of them are NaN.

Re: How to detect unit roots?

PostPosted: Sun Dec 28, 2014 9:37 am
by jpfeifer
Please provide the file