Description Usage Arguments Value Examples
Provides a class of tests for testing in highdimensional linear models. The tests are robust against heteroscedasticity and nonnormality. They often provide good type I error control even under antisparsity.
1  doubleres(y,X,X1,nperm=2E4,lambda="lambda.min",flip="FALSE",nfolds=10)

y 
The values of the outcome. 
X 
The design matrix.
If the covariate of interest is included in 
X1 
nvector with the (1dimensional) covariate of interest.

nperm 
The number of random permutations (or signflipping maps) used by the test 
lambda 
The penalty used in the ridge regressions. Default is 
flip 
Default is "FALSE", which means that permutation is used. If "TRUE", then signflipping is used. 
nfolds 
The number of folds used in the crossvalidation (in case lambda is determined using crossvalidation). 
A twosided pvalue.
1 2 3 4 5 6 7 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.