Description Usage Arguments Value
Solve the penalized logistic regression.
1 |
x |
samples of covariates which is a n*p matrix. |
y |
samples of binary outcome which is a n*1 vector. |
off |
offset in logistic regression. |
beta |
initial estimates. |
lam |
value of the lasso penalty parameter λ for β_1 and β_2. |
pen |
1: MCP estimator; 2: SCAD estimator. |
A numeric vector, estimate of beta
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.