Class of "Psi Functions" for M-Estimation
The class "psi_func" is used to store psi
functions for M-estimation. In particular, an object of the class
contains rho(x), its derivative
psi(x), the weight function ψ(x)/x, and
first derivative of ψ, Dpsi = ψ'(x).
Objects can be created by calls of the form new("psi_func", ...),
but preferably by psiFunc(...).
rho:the rho() function, an object of
class "functionX". This is used to formulate the
objective function; ρ() can be regarded as generalized
negative log-likelihood.
psi:psi() is the derivative of ρ,
psi(x) = d/dx rho(x);
also of class "functionX".
wgt:The weight function ψ(x)/x,
of class "functionX".
Dpsi:the derivative of ψ,
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)] when X is standard normal
N(0,1).
Epsi2:A function of class "functionXal" for
computing E[ψ^2(X)] when X is standard normal.
EDpsi:A function of class "functionXal" for
computing E[ψ'(X)] when X is standard normal.
name:Name of psi-function used for printing.
xtras:Potentially further information.
Currently, only chgDefaults(), plot()
and show().
Martin Maechler
str(huberPsi, give.attr = FALSE) plot(hampelPsi)# calling the plot method (nicely showing "all" !)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.