Busing, F. M. T. A. (2022) “Monotone Regression: A Simple and Fast O(n) PAVA Implementation”, Journal of Statistical Software, Code Snippets, 102(1), pp. 1–25. doi: 10.18637/jss.v102.c01.