Skip to Main Content

pLASSO

pLASSO is a statistical method which incorporates prior information into the L1 penalized generalized linear models. We distribute here two R functions (function_linear.R and function_logistic.R) related to pLASSO. These two functions are for linear regression and logistic regression, respectively. Both functions can find all six estimators compared in Jiang, He, and Zhang (2014), i.e., LASSO, p, pLASSO; LASSO-A, p-A, pLASSO-A. The functions use cross validation to select the optimal tuning parameters. See the following paper for more details.

  • Jiang Y, He Y, and Zhang H. (2014). Variable selection with prior information for generalized linear models via the pLASSO method.

Input Files:

  • Design matrix: A numerical matrix x including the observations of predictors.
  • Response vector: A numerical vector y including the observations of responses. In linear regression, y is continuous; while in logistic regression, y is binary (0/1).

Sample Program:

You can find a sample R program (sample_linear.R) for linear regression on simulated x (x_linear.txt) and y (y_linear.txt), as well as a sample R program (sample_logistic.R) for logistic regression on simulated x (x_logistic.txt) and y (y_logistic.txt).

Instruction: