How to create hierarchical prior for Bayesian estimation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

How to create hierarchical prior for Bayesian estimation

Postby Jesse » Thu Oct 27, 2016 9:19 am

Hi All,
I am wondering that how can I create hierarchical prior for Bayesian estimation in Dynare?
Thank you.
Kind regards,
Jesse
Jesse
 
Posts: 44
Joined: Sat Feb 13, 2016 3:34 pm
Location: Sydney, Australia

Re: How to create hierarchical prior for Bayesian estimation

Postby jpfeifer » Thu Oct 27, 2016 9:20 am

Please provide more details what you would like to do.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: How to create hierarchical prior for Bayesian estimation

Postby 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
Jesse
 
Posts: 44
Joined: Sat Feb 13, 2016 3:34 pm
Location: Sydney, Australia

Re: How to create hierarchical prior for Bayesian estimation

Postby jpfeifer » Thu Oct 27, 2016 7:38 pm

Why do you need to sample shocks for the estimation? Are you doing particle filtering?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: How to create hierarchical prior for Bayesian estimation

Postby Jesse » Fri Nov 04, 2016 7:00 pm

Dear Johannes,
Thank you for your reply and sorry to reply you late. No, I am using Kalman filter, however, one of my shocks follows a Gaussian Mixture distribution-a weighted average of normal distributions with different means and variances. I need to sample weight paramters, mean parameters, variances parameters first, then once i get these prior parameters, i can sample shocks from the Gaussian mixture distributions.
Kind regards,
Jesse
Jesse
 
Posts: 44
Joined: Sat Feb 13, 2016 3:34 pm
Location: Sydney, Australia

Re: How to create hierarchical prior for Bayesian estimation

Postby jpfeifer » Fri Nov 04, 2016 8:15 pm

Sorry, but I still don't get it. Where during Kalman filtering do you need to sample shocks?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests