Skip to content

Commit

Permalink
add report md
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszgajewski committed Mar 26, 2024
1 parent d9e69fe commit 84d6101
Showing 1 changed file with 353 additions and 0 deletions.
353 changes: 353 additions & 0 deletions results/reports/report_2024-03-26_12:36:58/report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,353 @@
# PyTradeShifts Report 2024-03-26 12:36:58 UTC



## Trade communities

![](figs/trade_communities.png)

## Difference in trade communities

![](figs/community_diff.png)

## Community satisfaction

![](figs/community_satisfaction.png)

## Difference in community satisfaction

![](figs/community_satisfaction_diff.png)

## Graph structural difference to base scenario (ID=0)

<table class="dataframe" data-border="1">
<thead>
<tr class="header" style="text-align: center;">
<th></th>
<th>Frobenius</th>
<th>Markov</th>
<th>Entropy rate</th>
</tr>
<tr class="odd">
<th>Scenario ID</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<th>1</th>
<td>3.097995e+06</td>
<td>1.132055e-15</td>
<td>-1.998401e-15</td>
</tr>
</tbody>
</table>

## Centrality metrics by scenario

<table class="dataframe" data-border="1">
<thead>
<tr class="header" style="text-align: center;">
<th></th>
<th>Smallest in-degree country</th>
<th>Smallest in-degree value</th>
<th>Largest in-degree country</th>
<th>Largest in-degree value</th>
<th>Smallest out-degree country</th>
<th>Smallest out-degree value</th>
<th>Largest out-degree country</th>
<th>Largest out-degree value</th>
</tr>
<tr class="odd">
<th>Scenario ID</th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<th>0</th>
<td>Argentina</td>
<td>0.0</td>
<td>Egypt</td>
<td>0.083767</td>
<td>Afghanistan</td>
<td>0.0</td>
<td>Russia</td>
<td>0.250466</td>
</tr>
<tr class="even">
<th>1</th>
<td>Argentina</td>
<td>0.0</td>
<td>Egypt</td>
<td>0.080104</td>
<td>Afghanistan</td>
<td>0.0</td>
<td>Russia</td>
<td>0.233300</td>
</tr>
</tbody>
</table>

## Centrality metrics by community

### Degree centrality metrics for the scenario with ID: 0

<table class="dataframe" data-border="1">
<thead>
<tr class="header" style="text-align: center;">
<th></th>
<th>Smallest in-degree country</th>
<th>Smallest in-degree value</th>
<th>Largest in-degree country</th>
<th>Largest in-degree value</th>
<th>Smallest out-degree country</th>
<th>Smallest out-degree value</th>
<th>Largest out-degree country</th>
<th>Largest out-degree value</th>
</tr>
<tr class="odd">
<th>Community ID</th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<th>0</th>
<td>Argentina</td>
<td>0.000000</td>
<td>Brazil</td>
<td>0.044370</td>
<td>Bolivia</td>
<td>0.0</td>
<td>Argentina</td>
<td>0.069987</td>
</tr>
<tr class="even">
<th>1</th>
<td>Laos</td>
<td>0.000002</td>
<td>Egypt</td>
<td>0.083767</td>
<td>Albania</td>
<td>0.0</td>
<td>Russia</td>
<td>0.250466</td>
</tr>
<tr class="odd">
<th>2</th>
<td>Slovenia</td>
<td>0.000000</td>
<td>Algeria</td>
<td>0.056121</td>
<td>Algeria</td>
<td>0.0</td>
<td>France</td>
<td>0.113239</td>
</tr>
<tr class="even">
<th>3</th>
<td>India</td>
<td>0.000217</td>
<td>Uzbekistan</td>
<td>0.015324</td>
<td>Afghanistan</td>
<td>0.0</td>
<td>Kazakhstan</td>
<td>0.040950</td>
</tr>
<tr class="odd">
<th>4</th>
<td>Ukraine</td>
<td>0.000012</td>
<td>Morocco</td>
<td>0.027824</td>
<td>Israel</td>
<td>0.0</td>
<td>Ukraine</td>
<td>0.072740</td>
</tr>
<tr class="even">
<th>5</th>
<td>Australia</td>
<td>0.000000</td>
<td>Japan</td>
<td>0.037054</td>
<td>Colombia</td>
<td>0.0</td>
<td>Canada</td>
<td>0.117273</td>
</tr>
</tbody>
</table>

### Degree centrality metrics for the scenario with ID: 1

<table class="dataframe" data-border="1">
<thead>
<tr class="header" style="text-align: center;">
<th></th>
<th>Smallest in-degree country</th>
<th>Smallest in-degree value</th>
<th>Largest in-degree country</th>
<th>Largest in-degree value</th>
<th>Smallest out-degree country</th>
<th>Smallest out-degree value</th>
<th>Largest out-degree country</th>
<th>Largest out-degree value</th>
</tr>
<tr class="odd">
<th>Community ID</th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<th>0</th>
<td>Argentina</td>
<td>0.000000</td>
<td>Brazil</td>
<td>0.040896</td>
<td>Bolivia</td>
<td>0.0</td>
<td>Argentina</td>
<td>0.064897</td>
</tr>
<tr class="even">
<th>1</th>
<td>Slovenia</td>
<td>0.000000</td>
<td>Algeria</td>
<td>0.055268</td>
<td>Algeria</td>
<td>0.0</td>
<td>France</td>
<td>0.113817</td>
</tr>
<tr class="odd">
<th>2</th>
<td>Kazakhstan</td>
<td>0.000234</td>
<td>Uzbekistan</td>
<td>0.016511</td>
<td>Afghanistan</td>
<td>0.0</td>
<td>Kazakhstan</td>
<td>0.044162</td>
</tr>
<tr class="even">
<th>3</th>
<td>Laos</td>
<td>0.000002</td>
<td>Egypt</td>
<td>0.080104</td>
<td>Albania</td>
<td>0.0</td>
<td>Russia</td>
<td>0.233300</td>
</tr>
<tr class="odd">
<th>4</th>
<td>Australia</td>
<td>0.000000</td>
<td>Japan</td>
<td>0.038846</td>
<td>Colombia</td>
<td>0.0</td>
<td>Canada</td>
<td>0.109012</td>
</tr>
</tbody>
</table>

## Centrality map

![](figs/centrality_map.png)

## Stability map

![](figs/node_stability.png)

## Difference in stability

![](figs/node_stability_diff.png)

## General network characteristics

<table class="dataframe" data-border="1">
<thead>
<tr class="header" style="text-align: center;">
<th></th>
<th>Betweenness</th>
<th>Clustering</th>
<th>Efficiency</th>
<th>Entropic-attack threshold</th>
<th>Export-attack threshold</th>
<th>Random-attack threshold</th>
<th>Stability</th>
</tr>
<tr class="odd">
<th>Scenario ID</th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<th>0</th>
<td>0.00985</td>
<td>0.001634</td>
<td>0.222011</td>
<td>33</td>
<td>34</td>
<td>1e+02 +/- 1.7</td>
<td>0.000137</td>
</tr>
<tr class="even">
<th>1</th>
<td>0.009868</td>
<td>0.001744</td>
<td>0.218578</td>
<td>33</td>
<td>34</td>
<td>96 +/- 2</td>
<td>0.000141</td>
</tr>
</tbody>
</table>

## Attack resilience

![](figs/attack_resilience.png)

## Country roles

![](figs/country_roles.png)

0 comments on commit 84d6101

Please sign in to comment.