Giter Club home page Giter Club logo

idhet-mix's Introduction

Description

These files are to be used with R and did run in version 4.3.0.

Data files (sources are described in the paper)

The folder 'data' collects all required datafiles alongside the collected output of the estimation procedure across horizons:

  • 'dailydata.rda' is the main daily data
  • 'exoshocks.rda' are the additionally observed high-frequency shocks that act as controls
  • 'mpu_indexes.rda' is the monetary policy uncertainty series
  • 'VARdata.rda' is the monthly data used to estimate the auxiliary VAR model
  • 'FACTOR_mix_pub_exo_J30Q2sv_lev_facsv.rda' are posteriors required for the VAR

Code files

The individual R-source files are the following:

  • 'main_estimation.R' runs the model for all required specifications (set in 'spec_grid.R')
  • 'main_estVAR.R' runs the auxiliary VAR model
  • 'spec_grid.R' sets up a grid for all required estimations and defines algorithm settings
  • 'utils.R' contains several helper functions alongside the main estimation procedure
  • 'utils_conjVAR.R' contains the VAR codes
  • 'main_output.R' produces all charts shown in the paper from the collected MCMC draws

The required MCMC estimation output 'mix_pub_exo_J30Q2sv_lev_facsv.rda' is available here (Dropbox).

This code comes without technical support of any kind. Please report any typos or errors to: [email protected]. The code is free to use, provided that the paper is cited properly.

idhet-mix's People

Contributors

mpfarrho avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

allisterh

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.