HUpsider computes derivative of psi function (second derivative of rho function) for Huber
psider=HUpsider(u,c)
example
psider =HUpsider(u, c) Plot of derivative of psi function.
psider =HUpsider(u, c)
psider
u
c
expand all
x=-6:0.01:6; psiHUder=HUpsider(x,2); plot(x,psiHUder) xlabel('x','Interpreter','Latex') ylabel('$\psi''(x)$','Interpreter','Latex')
n x 1 vector containing for the n units of the sample scaled residuals or Mahalanobis distances
Data Types: single| double
single| double
scalar greater than 0 which controls the robustness/efficiency of the estimator (beta in regression or mu in the location case ...)
n x 1 vector which contains the values of the derivative of the Huber psi function associated to the residuals or Mahalanobis distances for the n units of the sample.
Function HUpsider transforms vector x as follows HUpsider(x)= \[ HUpsider(u)= \left\{ \begin{array}{cc} 1 & \mbox{if } |u/c| \leq 1 \\ 0 & |u/c|>1 \\ \end{array} \right. \]
Maronna, R.A., Martin D. and Yohai V.J. (2006), "Robust Statistics, Theory and Methods", Wiley, New York.
TBpsider | HYPpsider | OPTpsider
TBpsider
HYPpsider
OPTpsider