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

Description Usage Arguments Value Note Author(s) Examples

Description

Correlation between weighted predictor composite and criterion.

Usage

1
.solveWtExp(wt, rxx, rxy_list)

Arguments

wt

A vector of predictor weights, or a matrix of predictor weights with one column per predictor and one row per case.

rxx

A matrix of predictor intercorrelations.

rxy_list

A list of rxy vectors.

Value

A matrix of correlation coefficent with one row per weight vector and one column per rxy vector.

Note

This function should be merged with the fuse functions and replace the other .solvewt functions.

Author(s)

Allen Goebl Jeff Jones

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
library(iopsych)
data(dls2007)
dat <- dls2007[1:6, 2:7]
rxx <- dat[1:4, 1:4]
rxy1 <- dat[1:4, 5]
rxy2 <- dat[1:4, 6]
rxy_list <- list(rxy1, rxy2)

wt1 <- c(1,1,1,1)
wt2 <- c(1,2,3,4)
wt_mat <- rbind(wt1, wt2)

#.solveWtExp(wt=wt_mat, rxx=rxx, rxy_list=rxy_list)

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