powered by
A data set simulated for illustrating logistic regression models. Generated by gen.binomial.data(n = 200, p = 20, seed = 2021).
gen.binomial.data(n = 200, p = 20, seed = 2021)
data(bin_data)
A list with three elements: design matrix X, response y, and the true coefficient vector beta.
X
y
beta
design matrix
response
the true coefficient vector
data("bin_data") cv.fit <- cv.glmtlp(bin_data$X, bin_data$y, family = "binomial", penalty = "l1") plot(cv.fit)
Run the code above in your browser using DataLab