Greetings dear all,
I’m trying to use dynare codes for analyzing an DSGE-VAR model as Del Negro & Schorfheide(2003): “PRIORS FROM GENERAL EQUILIBRIUM MODELS FOR VARS” ecb.europa.eu/events/pdf/conferences/schorfheide.pdf.
In equations (30) and (31), about posterior distribution of PHI and SIGMA, I see that PHI and SIGMA are generated from an Inverted Wishart-Normal form. My question are:
In dynare codes ¿Where is done the extraction from Inverted Wishart-Normal form?. I ask this because I reviewed in dynare.org/dynare-matlab-m2html/matlab/dsge_var_likelihood.html and I didn’t find one generating from an Inverted Wishart-Normal form.
I want to use this code: dynare.org/dynare-matlab-m2html/matlab/distributions/rand_inverse_wishart.html for generating a m-by-m matrix from an inverse Wishart distribution with parameters Tau and df, that is with df degrees of freedom and where Tau is a symmetric and positive definite matrix. Is it okay to use this syntax:
rand_inverse_wishart(m, df, Chol(Tau))for my purpose?
I’d appreciate it if you could reply to my question.