How to estimate DSGE when R is exogenous and observed?
Posted: Mon Jun 01, 2015 8:46 pm
Dear all,
I'm quite new to Dynare and want to ask a question.
I'd like to estimate the following 2 equation DSGE model.
I wrote this code since I assume that, in this economy, interest rates are given exogenously.(So it is kind of partial equilibrium model). However, the problem is that the Dynare doesn't seem to allows exogenous varialbe (RA) as an observable. It give an error saying that,
Could anyone help me to solve this problem?
Thank you.
I'm quite new to Dynare and want to ask a question.
I'd like to estimate the following 2 equation DSGE model.
- Code: Select all
var pi, y, RA, g, z, ra;
varexo eg, ez, ea, RA_obs;
model(linear);
y = y(+1) - (1/sigma)*(RA - pi(+1)) + g;
pi = bet*pi(+1) + kappa*y + z;
g = rhog*g(-1) + eg;
z = rhog*z(-1) + ez;
// Measurement equation
RA_obs = RA + ra;
// Measurement error has AR(1) process
ra = rhoa*ra(-1) + ea;
end;
varobs y, pi, RA_obs;
I wrote this code since I assume that, in this economy, interest rates are given exogenously.(So it is kind of partial equilibrium model). However, the problem is that the Dynare doesn't seem to allows exogenous varialbe (RA) as an observable. It give an error saying that,
varobs: RA_obs is not an endogenous variable
Could anyone help me to solve this problem?
Thank you.