sk.W_fixed: W statistics generator based on a fixed beta(lambda) = hat...

View source: R/W_fixed.R

sk.W_fixedR Documentation

W statistics generator based on a fixed beta(lambda) = hat beta

Description

generates the split knockoff statistics W based on a fixed beta(lambda) = hat beta in the intercepetion assignment step.

Usage

sk.W_fixed(X, D, y, nu, option)

Arguments

X

the design matrix

D

the linear transform

y

the response vector

nu

the parameter for variable splitting

option

options for creating the Knockoff statistics option$lambda: the choice of lambda for the path option$beta_hat: the choice of beta(lambda) = hat beta

Value

the split knockoff statistics W and various intermedia statistics


SplitKnockoff documentation built on Oct. 14, 2024, 5:09 p.m.