sigmarcv: Variance estimation using refitted cross-validation

Description Usage Arguments Value Author(s) References

View source: R/sigmarcv.R

Description

Variance estimation using refitted cross-validation in ultrahigh dimensional regression.

Usage

1
sigmarcv(y, X, cv = FALSE, fit = NA, intercept = TRUE)

Arguments

y

response variable. Quantitative for family=gaussian, or family=poisson (non-negative counts). For family=binomial should be a factor with two levels.

X

input matrix, of dimension n x p; each row is an observation vector.

cv

when FALSE, variance is estimated using Refitted Cross Validation in Fan et al. 2012; and when TRUE, it is estimated using cross validation as in Reid et al. 2013. Default is FALSE.

fit

A user supplied glmnet or lars object. Typical usage is to leave it empty so that the program computes the regularization path using the algorithm selected in type. WARNING: use with care, if supplied, object options must match with user supplied options.

intercept

should intercept(s) be fitted (default=TRUE) or set to zero (FALSE).

Value

Estimator of σ

Author(s)

Jianqing Fan, Shaojun Guo. Modified by Jairo Diaz.

References

Jianqing Fan, Shaojun Guo and Ning Hao. Variance estimation using refitted cross-validation in ultrahigh dimensional regression. Journal of the Royal Statistical Society: Series B. 2012


qut documentation built on Jan. 19, 2021, 5:09 p.m.