Simultaneous estimation of the location and scale by means of M-estimates.
mlocscale(
x,
bdp = 0.25,
eff = 0.9,
scale_cc,
location_rho,
location_cc,
opts = mscale_algorithm_options()
)a vector with 2 elements, the M-estimate of location and the M-scale estimate.
numeric values. Missing values are verbosely ignored.
desired breakdown point (between 0 and 0.5).
desired efficiency of the location estimate (between 0.1 and 0.99).
tuning constant for the \(\rho\) function for computing the scale estimate. By default, chosen to yield a consistent estimate for normally distributed values.
\(\rho\) function for computing the location estimate.
If missing, use the same function as for the scale estimate (opts$rho).
See rho_function() for a list of available \(\rho\) functions.
tuning constant for the location \(\rho\) function. By default chosen to yield the desired efficiency. If this is provided, the desired efficiency is ignored.
a list of options for the M-scale estimating equations,
See mscale_algorithm_options() for details.
Other functions to compute robust estimates of location and scale:
mloc(),
mscale(),
tau_size()