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:
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_:
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