Description Usage Arguments Value
View source: R/robustregression.R
Weight function for Hample's psi, giving w_i = \frac{psi(u)}{u}
1 | wt.Hampel(u, k = 0.901608)
|
u |
vector of centered and scaled residuals |
k |
a tuning constant. the default is 0.901608, which yields an asymptotic relative efficiency under normality of 95 percent. Note that in this package the three parameters a,b,and c commonly utilized are hard coded to give the psi function a slope of -1/3 at the origin. k is multiplied by a,b,c to yield a simpler and more consistent means of tuning the function. |
a numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.