cordif.dep: Estimate whether two dependent correlations differ

View source: R/multilevel.R

cordif.depR Documentation

Estimate whether two dependent correlations differ

Description

Tests for statistical differences between two dependent correlations using the formula provided on page 56 of Cohen & Cohen (1983). The function returns a t-value, the DF, and the p-value.

Usage

cordif.dep(r.x1y,r.x2y,r.x1x2,n)

Arguments

r.x1y

The correlation between x1 and y where y is typically the outcome variable.

r.x2y

The correlation between x2 and y where y is typically the outcome variable.

r.x1x2

The correlation between x1 and x2 (the correlation between the two predictors).

n

The sample size.

Value

Returns three values. A t-value, DF and p-value.

Author(s)

Paul Bliese pdbliese@gmail.com

References

Cohen, J. & Cohen, P. (1983). Applied multiple regression/correlation analysis for the behavioral sciences (2nd Ed.). Hillsdale, nJ: Lawrence Erlbaum Associates.

See Also

cordif

Examples

cordif.dep(r.x1y=.30,r.x2y=.60,r.x1x2=.10,n=305)

multilevel documentation built on March 18, 2022, 5:47 p.m.