Giter Site home page Giter Site logo

zhentaoshi / boosted_hp_filter Goto Github PK

View Code? Open in Web Editor NEW
25.0 9.0 18.0 5.37 MB

Functions and replication files for Peter Phillips and Zhentao Shi (2021): "Boosting: Why You Can Use the HP Filter"

Home Page: https://zhentaoshi.github.io/Boosted_HP_filter/

License: MIT License

R 8.54% MATLAB 0.57% Julia 0.53% Python 0.59% HTML 89.11% Stata 0.66% TeX 0.01%
econometrics time-series machine-learning

boosted_hp_filter's Introduction

Introduction

This is the repository for

Peter Phillips and Zhentao Shi, "Boosting: Why You Can Use the HP Filter," International Economic Review, 62(2), 521-570

It offers

  • the function BoostedHP in R, STATA, MATLAB, Python and Julia.
  • Replication code for simulations and empirical applications in the paper.

To R users: a dedicated R package BoostedHP is developed with vignette.

Contributors

Zhentao Shi, Yang Chen, Ziwei Mei and Shu Shen

Updates

  • 11/5/2022: Stata code added by Shu Shen.
  • 6/5/2022: Replication2.
  • 11/18/2020: Replication files are added into the folder replications.
  • 8/27/2020: python code and julia code are added by Ziwei Mei. The bHP-ADF result are slightly different from that of the R code because the ADF tests cited in these languages. In the scripts, the testing examples immediately follow the main function.
  • 8/21/2020: Matlab code is added into the MATLAB folder. It produces exactly the same results as the R code. We offer two scripts under these folders:
    • BoostedHP contains the function to implement the automated boosted HP filter. The inputs and outputs are detailed in the beginning of the function.
    • testing_example is a script to demonstrate the usage of the filtering procedure.
  • 8/18/2020: The R code is superseded by a new R package BoostedHP. See the vignette for its usage.

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.