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.
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.
For a concrete isotonic regression model, observe with independent Gaussian distribution errors of expected value zero and fixed variance . Let for fixed , and use normalized squared-error loss . The minimax risk over has orderas with fixed. This states the model and loss behind the shorthand rate .
The isotonic least squares estimator satisfies an upper bound of order . Locally increasing sequences supply matching lower bounds for the first term. The primary analysis also shows why a worst-case rate does not describe every signal: when the true sequence has few constant blocks, the risk can be substantially smaller.[ref]
A heuristic for the exponent is to approximate a changing monotone signal by blocks: squared approximation error scales as , while estimating block levels costs approximately . Balancing these gives and risk . This balance motivates the rate; it does not replace the lower-bound argument. Uniformly constant signals or a variation bound shrinking with require their own regime analysis.
Articles by others on the same topic
Isotonic regression is a non-parametric regression technique used to find a best-fit line or curve that preserves the order of the data points. The objective of isotonic regression is to find a piecewise constant function that minimizes the sum of squared deviations from the observed values while ensuring that the fitted values are non-decreasing (i.e., they maintain the order of the independent variable).