Estimation of \(\sigma\) using a two layer estimation scheme as in Refitted Cross Validation, by performing variable selection with the Quantile Universal Threshold, and obtaining the two estimations of sigma with the ordinary least squares estimator.
sigmaqut(y, X, estimator = "unbiased", intercept = TRUE,
alpha.level = "default", M = 1000, qut.standardize = TRUE,
penalty.factor = rep(1, p), offset = NULL, ...)
response variable. Quantitative for family=gaussian
, or family=poisson
(non-negative counts). For family=binomial
should be a factor with two levels.
input matrix, of dimension n x p; each row is an observation vector.
type of estimation of sigma when sigma
= 'qut'. It can be equal to 'unbiased' (standard unbiased formula), or 'mle' (maximum likelihood formula).
should intercept(s) be fitted (default=TRUE) or set to zero (FALSE).
level, such that quantile \(\tau=(1-\)alpha.level
\()/\gamma\). Default is \(1/(\sqrt{\pi\log(p)})\).
number of Monte Carlo Simulations to estimate the distribution \(\Lambda\). Default is 1000.
standardize matrix X with a quantile-based standardization. Default is TRUE.
separate penalty factors can be applied to each coefficient. As in qut
.
a vector of length n
that is included in the linear predictor. As in qut
.
other glmnet
options.
Estimator of \(\sigma\)