How to employ WITS database and Python programming language
The following steps will serve as a guideline to find which countries have a greater discrepancy in terms of importation and exportation using mirror statistics:
Create a new notebook using the Google Colab environment.
Select five countries and construct all possible pairwise analyses.
Read the data from WITS database and extract importation and exportation data for all five countries.
For all pairs of countries identify how much is the discrepancy.
For the five countries create a rank using the discrepancy measure.
Although these steps seem to be generic, further sections will describe in detail how to do each step.