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