solveWtCrit: Correlation between weighted criterion composite and...

Description Usage Arguments Value Author(s) Examples

Description

Correlation between weighted criterion composite and predictors.

Usage

1
solveWtCrit(ryy, rxy, wt)

Arguments

ryy

A matrix of criterion intercorrelations.

rxy

A vector of predictor criterion intercorrelations, or a matrix with one row per criterion.

wt

A vector of criterion weights, or a matrix with one set of criterion weights per row.

Value

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

Author(s)

Allen Goebl Jeff Jones

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(iopsych)
data(dls2007)
dat <- dls2007[1:6, 2:7]
ryy <- dat[5:6, 5:6]
rxy <- dat[5:6, 1:4]

wt1 <- c(.25, .75)
wt2 <- c(.75, .25)
wt_mat <- rbind(wt1, wt2)

solveWtCrit(ryy=ryy, rxy=rxy, wt=wt_mat)

allengoebl/iopsych documentation built on May 10, 2019, 9:22 a.m.