penC {CSTE} | R Documentation |
Solve the penalized logistic regression.
Description
Solve the penalized logistic regression.
Usage
penC(x, y, off, beta, lam, pen)
Arguments
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. |
Value
A numeric vector, estimate of beta
[Package CSTE version 2.0.0 Index]