Source: https://biostat.app.vumc.org/wiki/pub/Main/JeffreyHorner/paper.pdf