Fix calib_smoother (enforce order=1)

time-shift
Sébastien Villemot 2012-06-06 17:08:27 +02:00
parent 9bea42f411
commit b823014657
2 changed files with 3 additions and 1 deletions

View File

@ -4542,7 +4542,8 @@ This command computes the smoothed variables (and possible the filtered
variables) on a @code{calibrated} model.
A datafile must be provided, and the observable variables declared with
@code{varobs}.
@code{varobs}. The smoother is based on a first-order approximation of
the model.
@vindex oo_.SmoothedVariables
@vindex oo_.SmoothedShocks

View File

@ -2332,5 +2332,6 @@ CalibSmootherStatement::writeOutput(ostream &output, const string &basename) con
symbol_list.writeOutput("var_list_", output);
output << "options_.mode_compute = 0;" << endl
<< "options_.smoother = 1;" << endl
<< "options_.order = 1;" << endl
<< "dynare_estimation(var_list_);" << endl;
}