Optimal nsample size 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.

Optimal nsample size for Bayesian estimation

Postby JX2016 » Wed Jul 20, 2016 8:41 pm

Hi, there. I wonder if there is a rule of thumb for the sample size of the observations used for Bayesian estimation?

Thanks in advance
JX2016
 
Posts: 14
Joined: Fri Jun 24, 2016 2:10 pm

Re: Optimal nsample size for Bayesian estimation

Postby JX2016 » Wed Jul 20, 2016 10:14 pm

If I use the logged 1st-differenced data for the estimation, should I write an equation for dy?

i.e. dy = y - y(-1) and put dy in the varobs block.

Or dynare can understand that y is the 1st-differenced variable so I don't need to specify another variable dy = y - y(-1) ? And I can just treat y as a 1st-differenced variable?


Thanks in advance
JX2016
 
Posts: 14
Joined: Fri Jun 24, 2016 2:10 pm

Re: Optimal nsample size for Bayesian estimation

Postby jpfeifer » Thu Jul 21, 2016 6:41 am

1. There is no such thing as the optimal sample size (except for the trivial "as much data as you have from that joint probability distribution"). If your Bayesian, you even do without any data. It is then just called your prior.
2. As detailed in Pfeifer(2013): "A Guide to Specifying Observation Equations for the Estimation of DSGE Models" https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf the user is responsible for specifying the mapping from model to data variables. That also captures first differences.
------------
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: Optimal nsample size for Bayesian estimation

Postby JX2016 » Thu Jul 21, 2016 11:49 pm

Thank you so much, professor pfeifer! problem solved
JX2016
 
Posts: 14
Joined: Fri Jun 24, 2016 2:10 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests