Skip to content

Estimation of heterogeneous agent models using both macro and micro data

License

Notifications You must be signed in to change notification settings

mikkelpm/het_agents_bayes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Estimation of heterogeneous agent models using macro and micro data

Matlab code for full-information Bayesian inference in heterogeneous agent models using both (i) macro time series data and (ii) repeated cross sections of micro data

Reference: Liu, Laura, and Mikkel Plagborg-Møller (2022), "Full-Information Estimation of Heterogeneous Agent Models Using Macro and Micro Data", arXiv:2101.04771

Requirements: Dynare version 4.6.x

Tested in: Matlab R2020a on Windows 10 PC and Linux servers (64-bit) with Dynare 4.6.1

Contents

doc: documentation

  • hh.md: documentation of code for heterogeneous household model
  • firm.md: documentation of code for heterogeneous firm model

program: Matlab routines

program/functions: general functions for MCMC, likelihood evaluation, simulations, and plotting

program/hh_model: files specific to the heterogeneous household model

program/firm_model: files specific to the heterogeneous firm model

Acknowledgements

We build on the excellent Dynare code kindly made available by Thomas Winberry (see also Winberry, QE 2018).

Plagborg-Møller acknowledges that this material is based upon work supported by the National Science Foundation under Grant #1851665.