var_error_A: Estimate the error variance of the probability-based effect size (A, AUC, the common language effect size [CLES])

Description

Estimate the error variance of the probability-based effect size (A, AUC, the common language effect size [CLES])

Usage

var_error_A(A, n1, n2 = NA)

var_error_auc(A, n1, n2 = NA)

var_error_cles(A, n1, n2 = NA)

Arguments

A

Vector of probability-based effect sizes (common language effect sizes)

n1

Vector of sample sizes from group 1 (or the total sample size with the assumption that groups are of equal size, if no group 2 sample size is supplied).

n2

Vector of sample sizes from group 2.

Value

A vector of sampling-error variances.

Details

The sampling variance of a A (also called AUC [area under curve] or CLES [common-language effect size]) value is:

Ruscio, J. (2008).
A probability-based measure of effect size: Robustness to base rates and other factors.
Psychological Methods, 13(1), 19<U+2013>30. https://doi.org/10.1037/1082-989X.13.1.19