ADSIHT | R Documentation |
An implementation of the sparse group selection in linear regression model via ADSIHT.
ADSIHT(
x,
y,
group,
s0,
kappa = 0.9,
ic.type = c("dsic", "loss"),
ic.scale = 3,
ic.coef = 3,
L = 5,
weight = rep(1, nrow(x)),
coef1 = 1,
coef2 = 1,
eta = 0.8,
max_iter = 20,
method = "ols"
)
x |
Input matrix, of dimension |
y |
The response variable of |
group |
A vector indicating which group each variable belongs to
For variables in the same group, they should be located in adjacent columns of |
s0 |
A vector that controls the degrees with group.
Default is |
kappa |
A parameter that controls the rapid of the decrease of threshold. Default is 0.9. |
ic.type |
The type of criterion for choosing the support size.
Available options are |
ic.scale |
A non-negative value used for multiplying the penalty term
in information criterion. Default: |
ic.coef |
A non-negative value used for multiplying the penalty term
for choosing the optimal stopping time. Default: |
L |
The length of the sequence of s0. Default: |
weight |
The weight of the samples, with the default value set to 1 for each sample. |
coef1 |
A positive value to control the sub-optimal stopping time. |
coef2 |
A positive value to control the overall stopping time. A small value leads to larger search range. |
eta |
A parameter controls the step size in the gradient descent step.
Default: |
max_iter |
A parameter that controls the maximum number of line search, ignored if |
method |
Whether |
A list
object comprising:
beta |
A |
intercept |
A |
.
lambda |
A |
A_out |
The selected variables given threshold value in |
ic |
The values of the specified criterion for each fitted model given threshold |
Yanhang Zhang, Zhifan Li, Shixiang Liu, Jianxin Yin.
n <- 200
m <- 100
d <- 10
s <- 5
s0 <- 5
data <- gen.data(n, m, d, s, s0)
fit <- ADSIHT(data$x, data$y, data$group)
fit$A_out[which.min(fit$ic)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.