kStepEstimator.start-methods {RobAStBase} | R Documentation |
Methods for function kStepEstimator.start in Package ‘RobAStBase’
Description
kStepEstimator.start-methods; these are called from within
kStepEstimator
to produce a numeric value of for the starting estimator
in the end.
Usage
kStepEstimator.start(start, ...)
## S4 method for signature 'numeric'
kStepEstimator.start(start, nrvalues, ...)
## S4 method for signature 'Estimate'
kStepEstimator.start(start, nrvalues, ...)
## S4 method for signature 'function'
kStepEstimator.start(start, x, nrvalues, na.rm, L2Fam, startList)
Arguments
start |
the start slot of an object of class |
nrvalues |
numeric; dimension |
x |
the data at which the starting estimator is to be evaluated. |
na.rm |
logical: if |
startList |
a list of arguments to be given to the call to |
L2Fam |
the parametric famliy; |
... |
further arguments for |
Value
a numeric vector with the corresponding value of the start estimator
(in k
space)
Methods
- kStepEstimator.start
signature(start = "numeric")
: returns the unchanged argumentstart
if it has the correct length; otherwise throws an error.- kStepEstimator.start
signature(start = "Estimate")
: returns slotuntransformed.estimate
ofstart
if it is notNULL
, and else slotestimate
if the latter has dimensionnrvalues
.- kStepEstimator.start
signature(start = "function")
: returnskStepEstimator.start(do.call(start, args=c(list(x,L2Fam),startList)
where, ifna.rm == TRUE
, beforehandx
has been modified tox <- complete.cases(x)
.
Author(s)
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de
References
Rieder, H. (1994) Robust Asymptotic Statistics. New York: Springer.
See Also
kStepEstimator
,ALEstimate-class