by Jesse » Thu Oct 27, 2016 9:25 am
Dear Johannes,
Thank you very much replying.
I am applying a mixture normal to one of the shocks in my DSGE model, and the mixture normal distribution requires a weighted average of a number of normal distributions, for Bayesian estimations, I need to sample sample the hyperparameter- the weights first, before I can sample shocks from the mixture normal distribution for my shock.
I have prepared a distribution for weights already, but I need to sample weights first, then i used the weights obtained from my sampling to formulate the mixture normal distribution (the parameters contain weights), then I can sample my shock from the mixture distribution.
Kind regards,
Jesse