psiFunctions: psiOne

Description Usage Arguments Examples

Description

psiOne is a Huber influence function. getK function to compute capital K – used internally.

Usage

1
2
3
psiOne(u, k = 1.345, deriv = FALSE)

getK(k)

Arguments

u

standardized residuals

k

tuning constant

deriv

if TRUE returns the derivative

Examples

1
2
3
set.seed(1)
u <- rnorm(10)
psiOne(u, k = 1.345, deriv = FALSE)

wahani/saeRobustTools documentation built on May 3, 2019, 8:09 p.m.