-
Notifications
You must be signed in to change notification settings - Fork 3
/
README.Rmd
executable file
·84 lines (57 loc) · 2.39 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
output: github_document
bibliography: ./inst/REFERENCES.bib
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# hdme
<!-- badges: start -->
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/hdme)](https://cran.r-project.org/package=hdme)
[![codecov](https://codecov.io/gh/osorensen/hdme/branch/master/graph/badge.svg)](https://app.codecov.io/gh/osorensen/hdme)
[![DOI](http://joss.theoj.org/papers/10.21105/joss.01404/status.svg)](https://doi.org/10.21105/joss.01404)
[![R-CMD-check](https://github.com/osorensen/hdme/workflows/R-CMD-check/badge.svg)](https://github.com/osorensen/hdme/actions)
<!-- badges: end -->
The goal of hdme is to provide penalized regression methods for High-Dimensional Measurement Error problems (errors-in-variables).
## Installation
Install `hdme` from CRAN using.
```{r, eval=FALSE}
install.packages("hdme")
```
You can install the latest development version from github with:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("osorensen/hdme", build_vignettes = TRUE)
```
### Dependency on Rglpk
`hdme` uses the [Rglpk package](https://cran.r-project.org/package=Rglpk), which requires the GLPK library package to be installed. On some platforms this requires a manual installation.
On Debian/Ubuntu, you might use:
```{sh, eval=FALSE}
sudo apt-get install libglpk-dev
```
On macOS, you might use:
```{sh, eval=FALSE}
brew install glpk
```
## Methods
hdme provides implementations of the following algorithms:
The methods implemented in the package include
* Corrected Lasso for Linear Models (@loh2012)
* Corrected Lasso for Generalized Linear Models (@sorensen2015)
* Matrix Uncertainty Selector for Linear Models (@rosenbaum2010)
* Matrix Uncertainty Selector for Generalized Linear Models (@sorensen2018)
* Matrix Uncertainty Lasso for Generalized Linear Models (@sorensen2018)
* Generalized Dantzig Selector (@james2009)
## Contributions
Contributions to `hdme` are very welcome. If you have a question or suspect you have found a bug, please [open an Issue](https://github.com/osorensen/hdme/issues). Code contribution by pull requests are also appreciated.
## Citation
If using hdme in a scientific publication, please cite the following paper:
```{r}
citation("hdme")
```
## References