Skip to content

elmarmertens/ABCprecisionsampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABCprecisionsampler: “Precision-based sampling for state space models without measurement error“

This readme file describes the set of replication files for “Precision-based sampling for state space models without measurement error.“ (2023) published in the Journal of Economic Dynamics and Control. https://doi.org/10.1016/j.jedc.2023.104720

The materials provided do not necessarily reflect the views of the Deutsche Bundesbank, or the Eurosystem. All codes are provided on an "as is" basis for research purposes and without warranty. Feel free to use and disseminate the codes as long as proper attribution is given to the original source.

Author

Elmar Mertens (Deutsche Bundesbank) 1

Overview

These replication files provide code to apply the precision-based sampler for state spaces that have not measurement error as described in my paper.

Monte carlo simulations

The code in this repository allows to replicate the Monte Carlo simulations for the following applications described in the paper:

  • Common trend model with VAR(p) dynamics for the gap variables. goPrecisonsamplerCommonTrendCycle.m simulates data for a multivariate common trend model with VAR(p) cycle and applies the precision-based sampler as well as the Durbin-Koopmans (DK) sampler, and collects execution times for various model configurations described in the paper. tabulateTrendVAR.m tabulates the results.
  • Multivariate trend model with VAR(p) dynamics for the gap variables. goPrecisonsamplerTrendCycle.m simulates data for a multivariate trend model with VAR(p) cycle and applies the precision-based sampler as well as the Durbin-Koopmans (DK) sampler, and collects execution times for various model configurations described in the paper. tabulateTrendVAR.m tabulates the results.
  • VAR(p) model with missing observations. goPrecisonsamplerVARmissingvalues.m simulates data for a VAR(p) and applies the precision-based sampler as well as the Durbin-Koopmans (DK) sampler, and collects execution times for various model configurations described in the paper. tabulateVARmissingvalues.m tabulates the results.

Estimation of a common trend model as in Mertens (2016):

Footnotes

  1. Corresponding author: em@elmarmertens.com

About

Precision-based sampling from state space models that have no measurement error

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published