Usage
CovSest(x, bdp = 0.5, arp = 0.1, eps = 1e-5, maxiter = 120,
nsamp = 500, seed = NULL, trace = FALSE, tolSolve = 1e-14,
scalefn, maxisteps=200, initHsets = NULL, save.hsets = FALSE,
method = c("sfast", "surreal", "bisquare", "rocke", "suser", "sdet"), control,
t0, S0, initcontrol)
Arguments
bdp
a numeric value specifying the required
breakdown point. Allowed values are between
(n - p)/(2 * n)
and 1 and the default is bdp=0.5
.
arp
a numeric value specifying the asympthotic
rejection point (for the Rocke type S estimates),
i.e. the fraction of points receiving zero
weight (see Rocke (1996)). Default is arp=0.1
.
eps
a numeric value specifying the
relative precision of the solution of the S-estimate
(bisquare and Rocke type). Default is to eps=1e-5
.
maxiter
maximum number of iterations allowed
in the computation of the S-estimate (bisquare and Rocke type).
Default is maxiter=120
.
nsamp
the number of random subsets considered. The default is different for the different methods:
(i) for sfast
it is nsamp = 20
,
(ii) for surreal
it is nsamp = 600*p
and
(iii) for bisquare<
seed
starting value for random generator. Default is seed = NULL
.
trace
whether to print intermediate results. Default is trace = FALSE
.
tolSolve
numeric tolerance to be used for inversion
(solve
) of the covariance matrix in
mahalanobis
. scalefn
function
to compute a robust scale
estimate or character string specifying a rule determining such a
function. Used for computing the "deterministic" S-estimates (method="sdet"
).
maxisteps
maximal number of concentration steps in the
deterministic S-estimates; should not be reached.
initHsets
NULL or a $K x n$ integer matrix of initial
subsets of observations of size (specified by the indices in
1:n
).
save.hsets
(for deterministic S-estimates) logical indicating if the
initial subsets should be returned as initHsets
.
method
Which algorithm to use: 'sfast'=C implementation of FAST-S, 'surreal'=SURREAL,
'bisquare', 'rocke'. The method 'suser' currently calls the R implementation of FAST-S
but in the future will allow the user to supply own rho
function.
control
a control object (S4) of class CovControlSest-class
containing estimation options - same as these provided in the fucntion
specification. If the control object is supplied, the parame t0
optional initial HBDP estimate for the center
S0
optional initial HBDP estimate for the covariance matrix
initcontrol
optional control object to be used for computing the initial HBDP estimates