jpfeifer wrote:Your model is wrong. It is not linear. See Remark 2 (Using stoch_simul before Estimation) in Pfeifer(2013): "A Guide to Specifying Observation Equations for the Estimation of DSGE Models" https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf.
jpfeifer wrote:Your model is wrong. It is not linear. See Remark 2 (Using stoch_simul before Estimation) in Pfeifer(2013): "A Guide to Specifying Observation Equations for the Estimation of DSGE Models" https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf.
resid(1);
jpfeifer wrote:Always post the update files to replicate the problem. Your model is not linear, because when you put
- Code: Select all
resid(1);
your equations have non-zero residuals although all variables are initialized at 0. Thus, your linearization must be wrong. My guess is that you made an error in the definition of the exogenous processes that are now mean 1 or something like that instead of mean 0.
//%15rr=rhopai*pai+rhoy*y+eps_r;
exp(rr)=exp(pai^rhopai)*exp(y^rhoy)*exp(eps_r);
jpfeifer wrote:Please use the most recent Dynare version. There I get a different error. The problem still is that
- Code: Select all
//%15rr=rhopai*pai+rhoy*y+eps_r;
exp(rr)=exp(pai^rhopai)*exp(y^rhoy)*exp(eps_r);
is clearly not linear.
EIGENVALUES:
Modulus Real Imaginary
1.826e-17 -1.826e-17 0
1.996e-17 1.996e-17 0
0.75 0.75 0
0.75 0.75 0
0.75 0.75 0
0.9917 0.9916 0.01513
0.9917 0.9916 -0.01513
1.232 1.232 0
Inf Inf 0
Inf Inf 0
There are 3 eigenvalue(s) larger than 1 in modulus
for 2 forward-looking variable(s)
The rank condition ISN'T verified!
Error using print_info (line 42)
Blanchard Kahn conditions are not satisfied: no stable equilibrium
Error in stoch_simul (line 98)
print_info(info, options_.noprint, options_);
Error in v0905 (line 344)
info = stoch_simul(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;
jpfeifer wrote:There must be a problem with your installation of Dynare. I getEIGENVALUES:
Modulus Real Imaginary
1.826e-17 -1.826e-17 0
1.996e-17 1.996e-17 0
0.75 0.75 0
0.75 0.75 0
0.75 0.75 0
0.9917 0.9916 0.01513
0.9917 0.9916 -0.01513
1.232 1.232 0
Inf Inf 0
Inf Inf 0
There are 3 eigenvalue(s) larger than 1 in modulus
for 2 forward-looking variable(s)
The rank condition ISN'T verified!
Error using print_info (line 42)
Blanchard Kahn conditions are not satisfied: no stable equilibrium
Error in stoch_simul (line 98)
print_info(info, options_.noprint, options_);
Error in v0905 (line 344)
info = stoch_simul(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;
jpfeifer wrote:Search the forum on this. Typically, the timing of the variables in incorrect. See e.g. http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=5797
jpfeifer wrote:Search the forum on this. Typically, the timing of the variables in incorrect. See e.g. http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=5797
jpfeifer wrote:Search the forum on this. Typically, the timing of the variables in incorrect. See e.g. http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=5797
Users browsing this forum: Google [Bot] and 7 guests