The PAVA algorithm
A numeric sequence
observation weights; 1 by default.
The algorithm will turn a non-increasing into a non-decreasing one. pava is an internal function used to force monotonicity, e.g. of p1 in function Zfreq
A non-decreasing sequence
R.F. Raubertas, code from S list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.