n x 1 vector which contains the (unscaled) residuals or
Mahalanobis distances
Data Types: single | double
A structure specifying the class of rho (psi) function to use, the
consistency factor, and the value associated with the
Expectation of rho in correspondence of the consistency factor.
psifunc must contain the following fields:
Value |
Description |
class |
string identyfing the rho (psi) function to use.
Admissible values for class are 'bisquare' (TB),
'optimal', (OPT) 'hyperbolic' (HYP), 'hampel' (HA)
'power divergence' (PD) and 'Andrew's sine function0
(AS).
|
c1 |
consistency factor (and other parameters)
associated to required breakdown point or nominal
efficiency.
More precisely, psifunc.c1(1) contains consistency
factor associated to required breakdown point or
nominal efficiency psifunc.c1(2:end) contain other
parameters associated with the rho (psi) function.
For example, if psifunc.class='hampel', c1(2:4) must
contain parameters (a, b and c) of Hampel rho function.
|
kc1 |
Expectation of rho associated with c1 to get a
consistent estimator at the model distribution
kc1=E(rho)
|
Example: Example - psifunc.class='TB';psifunc.c1=1.5476;psifunc.kc1=0.1996
Data Types: struct
If not defined, scaled MAD of vector |u| is used.
Example: 'initialsc',0.34
Data Types: double
If not defined, tol is fixed to 1e-7.
Example: 'tol',1e-10
Data Types: double
If not defined, maxiter is fixed to 200.
Example: 'maxiter',100
Data Types: double