powered by
Finds the Huber M-estimator of location with MAD scale.
huber(y, k = 1.5, tol = 1e-06)
vector of data values
Winsorizes at k standard deviations
k
convergence tolerance
list of location and scale parameters
location estimate
MAD scale estimate
Huber, P. J. (1981) Robust Statistics. Wiley.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.
hubers, mad
hubers
mad
# NOT RUN { huber(chem) # }
Run the code above in your browser using DataLab