powered by
This function evaluates the first derivative of Tukey's bi-square loss function.
psi.tukey(r, k = 4.685)
A vector of the same length as r.
r
A vector of real numbers
A positive tuning constant.
Matias Salibian-Barrera, matias@stat.ubc.ca, Alejandra Martinez
x <- seq(-2, 2, length=10) psi.tukey(r=x, k = 1.5)
Run the code above in your browser using DataLab