lMvrrc: Lawley multivariate range restriction correction.

Description Usage Arguments Value Author(s) References Examples

View source: R/range_restriction.R

Description

Lawley multivariate range restriction correction.

Usage

1
lMvrrc(rcov, vnp, as_cor = TRUE)

Arguments

rcov

The covariance matrix of the restricted sample.

vnp

The covariance matrix of predictors explicitly used for selection. This matrix should be based on the the unrestricted population.

as_cor

This argument can be set to FALSE to return a covariance matrix.

Value

The the correlation matrix or variance covariance in the unrestricted population.

Author(s)

The original function was written by Adam Beatty and adapted by Allen Goebl.

References

Lawley D. N (1943). A note on Karl Pearson's selection formulae. Proceedings of the Royal Society of Edinburgh., 62(Section A, Pt. 1), 28-30.

Examples

1
2
3
4
5
data(rcea1994)
vstar <- rcea1994$vstar
vpp   <- rcea1994$vpp

lMvrrc(rcov=vstar, vnp=vpp)

iopsych documentation built on May 30, 2017, 5:33 a.m.