Provides routines to perform L1 estimation in linear regression models. Estimation of mean and covariance matrix using the multivariate Laplace distribution, and multivariate random number generation for the Laplace distribution. A basic set of methods for printing the results is also available.
Latest binaries and sources can be found at the CRAN package repository:
- L1pack_0.41-245.tar.gz - Package sources
- L1pack_0.41-24.zip - Windows binaries (R-release)
- L1pack_0.41-24.tgz - MacOS binaries (R-release, arm64)
- L1pack_0.41-24.tgz - MacOS binaries (R-release, x86_64)
Install L1pack
from CRAN using.
install.packages("L1pack")
You can install the latest development version from github with:
# install.packages("devtools")
devtools::install_github("faosorios/L1pack")
The methods implemented in L1pack
include:
- Barrodale and Roberts (1974) procedure for L1 estimation in linear regression.
- EM algorithm for LAD estimation in linear regression (Phillips, 2002).
- Estimation of center and Scatter matrix using the multivariate Laplace distribution.
- Density, distribution function, quantile function and random number generation for univariate Laplace distribution.
- Density and random number generation for the multivariate Laplace distribution (Gomez et al., 1998).
To cite package L1pack
in publications use:
citation("L1pack")
#>
#> To cite package L1pack in publications use:
#>
#> Osorio, F., Wolodzko, T. (2024). Routines for L1 estimation. R
#> package version 0.41-245. URL: http://l1pack.mat.utfsm.cl
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {Routines for L1 estimation},
#> author = {F. Osorio and T. Wolodzko},
#> year = {2024},
#> note = {R package version 0.41-245},
#> url = {http://l1pack.mat.utfsm.cl},
#> }
Please report any bugs/suggestions/improvements to Felipe Osorio. If you find these routines useful or not then please let me know. Also, acknowledgement of the use of the routines is appreciated.
Felipe Osorio is an Assistant Professor at Department of Mathematics, Universidad Tecnica Federico Santa Maria, Chile.
- Webpage: fosorios.mat.utfsm.cl
Tymoteusz Wolodzko is Software Engineer and Machine Learning Engineer. Also is elected moderator for CrossValidated.com
- Webpage: twolodzko.github.io