.solveWt {iopsych}R Documentation

Correlation between weighted predictor composite and criterion.

Description

Correlation between weighted predictor composite and criterion.

Usage

.solveWt(wt_vec, rxx, rxy)

Arguments

wt_vec

A vector of predictor weights.

rxx

A matrix of predictor intercorrelations.

rxy

A vector of predictor, criterion correlations.

Value

A correlation coefficent.

Note

This is a simpler, faster version of the formula used for fuse().

Author(s)

Allen Goebl Jeff Jones

Examples

library(iopsych)
data(dls2007)
dat <- dls2007[1:6, 2:7]
rxx <- dat[1:4, 1:4]
rxy <- dat[1:4, 5]

#.solveWt(wt_vec=c(1,1,1,1), rxx=rxx, rxy=rxy)
#.solveWt(wt_vec=c(1,2,3,4), rxx=rxx, rxy=rxy)

[Package iopsych version 0.90.1 Index]