Learn R Programming

pwrss (version 1.3.1)

q.to.cors: Conversion from a Cohen's q to a correlation difference

Description

Conversion from a Cohen's q to a correlation difference

Usage

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

Value

q

Cohen's q effect size.

delta

correlation difference: rho1 - rho2.

rho1

first correlation.

rho2

second correlation.

Arguments

q

Cohen's q effect size.

rho1

first correlation (either rho1 or rho2 needs to be given)

rho2

second correlation (either rho1 or rho2 needs to be given)

verbose

1 by default (returns test, hypotheses, and results), if 2 a more detailed output is given (plus key parameters and definitions), if 0 no output is printed on the console.

Examples

Run this code
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)

Run the code above in your browser using DataLab