Learn R Programming

iopsych (version 0.90.1)

lMvrrc: 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.

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

Run this code
data(rcea1994)
vstar <- rcea1994$vstar
vpp   <- rcea1994$vpp

lMvrrc(rcov=vstar, vnp=vpp)

Run the code above in your browser using DataLab