Giter Site home page Giter Site logo

mrio-processing's Introduction

ADB MRIO processing scripts

The scripts in this repo process the ADB MRIO Excel files and implement various indicators from the input–output and global value chain literature. Download the tables here and save each version in a seperate folder under data/raw. Run the scripts in the order listed below. All outputs are saved in data in parquet format.

Script Description
Preprocessing
01-preprocess-mrios.py
Converts raw Excel files into machine-readable format.
Summary tables
02-summary.py
Tabulates key aggregates for each country-sector.
Flows
03-flows.py
Computes intermediates, final goods, and value added flows between each country-sector.
Borin–Mancini decomposition
04-exports-decomposition.py
Performs the Borin and Mancini (2019) exports decomposition at the sector level.
GVC participation
05-gvc-participation.py
Computes the trade-based and production-based GVC participation rates as defined in ADB (2021).
Production lengths
06-production-lengths.py
Computes production lengths following the methodology of Wang, Wei, Yu, and Zhu (2017).
Revealed comparative advantage
07-revealed-comparative-advantage.py
Computes revealed comparative advantage indices as defined in ADB (2021).
Regional concentration
08-regional-concentration.py
Computes a measure of regional trade concentration inspired by Frankel (1997).
Deflators
09-preprocess-deflators.py
Converts raw Excel files into machine-readable format.
Real effective exchange rate weights
10-reer-weights.py
Computes real effective exchange rate weights matrices using the Bems and Johnson (2017) and Patel, Wang, and Wei (2019) methodologies.
Real effective exchange rate indices
11-reer.py
Computes the weights matrix and the real effective exchange rate index using the Bems and Johnson (2017) and Patel, Wang, and Wei (2019) methodologies.

About the MRIO

The Asian Development Bank Multiregional Input–Output Tables are a time series of intercountry input–output tables disaggregated into 35 sectors. Final demand are disaggregated into five categories. The following is a schematic of an MRIO table.

Three versions of the tables are currently available:

  1. ADB MRIO 72 countries. Available for 2017–2022.
  2. ADB MRIO 62 countries. Available for 2000 and 2007–2022.
  3. ADB MRIO 62 countries constant price. Values pegged to 2010 prices. Available for 2007–2022.

References

Citation

@misc{ksreyes2023adbmrioscripts,
    title = {{ADB MRIO processing scripts}},
    author = {{Kenneth S. Reyes}},
    url = {https://github.com/ksreyes/adb-mrio},
    year = {2023},
}

Disclaimer

The contents of this repository are not endorsed by the Asian Development Bank or the authors of cited works. All errors are my own.

mrio-processing's People

Contributors

ksreyes avatar

Stargazers

 avatar  avatar  avatar

Forkers

wanlanedx

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.