lmrob.fit | R Documentation |
Compute MM-type estimators of regression: An S-estimator is used as starting value, and an M-estimator with fixed scale and redescending psi-function is used from there. Optionally a D-step (Design Adaptive Scale estimate) as well as a second M-step is calculated.
lmrob.fit(x, y, control, init = NULL, mf = NULL, bare.only = FALSE)
x |
design matrix ( |
y |
numeric response vector (of length |
control |
a list of control parameters as returned
by |
init |
optional |
mf |
defunct. |
bare.only |
logical indicating if the result should be
|
This function is the basic fitting function for MM-type estimation,
called by lmrob
and typically not to be used on its own.
If given, init
must be a list of initial estimates containing
at least the initial coefficients and scale as coefficients
and
scale
. Otherwise it calls lmrob.S(..)
and uses it
as initial estimator.
A list with components (some missing in case bare.only
is true)
fitted.values |
|
residuals |
the raw residuals, |
rweights |
robustness weights derived from the final M-estimator residuals (even when not converged). |
rank |
|
degree.freedom |
|
coefficients |
estimated regression coefficient vector |
scale |
the robustly estimated error standard deviation |
cov |
variance-covariance matrix of |
control |
|
iter |
|
converged |
logical indicating if the RWLS iterations have converged. |
init.S |
the whole initial S-estimator result, including its own
|
init |
A similar list that contains the results of intermediate estimates (not for MM-estimates). |
Matias Salibian-Barrera, Martin Maechler and Manuel Koller
lmrob
,
lmrob..M..fit
,
lmrob..D..fit
,
lmrob.S
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.