ridgePvals | R Documentation |
Standard error estimation and significance testing for coefficients
estimated in linear ridge regression. ridgePvals
re-implement
original method by (Cule et al. BMC Bioinformatics 2011.) found in
ridge-package. This function is intended to use with
cv.glmnet
output.
ridgePvals(x, y, beta, lambda, standardizex = TRUE, svdX = NULL)
x |
input matrix, same as used in |
y |
response variable, same as used in |
beta |
matrix of coefficients, estimated using
|
lambda |
lambda value for which |
standardizex |
logical flag for x variable standardization, should be
set to same value as |
svdX |
optional singular-value decomposition of |
a data.frame with columns
beta
's names
beta
's standard errors
beta
's test statistic
beta
's p-values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.