Source: https://www.stata.com/manuals/d.pdf