psi_func-class {robustbase}R Documentation

Class of "Psi Functions" for M-Estimation

Description

The class "psi_func" is used to store ψ (psi)\psi \ (psi) functions for M-estimation. In particular, an object of the class contains ρ(x) (rho)\rho(x) \ (\code{rho}), its derivative ψ(x) (psi)\psi(x) \ (psi), the weight function ψ(x)/x\psi(x)/x, and first derivative of ψ\psi, Dpsi = ψ(x)\psi'(x).

Objects from the Class

Objects can be created by calls of the form new("psi_func", ...), but preferably by psiFunc(...).

Slots

rho:

the ρ()\rho() function, an object of class "functionX". This is used to formulate the objective function; ρ()\rho() can be regarded as generalized negative log-likelihood.

psi:

ψ()\psi() is the derivative of ρ\rho, ψ(x)=ddxρ(x)\psi(x) = \frac{d}{dx} \rho(x); also of class "functionX".

wgt:

The weight function ψ(x)/x\psi(x)/x, of class "functionX".

Dpsi:

the derivative of ψ\psi, Dpsi(x)=psi(x)Dpsi(x) = psi'(x); of class "functionX".

Dwgt:

the derivative of the weight function, of class "functionX", is generated automatically if psiFunc constructor is used.

tDefs:

named numeric vector of tuning parameter Default values.

Erho:

A function of class "functionXal" for computing E[ρ(X)]E[\rho(X)] when XX is standard normal N(0,1)\mathcal{N}(0,1).

Epsi2:

A function of class "functionXal" for computing E[ψ2(X)]E[\psi^2(X)] when XX is standard normal.

EDpsi:

A function of class "functionXal" for computing E[ψ(X)]E[\psi'(X)] when XX is standard normal.

name:

Name of ψ\psi-function used for printing.

xtras:

Potentially further information.

Methods

Currently, only chgDefaults(), plot() and show().

Author(s)

Martin Maechler

See Also

psiFunc.

Examples

str(huberPsi, give.attr = FALSE)

plot(hampelPsi)# calling the plot method (nicely showing "all" !)

[Package robustbase version 0.99-3 Index]