corr_diff {mbir}R Documentation

Test of Two Correlations

Description

Provides statistical inference upon the difference between two independent correlations.

Usage

corr_diff(r1, n1, r2, n2, conf.int = 0.9, plot = FALSE)

Arguments

r1

correlation of group 1

n1

sample size of group 1

r2

correlation of group 2

n2

sample size of group 2

conf.int

(optional) confidence level of the interval. Defaults to 0.90

plot

(optional) logical indicator specifying to print associated plot. Defaults to FALSE

Details

Refer to vignette for further information.

References

Zou GY. (2007). Toward using confidence intervals to compare correlations. Psychological Methods, 12, 399-413.

Examples

corr_diff(r1 = 0.20, n1 = 71, r2 = 0.55, n2 = 46)

[Package mbir version 1.3.5 Index]