Skip to content

Commit 9e7a081

Browse files
authored
Merge pull request #39 from jonathan-taylor/master
beta version of randomized LASSO
2 parents 89c115e + 690f0ea commit 9e7a081

File tree

12 files changed

+582
-24
lines changed

12 files changed

+582
-24
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ addons:
1111
warnings_are_errors: true
1212
before_install:
1313
- tlmgr install index # for texlive and vignette?
14-
- R -e 'install.packages(c("Rcpp", "intervals"), repos="http://cloud.r-project.org")'
14+
- R -e 'install.packages(c("Rcpp", "intervals", "adaptMCMC", "glmnet"), repos="http://cloud.r-project.org")'
1515
- cd C-software
1616
- git submodule init
1717
- git submodule update

selectiveInference/DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Depends:
1010
glmnet,
1111
intervals,
1212
survival,
13+
adaptMCMC,
1314
Suggests:
1415
Rmpfr
1516
Description: New tools for post-selection inference, for use with forward

selectiveInference/NAMESPACE

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export(lar,fs,
1414
TG.pvalue,
1515
TG.limits,
1616
TG.interval,
17-
debiasingMatrix
17+
debiasingMatrix,
18+
randomizedLassoInf
1819
)
1920

2021
S3method("coef", "lar")
@@ -40,8 +41,9 @@ import(intervals)
4041
import(survival)
4142
importFrom("graphics", abline, axis, matplot)
4243
importFrom("stats", dnorm, lsfit, pexp, pnorm, predict,
43-
qnorm, rnorm, sd, uniroot, dchisq, model.matrix, pchisq)
44+
qnorm, rnorm, sd, uniroot, dchisq, model.matrix, pchisq, resid)
4445
importFrom("stats", "coef", "df", "lm", "pf")
4546
importFrom("stats", "glm", "residuals", "vcov")
4647
importFrom("stats", "rbinom", "rexp")
4748
importFrom("Rcpp", "sourceCpp")
49+
importFrom("adaptMCMC", "MCMC")

0 commit comments

Comments
 (0)