Dynare preamble: set a parameter which is a matrix
Posted: Thu Jan 27, 2011 1:30 pm
Can I declare to Dynare preamble a parameter which is not a scalar but a matrix (NxN)?
I have a set of parameters stored in a matrix from another rutine, eg. A(5x5).
Am I forced to convert each cell of A into a 1x1 scalar parameter, eg. a=A(1,1); b=A(1,2); etc...
Or can I use directly A as a parameter in the declaration of the model?
Thanks
I have a set of parameters stored in a matrix from another rutine, eg. A(5x5).
Am I forced to convert each cell of A into a 1x1 scalar parameter, eg. a=A(1,1); b=A(1,2); etc...
Or can I use directly A as a parameter in the declaration of the model?
Thanks