H0_reference: Get reference distribution for resampling tests
Description
Make reference distribution for resampling tests to assess overfitting.
Usage
H0_reference(Y, n = 1000, fitness = c("Q2", "BER", "MISS", "AUROC"), ...)
Value
a histogram of reference distribution
Arguments
- Y
the target variable
- n
number of permutations to run
- fitness
number of repetitions for each permutation (defaults to value of actual model)
- ...
additional arguments for sampling from distribution
Examples
Run this code# \donttest{
data("freelive2")
H0_reference(YR2)
# }
Run the code above in your browser using DataLab