random_score_variances: Estimate the variance of individual scores by a series of...

View source: R/score_autoscaling.R

random_score_variancesR Documentation

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

Description

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

Usage

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.

Value

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


designit documentation built on May 29, 2024, 12:04 p.m.