A Framework for Assessing Global Imbalances