dicho.meansd.r: means and sds from dichotomizing/extreme group design to r

dicho.meansd.rR Documentation

means and sds from dichotomizing/extreme group design to r

Description

means and sds 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.meansd.r(m1, m2, sd1, sd2, n1, n2, p1, p2)

Arguments

m1

mean of group 1

m2

mean of group 2

sd1

standard deviation of group 1

sd2

standard deviation of group 2

n1

cell size of group 1

n2

cell size of group 2

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)

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.meansd.r(15, 13, 1.4, 0.9, 15, 15, 1/3, 1/3)


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