Misc

Pool-adjacent-violators algorithm

Robert and Casella (2005)arrow-up-right provides the following exercise related to pool-adjacent-violators algorithm.

We need to learn isotonic regressionarrow-up-right first, and it turns out that this is exactly the simply ordered case mentioned in the wiki.

Use R program to solve this problem, and the code is as follows.

We can also use another scientific programming language, Julia.

Tree ordering

In Robert and Casella (2005)arrow-up-right, there is another exercise about isotonic regression, which is the continuation of the previous section.

The following Julia program can be used to solve this exercise.

Last updated