Source: https://www.kellogg.northwestern.edu/faculty/georgiadis/Teaching/Ec731_Module2.pdf