internal.solveWt: Correlation between weighted predictor composite and...

Description Usage Arguments Value Note Author(s) Examples

Description

Correlation between weighted predictor composite and criterion.

Usage

1
.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

1
2
3
4
5
6
7
8
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)

iopsych documentation built on May 2, 2019, 2:27 p.m.