smoothic {smoothic} | R Documentation |
Variable Selection Using a Smooth Information Criterion (SIC)
Description
Implements the SIC \epsilon
-telescope method, either using
single or multiparameter regression. Returns estimated coefficients, estimated
standard errors and the value of the penalized likelihood function.
Note that the function will scale the predictors to have unit variance, however,
the final estimates are converted back to their original scale.
Usage
smoothic(
formula,
data,
family = "sgnd",
model = "mpr",
lambda = "log(n)",
epsilon_1 = 10,
epsilon_T = 1e-04,
steps_T = 100,
zero_tol = 1e-05,
max_it = 10000,
kappa,
tau,
max_it_vec,
stepmax_nlm
)
Arguments
formula |
An object of class |
data |
A data frame containing the variables in the model; the data frame should be unstandardized. |
family |
The family of the model, default is |
model |
The type of regression to be implemented, either |
lambda |
Value of penalty tuning parameter. Suggested values are
|
epsilon_1 |
Starting value for |
epsilon_T |
Final value for |
steps_T |
Number of steps in |
zero_tol |
Coefficients below this value are treated as being zero.
Defaults to |
max_it |
Maximum number of iterations to be performed before the
optimization is terminated. Defaults to |
kappa |
Optional user-supplied positive kappa value (> 0.2 to avoid
computational issues) if |
tau |
Optional user-supplied positive smoothing parameter value in the
"Smooth Generalized Normal Distribution" if |
max_it_vec |
Optional vector of length |
stepmax_nlm |
Optional maximum allowable scaled step length (positive scalar) to be passed to
|
Value
A list with estimates and estimated standard errors.
-
coefficients
- vector of coefficients. -
see
- vector of estimated standard errors. -
model
- the matched type of model which is called. -
plike
- value of the penalized likelihood function. -
kappa
- value of the estimated/fixed shape parameter kappa iffamily = "sgnd"
.
Author(s)
Meadhbh O'Neill
References
O'Neill, M. and Burke, K. (2023) Variable selection using a smooth information criterion for distributional regression models. <doi:10.1007/s11222-023-10204-8>
O'Neill, M. and Burke, K. (2022) Robust Distributional Regression with Automatic Variable Selection. <arXiv:2212.07317>
Examples
# Sniffer Data --------------------
# MPR Model ----
results <- smoothic(
formula = y ~ .,
data = sniffer,
family = "normal",
model = "mpr"
)
summary(results)