Pick the Variables of interest in the simulated dataseries
Posted: Wed Aug 06, 2008 2:21 pm
I am doing some variance decomposition exercise by utilizing simult_.m in dynare. The idea is initiated by Larry. His post can be find here:
[url]http://www.dynare.org/manual/re32.html#id392307 * [/url]
My question here is that since we only interested in a subset of the variables, but the output y_ is more than enough ? How to find a subset of the variables in y_? For example, all the following variables are included in y_:
a
b
c
d
g
k
r
I am only interested in c and k. It is not hard to pick them manually, but it is tedious to do it in a fairly large model. The function find.m can find the index of matched numerical values for numerical variables. Is there someway to match the string variables?
NB: * new url
[url]http://www.dynare.org/manual/re32.html#id392307 * [/url]
My question here is that since we only interested in a subset of the variables, but the output y_ is more than enough ? How to find a subset of the variables in y_? For example, all the following variables are included in y_:
a
b
c
d
g
k
r
I am only interested in c and k. It is not hard to pick them manually, but it is tedious to do it in a fairly large model. The function find.m can find the index of matched numerical values for numerical variables. Is there someway to match the string variables?
NB: * new url