Isotonic least squares estimator 2026-11-05
For observations in a known covariate order, the isotonic least squares estimator solvesIt is the orthogonal projection of the observation vector onto a closed convex cone of nondecreasing sequences. Strict convexity of the squared distance gives a unique estimate.
For data , the first pair violates monotonicity. Pooling it gives mean two, producing with squared error two. The pool adjacent violators algorithm repeatedly merges neighboring blocks whose means are out of order; the fitted value is constant at the block mean on each final block.
Positive observation weights replace squared error by and block means by weighted means. The order restriction regularizes the estimate without specifying a fixed polynomial form. The method requires the ordering to be meaningful; it does not discover an unknown covariate order from the response values.
Pool adjacent violators algorithm Created 2026-10-20 Updated 2026-11-05
The pool adjacent violators algorithm solves weighted isotonic regression: minimize with and . Start with singleton blocks. Whenever consecutive fitted block means decrease, merge the two blocks and replace them by their weighted mean; continue until no violation remains. For equal weights and observations , merging the first two gives the solution . A stack implementation revisits each block only when merging it, giving linear time. Pooling is required by the order-constrained optimum: two reversed adjacent blocks cannot remain separate fitted levels.