Source: https://www.stata.com/manuals13/rcentile.pdf