fuse2: Computes the correlation between two composites of items...

Description Usage Arguments Value Note Author(s) References Examples

Description

Computes the correlation between two composites of items. Composites may contain overalapping items. Items weights for each composite may be specified.

Usage

1
fuse2(r_mat, wt_a, wt_b)

Arguments

r_mat

A correlation matrix.

wt_a

A vector containing the weights of each item in composite A. Items which are not included in the composite should be assigned a weight of 0.

wt_b

A vector containing the weights of each item in composite B. Items which are not included in the composite should be assigned a weight of 0.

Value

A correlation coefficient.

Note

This is an alternative version of fuse() which uses weight vectors to specify both item selection and weight. This syntax maybe be preferable to some users. Furthermore, this function is more powerful in that it can return values for multiple sets of weights.

Author(s)

Allen Goebl and Jeff Jones

References

Lord, F.M. & Novick, M.R. (1968). Statisticl theories of menal test scores.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
Rxx <- matrix(c(1.00, 0.25,  0.50,  0.61,
                0.25, 1.00,  0.30,  0.10,
                0.50, 0.30,  1.00, -0.30,
                0.61, 0.10, -0.30,  1.00), 4, 4)
wt_a   <- c(1, 0, 1, 0)
wt_b   <- c(0, 1, 0, 1)

# Example using overlapping items and weights
Rxx  <- matrix(.3, 4, 4); diag(Rxx) <- 1
wt_a <- c(.60, .25, 0, .15)
wt_b <- c(0, 2, 3, 0)

fuse2(r_mat = Rxx, wt_a = wt_a, wt_b = wt_b)

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