Rsq2S function

Covert R^2 to S

Covert R^2 to S

Converts R^2, the partial coefficient of determination, to robust effect size index (S) using the formula from Vandekar, Tao, & Blume (2020).

Rsq2S(Rsq)

Arguments

  • Rsq: Numeric, R^2

Returns

Returns an estimate of R^2 based on the RESI

Details

The formula for the conversion is:

S=((R2)/(R21))S = \sqrt((-R^2)/(R^2 - 1))

Examples

# consider a moderate effect size of R^2 = 0.1 Rsq2S(0.1) # this corresponds to a RESI of 0.333