DDHFm (version 1.1.2)

isotone: Performs Isotone regression using "pool-adjacent-violators" algorithm

Description

It is applied in order to estimate the h() function in the Data-Driven Haar-Fisz algorithm

Usage

isotone(x, wt = rep(1, length(x)), increasing = FALSE, Ccode=TRUE)

Value

isotone

the regression results

Arguments

x

the vector that will be fitted with the regression

wt

a vector of weights

increasing

if TRUE the curve is set to be increasing, else FALSE

Ccode

if TRUE then faster C code is used rather than R

Author

Bernard Silverman, with C modifications by GPN

References

Johnstone, I.M. and Silverman, B.W. (2005), EbayesThresh: R and S-Plus programs for empirical Bayes thresholding, Journal of Statistical Software, to appear