threshold: compute the threshold for variable selection

View source: R/threshold.R

thresholdR Documentation

compute the threshold for variable selection

Description

compute the threshold for variable selection

Usage

threshold(W, q, method = "knockoff+")

Arguments

W

statistics W_j for testing null hypothesis beta_j = 0

q

target FDR

method

option$method can be 'knockoff' or 'knockoff+'

Value

T: threshold for variable selection


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