Commit b8230146 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix calib_smoother (enforce order=1)

parent 9bea42f4
...@@ -4542,7 +4542,8 @@ This command computes the smoothed variables (and possible the filtered ...@@ -4542,7 +4542,8 @@ This command computes the smoothed variables (and possible the filtered
variables) on a @code{calibrated} model. variables) on a @code{calibrated} model.
A datafile must be provided, and the observable variables declared with 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_.SmoothedVariables
@vindex oo_.SmoothedShocks @vindex oo_.SmoothedShocks
......
...@@ -2332,5 +2332,6 @@ CalibSmootherStatement::writeOutput(ostream &output, const string &basename) con ...@@ -2332,5 +2332,6 @@ CalibSmootherStatement::writeOutput(ostream &output, const string &basename) con
symbol_list.writeOutput("var_list_", output); symbol_list.writeOutput("var_list_", output);
output << "options_.mode_compute = 0;" << endl output << "options_.mode_compute = 0;" << endl
<< "options_.smoother = 1;" << endl << "options_.smoother = 1;" << endl
<< "options_.order = 1;" << endl
<< "dynare_estimation(var_list_);" << endl; << "dynare_estimation(var_list_);" << endl;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment