lMvrrc {iopsych} | R Documentation |
Lawley multivariate range restriction correction.
Description
Lawley multivariate range restriction correction.
Usage
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
data(rcea1994)
vstar <- rcea1994$vstar
vpp <- rcea1994$vpp
lMvrrc(rcov=vstar, vnp=vpp)
[Package iopsych version 0.90.1 Index]