Compute the M-estimate of location using an auxiliary estimate of the scale.
Arguments
- x
numeric values. Missing values are verbosely ignored.
- scale
scale of the
xvalues. If omitted, uses the mad().- rho
the \(\rho\) function to use. See
rho_function()for available functions.- eff
desired efficiency under the Normal model.
- cc
value of the tuning constant for the chosen \(\rho\) function. If specified, overrides the desired efficiency.
- max_it
maximum number of iterations.
- eps
numerical tolerance to check for convergence.
See also
Other functions to compute robust estimates of location and scale:
mlocscale(),
mscale(),
tau_size()