IRIS-Solutions-Team / IRIS-Toolbox

[IrisToolbox] for Macroeconomic Modeling
Other
90 stars 41 forks source link

kalmanFilter does not return means of !log_variables #330

Open tmotl2 opened 1 year ago

tmotl2 commented 1 year ago

Function kalmanFilter does not return means of variables declared in the "!log_variables" block in the output database db.Mean.

d_nocredit = filter(n, d, rng_filt ...
                         , 'Relative', false ...
                         , 'Multiply', mult);

Stable branch, latest release, R2020b.

Thanks

jaromir-benes commented 1 year ago

It does return these :) However, the output databank returned from the new kalmanFilter has been made a bit consistent in terms of their statistical definitions (consistent with the design of the first-order solution in Iris):

Plain variables (i.e. those not declared as !log-variables) are returned in both Mean and Median under their proper names (and mean==median for them).

You can now also use either meanOnly=true or medianOnly=true to force the output databank to be flat with only mean or median, respectively.

Best Jaromir

On Tue, Jul 12, 2022 at 12:10 PM tmotl2 @.***> wrote:

Function kalmanFilter does not return means of variables declared in the "!log_variables" block in the output database db.Mean.

d_nocredit = filter(n, d, rng_filt ... , 'Relative', false ... , 'Multiply', mult);

Stable branch, latest release, R2020b.

Thanks

— Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/330, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKQYB2VBGSIGRSLALGLVTVACFANCNFSM53KOWNQA . You are receiving this because you are subscribed to this thread.Message ID: @.***>