| lambda00 | R Documentation |
Robust estimate of the smallest value of the penalty parameter that sets all
slopes of the (lasso-penalized) logistic regression to zero. enetLTS
uses it as the upper end of the default lambdas grid for
family = "binomial".
lambda00(x, y, normalize = TRUE, intercept = TRUE, const = 2, prob = 0.95,
tol = .Machine$double.eps^0.5, eps = .Machine$double.eps, ...)
x |
a numeric matrix of predictors. |
y |
a numeric 0/1 response vector. |
normalize |
logical; whether the winsorized predictors are normalized. The
default is |
intercept |
logical; whether the model has an intercept. The default is
|
const |
tuning constant of the univariate winsorization. The default is 2. |
prob |
probability of the |
tol |
a small positive value used to detect singularity in the computation of the correlations for the bivariate winsorization. |
eps |
a small positive value below which a robust scale estimate is treated as zero. |
... |
further arguments passed to |
The procedure follows lambda0 (Alfons et al., 2013),
which is used for family = "gaussian": the predictors are robustly
standardized and the correlations between the response and each predictor are
computed on winsorized data. For the 0/1 response of logistic regression the
Pearson correlation is replaced by a robustified point-biserial correlation
(Kurnaz et al., 2018).
A single positive number.
Fatma Sevinc Kurnaz, Irene Hoffmann, Peter Filzmoser
Maintainer: Fatma Sevinc Kurnaz <fatmasevinckurnaz@gmail.com>
Kurnaz, F.S., Hoffmann, I. and Filzmoser, P. (2018). Robust and sparse estimation methods for high-dimensional linear and logistic regression. Chemometrics and Intelligent Laboratory Systems, 172, 211–222. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.chemolab.2017.11.017")}
Alfons, A., Croux, C. and Gelper, S. (2013). Sparse least trimmed squares regression for analyzing high-dimensional large data sets. The Annals of Applied Statistics, 7(1), 226–248.
enetLTS, lambda0,
sparseLTS
data("BinomialExample")
lambda00(BinomialExample$x, BinomialExample$y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.