Skip to content

Do not create classical filtered variables at posterior mean if Bayesian...

Johannes Pfeifer requested to merge JohannesPfeifer:filtered_vars_ML into master

... filtered variables were requested

The check for running the smoother on the model at the posterior mean is only based on whether the smoother option was set. But filtered_vars is a separate option. If not also checking whether Bayesian filtered variables have already been requested, oo_.FilteredVariables will contain both "ML" and Bayesian fields, which is confusing. The change only saves the filtered variables from the classical smoother if the user did not use Bayesian estimation.

Merge request reports