Source: https://support.sas.com/resources/papers/proceedings/proceedings/sugi22/CODERS/PAPER80.PDF