Laplace regression (source code)

= Laplace regression

= Least absolute deviations
{synonym}

In the model
$$
Y_i\mid X_i\sim\operatorname{Laplace}(X_i^T\beta,\sigma),
$$
maximum likelihood minimizes the sum of absolute residuals
$$
S(\beta)=\sum_i|Y_i-X_i^T\beta|.
$$
The scale estimate is $\widehat\sigma=S(\widehat\beta)/n$.