penC | R Documentation |
Solve the penalized logistic regression.
penC(x, y, off, beta, lam, pen)
x |
samples of covariates which is a |
y |
samples of binary outcome which is a |
off |
offset in logistic regression. |
beta |
initial estimates. |
lam |
value of the lasso penalty parameter |
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.