Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| project:qualified_money [2013/03/23 11:53] – [Algorithm] thomas | project:qualified_money [2018/11/13 14:39] (current) – [Data] alicesmith | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== qualified | + | ===== Qualified |
| - | We want to simulate the spreading of bad quality | + | We simulate the spreading of tainted |
| - | First step was to gather money flow data. For this purpose, every country' | + | First step was to gather money flow data. For this purpose, every country' |
| Money can be contagious (i.e. if a country receives _any_ bad money, the country is ' | Money can be contagious (i.e. if a country receives _any_ bad money, the country is ' | ||
| Line 9: | Line 9: | ||
| Starting from an initial setup (all countries good, one bad; half good; half bad; ...), year by year the quality indicater is updated according to the flows of money. | Starting from an initial setup (all countries good, one bad; half good; half bad; ...), year by year the quality indicater is updated according to the flows of money. | ||
| - | + | {{ : | |
| - | (Talking about money is about currency and transferring quantity of money from A to B. | + | |
| - | What about a global currency including not only the quantity but also QUALITY of money?) | + | |
| ===== Assumptions and Limits ===== | ===== Assumptions and Limits ===== | ||
| - | * M2 is only important initially and not update in the process | ||
| * Only merchandise trade balance is considered (i.e. no services) | * Only merchandise trade balance is considered (i.e. no services) | ||
| * Only the five biggest trading partners are reported | * Only the five biggest trading partners are reported | ||
| - | * Remaining | + | * Money that is created is untainted ($q=1$) |
| + | * For the remaining | ||
| + | * spread with everyone | ||
| + | * scale the trade partners to 100% | ||
| + | * trade the rest with the country' | ||
| + | * neglect it | ||
| ===== Algorithm ===== | ===== Algorithm ===== | ||
| Line 25: | Line 26: | ||
| * $q_i$ is the percentage (%) of non-tainted money, where $q \in [0,1]$; 0 is fully tainted money, 1 is non-tainted money | * $q_i$ is the percentage (%) of non-tainted money, where $q \in [0,1]$; 0 is fully tainted money, 1 is non-tainted money | ||
| * $\Delta V_i$ is the increase of volume of money | * $\Delta V_i$ is the increase of volume of money | ||
| - | * $f_ij$ is the fraction (in % of V_j) of money flowing from $j$ to $i$ | + | * $f_{ij}$ is the fraction (in % of $V_j$) of money flowing from $j$ to $i$ |
| Then the following (simplified) algorithm applies for the volume forward: | Then the following (simplified) algorithm applies for the volume forward: | ||
| \[V_i(t+1) = V_i(t) + \sum_j{f_{ij} \cdot V_j}-\sum_j{f_{ji} \cdot V_i}+\Delta V_i(t)\] | \[V_i(t+1) = V_i(t) + \sum_j{f_{ij} \cdot V_j}-\sum_j{f_{ji} \cdot V_i}+\Delta V_i(t)\] | ||
| + | i.e. the new volume is the old volume plus inward flow, minus outward flow, plus internal change of volume | ||
| and corresponding to this the quality indicator $q$: | and corresponding to this the quality indicator $q$: | ||
| \[q_i(t+1)\cdot V_i(t+1) = q_i(t) \cdot V_i(t) + \sum_j{q_j(t) \cdot f_{ij} \cdot V_j}-\sum_j{q_i(t) \cdot f_{ji} \cdot V_i}+(q=1)\cdot\Delta V_i(t)\] | \[q_i(t+1)\cdot V_i(t+1) = q_i(t) \cdot V_i(t) + \sum_j{q_j(t) \cdot f_{ij} \cdot V_j}-\sum_j{q_i(t) \cdot f_{ji} \cdot V_i}+(q=1)\cdot\Delta V_i(t)\] | ||
| + | i.e. the new ' | ||
| + | |||
| + | In order to compute the new values at each step, we have to transform the data at hand because e.g. the trading share is not given as a fraction of available money but as a fraction of absolute import/ | ||
| + | |||
| + | ===== Important Points ===== | ||
| + | * EU share is spread to all EU member countries (probably according to GDP) | ||
| + | * If $i$ exports to $j$ that is an **inflow** of money for country $i$ | ||
| + | |||
| ===== Data ===== | ===== Data ===== | ||
| Line 42: | Line 52: | ||
| * Balance of payments: https:// | * Balance of payments: https:// | ||
| * Illicit Money Flows: http:// | * Illicit Money Flows: http:// | ||
| + | |||
| - | ===== Important Points ===== | ||
| - | * EU share is spread to all EU member countries | ||
| - | * import and export can match/ | ||
| ===== Team ===== | ===== Team ===== | ||
| - | * [[user: | + | * Giancarlo Scrugli |
| - | * [[user: | + | * Loic Jaouen |
| - | * [[user: | + | * Dirk Helbing |
| - | * and other team members | + | * Vito Impagliazzo |
| + | * Ostap Cherkashin | ||
| + | * Thomas Bisig | ||
| ===== Links ===== | ===== Links ===== | ||
| - | * GitHub code https:// | + | * GitHub code https:// |
| * http:// | * http:// | ||
| * D3 examples https:// | * D3 examples https:// | ||
| + | * Slides: https:// | ||
| | | ||
| - | {{tag> | + | {{tag> |