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