Skip to content
Snippets Groups Projects
Verified Commit 4dd3ee85 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Add CLI for some routines.

 - steady,
 - check,
 - evaluate_likelihood,
 - evaluate_posterior_kernel, and
 - evaluate_prior.

*Example*

After running a mod file, on the Matlab's command line:

>> cli.check

EIGENVALUES:
         Modulus             Real        Imaginary

               0                0                0
       1.389e-16        1.389e-16                0
          0.6452           0.6452                0
          0.9707           0.9707                0
           1.038            1.038                0
       1.271e+16        1.271e+16                0
        2.33e+17         2.33e+17                0

There are 3 eigenvalue(s) larger than 1 in modulus
for 3 forward-looking variable(s)

The rank condition is verified.
parent 301fe42e
Branches
Tags
Loading
Checking pipeline status
Loading
  • Developer

    @stepan-a super, this is very useful! Would it be possible to have also cli.evaluate_smoother?

  • Author Owner

    @rattoma I will do it latter. When I came to this one, I was not really clear about the outputs (I am not sure we want to overwrite oo_).

  • Developer

    @stepan-a, I would think that the cli. interface should simply reproduce the behavior of the underlying evaluate_smoother function which indeed overwrites oo_. when the dynare instance is finished the latter is stored in the results.mod file, and the users will be free to overwrite the oo_ in the result file, or save it elsewhere or just disregard it.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment