R/intrinsic_control.R
intrinsic_control.Rd
Control parameters for SPVIM-based intrinsic variable selection.
intrinsic_control(
quantity = "gFWER",
base_method = "Holm",
fdr_method = "Holm",
q = 0.2,
k = 5
)
the desired quantity for error-rate control: possible values
are "gFWER"
(the generalized family-wise error rate),
"PFP"
(the proportion of false positives), and "FDR"
(the
false discovery rate).
the family-wise error rate controlling method to use for
obtaining the initial set of selected variables. Possible values are
"maxT"
and "minP"
(for step-down procedures based on the
test statistics ranked from largest to smallest or the p-values ranked from
smallest to largest, respectively) or "Holm"
for a procedure based
on Holm-adjusted p-values.
the method for controlling the FDR (if
quantity = "FDR"
); possible values are "BY"
(for
Benjamini-Yekutieli) or one of the base_method
s.
the desired proportion of false positives (only used if
quantity = "PFP"
or "FDR"
; a fraction between 0 and 1).
the desired number of family-wise errors (an integer, greater than or equal to zero.)
a list with the control parameters.
control <- intrinsic_control(quantity = "gFWER", base_method = "Holm", fdr_method = "Holm",
k = 1)
control
#> $quantity
#> [1] "gFWER"
#>
#> $base_method
#> [1] "Holm"
#>
#> $fdr_method
#> [1] "Holm"
#>
#> $q
#> [1] 0.2
#>
#> $k
#> [1] 1
#>