Learn R Programming

iopsych (version 0.90.1)

dComposite: Estimates the d of a composite.

Description

Estimates the d of a composite.

Usage

dComposite(rxx, d_vec, wt_vec = rep(1, length(d_vec)))

Arguments

rxx
A matrix of predictor intercorrelations.
d_vec
A vector containing d's for each predictor.
wt_vec
A vector containing the weights of each item in rxx.

Value

A vector of correlation coefficients.

References

Sackett, P. R., & Ellingson, J. E. (1997). Personnel Psychology., 50(3), 707-721.

Examples

Run this code
Rxx <- matrix(.3, 3, 3); diag(Rxx) <- 1
ds  <- c(.2, .4, .3)
dComposite(rxx = Rxx, d_vec = ds)

Rxx <- matrix(c(1.0, 0.3, 0.2, 
                0.3, 1.0, 0.1,
                0.2, 0.1, 1.0), 3, 3)
ds  <- c(.1, .3, .7)
ws  <- c(1, .5, .5)
dComposite(rxx = Rxx, d_vec = ds, wt_vec = ws)

Run the code above in your browser using DataLab