getNegativeScoresVar: Return variance of negative scores

View source: R/get_scores.R

getNegativeScoresVarR Documentation

Return variance of negative scores

Description

This function just returns the variance of negative scores.

Usage

getNegativeScoresVar(truth_name, prob_name, m = NULL, return_sum = FALSE)

Arguments

truth_name

('character(1L)') Character containing the name of the vector of 0-1-values encoded as integer or numeric.

prob_name

('character(1L)') Character containing the name of the vector of probabilities.

m

('numeric(1L)') Sample mean used for variance calculation. If 'NULL' (default), the sample mean of the negative scores is used.

return_sum

('logical(1L)') Logical value indicating whether the function should just return the sum of negative scores.

Value

Variance of differences of Negative scores

Author(s)

Daniel S.


difuture-lmu/dsROCGLM documentation built on March 24, 2024, 1:07 p.m.