Description Usage Arguments Value Examples
Provides a class of tests for testing in high-dimensional linear models. The tests are robust against heteroscedasticity and non-normality. They often provide good type I error control even under anti-sparsity.
1 | FLhd(y,X,X1,nperm=2E4,lambda="lambda.min",flip="FALSE",nfolds=10,statistic="partialcor")
|
y |
The values of the outcome. |
X |
The design matrix. If the covariate of interest is included in |
X1 |
n-vector with the (1-dimensional) covariate of interest.
|
nperm |
The number of random permutations (or sign-flipping 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 sign-flipping is used. |
statistic |
The type of statistic that is used within the permutation test.
Either the partial correlation ( |
nfolds |
The number of folds used in the cross-validation (in case lambda is determined using cross-validation). |
A two-sided p-value.
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.