dicho.d.r: cohen's d from dichotomizing/extreme group design to r

dicho.d.rR Documentation

cohen's d from dichotomizing/extreme group design to r

Description

cohen's d from dichotomizing/extreme group design to correlation coefficient
see pustejovsky, 2014. psychological methods.
returns extreme group r (referred to as r (subscript eg) in pustejovsky paper)

Usage

dicho.d.r(d, p1, p2, n1, n2, dir)

Arguments

d

cohen's d

p1

cutoff percentile for group 1 (sample-based, please see other formulas for population-based in pustejovsky, 2014)

p2

cutoff percentile for group 2 (sample-based, please see other formulas for population-based in pustejovsky, 2014)

n1

cell size of group 1

n2

cell size of group 2

dir

if cohen's d is in absolute value, provide the empirical direction:
+1 for positive associations (e.g., group 1 - group 2 >= 0) and -1 for negative associations (e.g., group 1 - group 2 < 0)

Examples

dicho.d.r(.80, 1/3, 1/3, 15, 15, -1)


phoebehlam/michaela documentation built on Oct. 23, 2024, 4:10 p.m.