Giter VIP home page Giter VIP logo

vc-bayesianestimation's Introduction

VC-BayesianEstimation

License Release

Codes used to estimate a Dynamic Stochastic General Equilibrium (DSGE) model using Bayesian Estimation techniques.

These codes are available online at:
https://github.com/vcurdia/VC-BayesianEstimation

Requirements

Matlab (R)

The codes were tested using Matlab (R) R2018a with the following toolboxes

  • Symbolic Toolbox
  • Statistical Toolbox
  • Optimization Toolbox

LaTeX

LaTeX is used by some tools to compile certain documents.

epstopdf, included in most LaTeX releases, is used by some tools.

Additional codes and packages

Codes from Vasco Cúrdia:

Codes from Chris Sims:

Usage example

The script SetDSGE.m is an example of how to setup the model and estimate it using this package.

The main structure for setup

  1. Set file names for the data input and the output
  2. Set parameters list and priors
  3. Set list of observation variables
  4. Set list of State space variables
  5. Set list of iid shocks
  6. Generate symbolic variables
  7. Construct any necessary auxiliary definitions (optional)
  8. Set observation equations
  9. Set state Equations

The above 9 steps will set up the model. After setup the Bayesian estimation proceeds by finding the mode of the posterior using MaxPost.m and then generating MCMC samples, using MCMC.m. Analysis of estimation results is done with MCMCAnalysis.m.

See the example SetDSGE.m for basic options and how to call the sequence of steps in more detail.

Reports in pdf format are generated along the way.

Additional Information

Each of the functions and scripts contains help at the beginning of the codes, including options and flags. This help can be accessed in an interactive Matlab (R) session using the help or doc commands:

help SetDSGE

or

doc SetDSGE

vc-bayesianestimation's People

Contributors

vcurdia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.