cv_all {SplitKnockoff}R Documentation

calculate the CV optimal beta

Description

cv_all calculate the CV optimal beta in the problem 1/n |y - X beta|^2 + 1/nu |D beta - gamma|^2 + lambda |gamma|_1.

Usage

cv_all(X, y, D, option)

Arguments

X

the design matrix

y

the response vector

D

the linear transform

option

options for screening

Value

beta_hat: CV optimal beta

stat_cv: various intermedia statistics


[Package SplitKnockoff version 2.1 Index]