/Leontieff-Model-Reproducible-Result

Model for assessing the expected size of demand and supply shocks hitting a random sector in a random country.

Primary LanguagePython

Leontieff-Model-Reproducible-Result

The link to the data: Click here to download Or go to the website OECD Inter-Country Input-Output (ICIO) Tables

Context:

Economic data is often highly asymmetric. As a result, computational economics often has to place a focus on the tails of distributions rather than on the body. We will focus on the occurence of large and rare effects. Such effects can, for example, be measured as the expected size of the largest plausible shocks, say the 99% quantile, or the “upper 1% quantile”. (The 99% quantile here would be a shock such that for 99% of sectors, the shock is smaller and only for 1% the shock is larger). The estimates for tail values may be volatile.

Task:

  1. Whether the upper 1% quantile in the demand shock as computed by script is reproducible.
  2. What measures could be taken to make it reproducible, if that is not the case?
  3. Produce a reproducible result for the upper 1% quantile of the resulting effect of demand shocks by 0.3 (30%), 0.7 (70%) and 1.0 (100%) to individual random sectors in random countries on the world economy.