lassopv-package: Nonparametric P-Value Estimation for Predictors in Lasso

Description Details Author(s) References Examples

Description

Estimate the p-values for predictors x against target variable y in lasso regression, using the regularization strength when each predictor enters the active set of regularization path for the first time as the statistic. This is based on the assumption that predictors (of the same variance) that (first) become active earlier tend to be more significant. Three null distributions are supported: normal and spherical, which are computed separately for each predictor and analytically under approximation, which aims at efficiency and accuracy for small p-values.

Details

This R package provides a simple and efficient method to estimate the p-value of every predictor on a given target variable. The method is based on lasso regression and compares when every predictor enters the active set of the regulatization path against a normally distributed null predictor. The null distribution is computed analytically under approximation, whose errors are small for significant predictors. The whole computation only requires a single lasso regression over the regularization path, and is capable of analyzing high dimensional datasets.

Author(s)

Lingfei Wang <Lingfei.Wang.github@outlook.com>

References

Lingfei Wang and Tom Michoel, Comparable variable selection with lasso, https://arxiv.org/pdf/1701.07011. 2017, 2018.

Examples

1
2
3
4
5
library(lars)
library(lassopv)
data(diabetes)
attach(diabetes)
pv=lassopv(x,y)

Example output

Loaded lars 1.2

lassopv documentation built on May 2, 2019, 9:13 a.m.