Page 1 of 1

matrix determinant in local variable declaration

PostPosted: Mon Oct 17, 2016 1:47 am
by fuyangzhao
Hi all,

In model declaration, we can create model-local variables:
Code: Select all
# VARIABLE_NAME = MODEL_EXPRESSION;


Some of my local variables are solved for from a linear equation system, and I want to apply Cramer's rule directly in the local variable declaration. So I wonder if it is possible to define matrix in
Code: Select all
# VARIABLE_NAME = MODEL_EXPRESSION;

and it is possible to compute their determinant. If it is, how?

Thanks!

Re: matrix determinant in local variable declaration

PostPosted: Mon Oct 17, 2016 12:53 pm
by jpfeifer
No, that is not possible. Matrix operations are best conducted in a _steadystate-file.

Re: matrix determinant in local variable declaration

PostPosted: Thu Oct 20, 2016 5:05 am
by fuyangzhao
jpfeifer wrote:No, that is not possible. Matrix operations are best conducted in a _steadystate-file.

Thank you, Professor.
One more question, when using _steadystate.m file, could Bayesian Estimation still be conducted in dynare?

Re: matrix determinant in local variable declaration

PostPosted: Thu Oct 20, 2016 8:09 am
by jpfeifer
Sure. That has nothing to do with the steady_state-file or the steady_state_model-block.