psiOne {saeRobust} | R Documentation |
psiOne
Description
psiOne
is a Huber influence function. getK
function to compute capital K – used internally.
Usage
psiOne(u, k = 1.345, deriv = FALSE)
getK(k)
Arguments
u |
standardized residuals |
k |
tuning constant |
deriv |
if |
Examples
set.seed(1)
u <- rnorm(10)
psiOne(u, k = 1.345, deriv = FALSE)
[Package saeRobust version 0.5.0 Index]