commit
b9576cc2b7
|
@ -102,11 +102,11 @@ if nargout == 0
|
||||||
ind = [];
|
ind = [];
|
||||||
disp('Residuals of the static equations:')
|
disp('Residuals of the static equations:')
|
||||||
skipline()
|
skipline()
|
||||||
for i=1:M_.orig_endo_nbr
|
for i=1:M_.orig_eq_nbr
|
||||||
if abs(z(i)) < options_.solve_tolf/100
|
if abs(z(i+M_.ramsey_eq_nbr)) < options_.solve_tolf/100
|
||||||
tmp = 0;
|
tmp = 0;
|
||||||
else
|
else
|
||||||
tmp = z(i);
|
tmp = z(i+M_.ramsey_eq_nbr);
|
||||||
end
|
end
|
||||||
if istag
|
if istag
|
||||||
tg = tags(cell2mat(tags(:,1)) == i,2:3); % all tags for equation i
|
tg = tags(cell2mat(tags(:,1)) == i,2:3); % all tags for equation i
|
||||||
|
|
|
@ -29,6 +29,7 @@ var e; stderr 1;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
planner_objective pi_c^2 + y^2;
|
planner_objective pi_c^2 + y^2;
|
||||||
|
resid;
|
||||||
discretionary_policy(instruments=(i),irf=0,planner_discount=beta, periods=200);
|
discretionary_policy(instruments=(i),irf=0,planner_discount=beta, periods=200);
|
||||||
|
|
||||||
// Generate data used by dennis_1_estim.mod
|
// Generate data used by dennis_1_estim.mod
|
||||||
|
|
|
@ -169,6 +169,7 @@ end;
|
||||||
planner_objective pi^2 +(((1-theta)*(1-betta*theta)/theta*((1-alppha)/(1-alppha+alppha*epsilon)))*(siggma+(phi+alppha)/(1-alppha)))/epsilon*y_gap^2;
|
planner_objective pi^2 +(((1-theta)*(1-betta*theta)/theta*((1-alppha)/(1-alppha+alppha*epsilon)))*(siggma+(phi+alppha)/(1-alppha)))/epsilon*y_gap^2;
|
||||||
|
|
||||||
ramsey_model(instruments=(i),planner_discount=betta);
|
ramsey_model(instruments=(i),planner_discount=betta);
|
||||||
|
resid;
|
||||||
stoch_simul(order=1,irf=13) x pi p u;
|
stoch_simul(order=1,irf=13) x pi p u;
|
||||||
|
|
||||||
verbatim;
|
verbatim;
|
||||||
|
|
Loading…
Reference in New Issue