Steady state of a random process
Posted: Thu Nov 17, 2011 10:01 am
Hello,
in my model I have the following process for technology:
s_{t}=exp(x_{t}-(sigma^2/2(1-rho^2)))
x_{t}=rho*x_{t-1}+epsilon_{t}
where epsilon_{t} is normal and has mean 0 and variance sigma^2.
Now, the expected value of s_{t} is 1 and its steady state value should be 1 as well (given that x_{0}=0).
The problem is that if input this process in dynare in the following way:
var s,x;
varexo epsilon;
parameters sigma, rho;
shocks;
var eps=sigma^2
end;
model;
s=exp(x_{t}-(sigma^2/2(1-rho^2)))
x=rho*x(-1)+epsilon
end;
steady:
stoch_simul;
In the results I get that the first moment of s is 1, but its steady state value is not 1, but equal to exp(-sigma^2/2(1-rho^2)).
How can I avoid this problem? Is there a way to tell dynare that the parameter "sigma" must be equal to zero when computing the steady state (and only when computing the steady state)?
Thank you in advance,
Fabrizio
in my model I have the following process for technology:
s_{t}=exp(x_{t}-(sigma^2/2(1-rho^2)))
x_{t}=rho*x_{t-1}+epsilon_{t}
where epsilon_{t} is normal and has mean 0 and variance sigma^2.
Now, the expected value of s_{t} is 1 and its steady state value should be 1 as well (given that x_{0}=0).
The problem is that if input this process in dynare in the following way:
var s,x;
varexo epsilon;
parameters sigma, rho;
shocks;
var eps=sigma^2
end;
model;
s=exp(x_{t}-(sigma^2/2(1-rho^2)))
x=rho*x(-1)+epsilon
end;
steady:
stoch_simul;
In the results I get that the first moment of s is 1, but its steady state value is not 1, but equal to exp(-sigma^2/2(1-rho^2)).
How can I avoid this problem? Is there a way to tell dynare that the parameter "sigma" must be equal to zero when computing the steady state (and only when computing the steady state)?
Thank you in advance,
Fabrizio