Coder Social home page Coder Social logo

id743230 / inflation-nowcast-model Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hoagiet/inflation-nowcast-model

0.0 0.0 0.0 15 KB

A dynamic factor model to forecasts inflation, i.e. CPI, PPI. WindAPI is required to extract vintages.

Python 100.00%

inflation-nowcast-model's Introduction

Inflation Nowcast

A dynamic factor model that forecasts inflation, i.e. CPI, PPI, in China

This code implements the nowcasting framework described in "Macroeconomic Nowcasting and Forecasting with Big Data" by Brandyn Bok, Daniele Caratelli, Domenico Giannone, Argia M. Sbordone, and Andrea Tambalotti, Staff Reports 830, Federal Reserve Bank of New York (prepared for Volume 10 of the Annual Review of Economics).

Note: The vintage example files (Vintage_CPI.py, Vintage_PPI.py) require installation of Wind Database and Wind Python API. Users may use their own data source as well.

Download instructions

Download the code as a ZIP file by clicking the green 'Clone or download' button and selecting 'Download ZIP'.

File and folder description

  • DiscreteKalmanFilter.py : Discrete Kalman Filter algorithm which is applied to estimate parameters in Dynamic Factor Model as well as dealing with unbalanced dataset
  • DynamicFactorModel.py : Dynamic Factor Model module, which is the main body of nowcasting algorithm
  • Functions.py : Miscellaneous functions
  • Vintage_PPI.py : Vintage generator for PPI related data, Wind API required
  • Nowcast_PPI.py : To nowcast PPI, Vintage_PPI.py must be run first

inflation-nowcast-model's People

Contributors

hoagiet 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.