S2d: Convert S to Cohen's d

Description Usage Arguments Details Value

View source: R/S.R

Description

Converts the robust effect size index to Cohen's d using formula from Vandekar, Rao, & Blume (2020).

Usage

1
S2d(S, pi = 0.5)

Arguments

S

The robust effect size index.

pi

The sampling proportions.

Details

The pi parameter comes from the fact that Cohen's d doesn't account for unequal sample proportions in the population, but S does. The default is set to a natural value 1/2, which corresponds to a case control design, for example, where sampling proportions always are controlled by the experimenter.

Value

Returns an estimate the robust effect size index


simonvandekar/RESI documentation built on Jan. 22, 2021, 2:40 a.m.