conversion.cors.to.q: Conversion from Correlation Difference to Cohen's q

cors.to.qR Documentation

Conversion from Correlation Difference to Cohen's q

Description

Helper function to convert correlation difference to Cohen's q (and vice versa). cor.to.z() function applies Fisher's z transformation.

Usage

  cor.to.z(rho, verbose = TRUE)

  cors.to.q(rho1, rho2, verbose = TRUE)

  q.to.cors(q, rho1 = NULL, rho2 = NULL, verbose = TRUE)

Arguments

rho

correlation.

rho1

first correlation.

rho2

second correlation.

q

Cohen's q effect size.

verbose

logical; whether the output should be printed on the console. TRUE by default.

Value

rho1

first correlation.

rho2

second correlation.

delta

correlation difference: rho1 - rho2.

q

Cohen's q effect size.

Examples


q.to.cors(q = 0.10, rho1 = 0.50)
q.to.cors(q = 0.30, rho1 = 0.50)
q.to.cors(q = 0.50, rho1 = 0.50)

cors.to.q(rho2 = 0.5712027, rho1 = 0.50)
cors.to.q(rho2 = 0.6907068, rho1 = 0.50)
cors.to.q(rho2 = 0.7815365, rho1 = 0.50)


pwrss documentation built on Sept. 16, 2025, 9:11 a.m.