Source: https://www.imf.org/external/np/seminars/fra/2006/rppia/pdf/ruhash.pdf