Simultaneous estimation of the location and scale by means of M-estimates.
mlocscale(
x,
bdp = 0.25,
scale_cc = consistency_const(bdp, "bisquare"),
location_rho,
location_cc,
opts = mscale_algorithm_options()
)
numeric values. Missing values are verbosely ignored.
desired breakdown point (between 0 and 0.5).
cutoff value for the bisquare \(\rho\) function for computing the scale estimate. By default, chosen to yield a consistent estimate for normally distributed values.
\(\rho\) function and cutoff value for computing
the location estimate.
See rho_function()
for a list of available \(\rho\) functions.
a list of options for the M-estimating equation,
see mscale_algorithm_options()
for details.
a vector with 2 elements, the M-estimate of location and the M-scale estimate.