random_score_variances function

Estimate the variance of individual scores by a series of completely random sample permutations

Estimate the variance of individual scores by a series of completely random sample permutations

random_score_variances( batch_container, scoring, random_perm, sample_attributes_fixed )

Arguments

  • batch_container: An instance of BatchContainer.
  • scoring: A named list() of scoring function. Each function should return a vector of non-zero length.
  • random_perm: Number of random sample permutations to be done.
  • sample_attributes_fixed: Logical; if FALSE, simulate a shuffle function that alters sample attributes at each iteration.

Returns

Vector of length m (=dimensionality of score) with estimated variances of each subscore