Revert "adding provision for histval in conditional_forecasts"
This reverts commit cb9a0ef064
.
time-shift
parent
cb9a0ef064
commit
2c8ee55d16
|
@ -118,11 +118,7 @@ if estimated_model
|
||||||
trend = trend(oo_.dr.order_var,:);
|
trend = trend(oo_.dr.order_var,:);
|
||||||
InitState(:,1) = atT(:,end);
|
InitState(:,1) = atT(:,end);
|
||||||
else
|
else
|
||||||
if isempty(M_.endo_histval)
|
InitState(:,1) = zeros(M_.endo_nbr,1);
|
||||||
InitState(:,1) = zeros(M_.endo_nbr,1);
|
|
||||||
else
|
|
||||||
InitState(:,1) = M_.endo_histval(oo_.dr.order_var) - oo_.steady_state(oo_.dr.order_var);
|
|
||||||
end
|
|
||||||
trend = repmat(oo_.steady_state(oo_.dr.order_var),1,options_cond_fcst.periods+1);
|
trend = repmat(oo_.steady_state(oo_.dr.order_var),1,options_cond_fcst.periods+1);
|
||||||
graph_title='Calibration';
|
graph_title='Calibration';
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue