lambda00: Robust upper end of the penalty grid for logistic regression

View source: R/lambda00.R

lambda00R Documentation

Robust upper end of the penalty grid for logistic regression

Description

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".

Usage

lambda00(x, y, normalize = TRUE, intercept = TRUE, const = 2, prob = 0.95,
         tol = .Machine$double.eps^0.5, eps = .Machine$double.eps, ...)

Arguments

x

a numeric matrix of predictors.

y

a numeric 0/1 response vector.

normalize

logical; whether the winsorized predictors are normalized. The default is TRUE.

intercept

logical; whether the model has an intercept. The default is TRUE.

const

tuning constant of the univariate winsorization. The default is 2.

prob

probability of the \chi^2 quantile used in the bivariate winsorization. The default is 0.95.

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 robStandardize.

Details

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).

Value

A single positive number.

Author(s)

Fatma Sevinc Kurnaz, Irene Hoffmann, Peter Filzmoser
Maintainer: Fatma Sevinc Kurnaz <fatmasevinckurnaz@gmail.com>

References

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.

See Also

enetLTS, lambda0, sparseLTS

Examples

data("BinomialExample")
lambda00(BinomialExample$x, BinomialExample$y)

enetLTS documentation built on Nov. 22, 2026, 1:08 a.m.