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

Description Usage Arguments Value Author(s) Examples

Description

Correlation between weighted predictor composite and criterion.

Usage

1
.solveWtVec(wt, rxx, rxy)

Arguments

wt

A vector of predictor weights or a list of vectors.

rxx

A matrix of predictor intercorrelations.

rxy

A vector of predictor, criterion correlations.

Value

A correlation coefficent.

Author(s)

Allen Goebl Jeff Jones

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(iopsych)
data(dls2007)
dat <- dls2007[1:6, 2:7]
rxx <- dat[1:4, 1:4]
rxy <- dat[1:4, 5]
wt1 <- c(1,1,1,1)
wt2 <- c(1,2,3,4)
wt_list <- list(wt1, wt2)

#.solveWtVec(wt=wt1, rxx=rxx, rxy=rxy)
#.solveWtVec(wt=wt2, rxx=rxx, rxy=rxy)
#.solveWtVec(wt=wt_list, rxx=rxx, rxy=rxy)

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