\Header{huber}{Huber M-estimator of Location with MAD Scale}
\keyword{robust}{huber}
\begin{Description}\relax
Finds the Huber M-estimator of location with MAD scale.\end{Description}
\begin{Usage}
\begin{verbatim}
huber(y, k = 1.5, tol = 1e-06)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{y}] vector of data values

\item[\code{k}] Winsorizes at \code{k} standard deviations

\item[\code{tol}] convergence tolerance

\end{ldescription}
\end{Arguments}
\begin{Value}
list of location and scale parameters

\begin{ldescription}
\item[\code{mu}] location estimate

\item[\code{s}] MAD scale estimate

\end{ldescription}
\end{Value}
\begin{References}\relax
Huber, P. J. (1981)
\emph{Robust Statistics.}
Wiley.

Venables, W. N. and Ripley, B. D. (2002)
\emph{Modern Applied Statistics with S.} Fourth edition.  Springer.\end{References}
\begin{SeeAlso}\relax
\code{\Link{hubers}}, \code{\Link{mad}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
huber(chem)
\end{ExampleCode}
\end{Examples}

