by iacoviel » Fri Aug 01, 2008 2:59 am
Consider the following equation
x(t)=rho*x(t-1)+u(t), u(t) iid, with variance s
If abs(rho)<1, the theoretical variance of x(t) is s/(1-rho^2)
If rho=1, the variance of x does not exist, but that does not prevent you from simulating that process for T periods and computing the variance of x, but the variance of x will explode as T grows larger. Try simulating your model doubling the number of periods. The variance of your nonstationary variable should be twice as big. In fact, the variance is not finite.
Dynare applies the same logic as the one described above for the univariate case. In the multivariate case, x(t) is a vector, rho is a matrix (call is R), etc... and the variance of x(t) can be computed using the formulas described in Hamilton chapter 13. You should start from there to establish how to find which variables are stationary and which ones are not.