Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
project:qualified_money [2013/03/23 11:53] – [Algorithm] thomasproject:qualified_money [2018/11/13 14:39] (current) – [Data] alicesmith
Line 1: Line 1:
-===== qualified Money =====+===== Qualified Money =====
  
-We want to simulate the spreading of bad quality money in first step, and then implement qualifiers that regulate bad/good money.+We simulate the spreading of tainted money. In second step, we implement qualifiers that regulate different qualities of money.
  
-First step was to gather money flow data. For this purpose, every country's trade import and export is used [1]. As there is know historical data of the trade partner fractions, the most recent data is used for all years [2].+First step was to gather money flow data. For this purpose, every country's trade import and export is used [1]. As there is no historical data of the trade partner fractions, the most recent data is used for all years [2].
  
 Money can be contagious (i.e. if a country receives _any_ bad money, the country is 'bad') or bad money dilutes with respect to the money reservoir of the country. In the first case, no trade amounts are necessary. In the second case of dilution, we start with the amount of money (M2) in the country as initial value. Money can be contagious (i.e. if a country receives _any_ bad money, the country is 'bad') or bad money dilutes with respect to the money reservoir of the country. In the first case, no trade amounts are necessary. In the second case of dilution, we start with the amount of money (M2) in the country as initial value.
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.
  
- +{{ :project:world.png?nolink&600 |}}
-(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 trade amount is spread with everyone or scale the trade partners to 100%+  * Money that is created is untainted ($q=1$) 
 +  * For the remaining trade amount, there are different options 
 +    * spread with everyone 
 +    * scale the trade partners to 100% 
 +    * trade the rest with the country's neighbors (data should reflect that) 
 +    * 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 'quality' is the weighted average of the quality-weighted current volume, minus the quality weighted outward flow, plus the quality weighted inward flow, plus internal change of volume (which is assumed to be clear).
 +
 +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/export.
 +
 +===== 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://en.wikipedia.org/wiki/Balance_of_payments   * Balance of payments: https://en.wikipedia.org/wiki/Balance_of_payments
   * Illicit Money Flows: http://iffdec2011.gfintegrity.org/downloads.html   * Illicit Money Flows: http://iffdec2011.gfintegrity.org/downloads.html
 + 
  
-===== Important Points ===== 
-  * EU share is spread to all EU member countries 
-  * import and export can match/mismatch => cross check 
  
  
 ===== Team ===== ===== Team =====
  
-  * [[user:gscrugli]] +  * Giancarlo Scrugli 
-  * [[user:loic.jaouen]] +  * Loic Jaouen 
-  * [[user:Thomas]] +  * Dirk Helbing 
-  * and other team members +  * Vito Impagliazzo 
 +  * Ostap Cherkashin 
 +  * Thomas Bisig
 ===== Links ===== ===== Links =====
  
-   * GitHub code https://github.com/gscrugli/Opendata/branches+   * GitHub code https://github.com/vimpagliazzo/Opendata
   * http://www.d3noob.org/   * http://www.d3noob.org/
   * D3 examples https://github.com/mbostock/topojson/wiki/Gallery   * D3 examples https://github.com/mbostock/topojson/wiki/Gallery
 +  * Slides: https://github.com/vimpagliazzo/Opendata/blob/master/QualifiedMoney.pptx
      
-{{tag>status:concept needs:dev needs:design needs:data needs:expert}}+{{tag>status:concept needs:dev needs:design needs:data needs:expert finance}}
  • project/qualified_money.1364035985.txt.gz
  • Last modified: 2013/03/23 11:53
  • by thomas