Learn R Programming

selection (version 1.0)

em: Estimate correlations with the EM

Description

This function estimates unattenuated correlations using the EM algorithm.

Usage

em(data.matrix)

Arguments

data.matrix
a matrix where the rows consist of observations and the columns consist of variables

Value

  • returns a corrected correlation between the variables

See Also

See Also as rel.correction to correct the estimate for unreliability, caseIV, caseIIIR, caseIII

Examples

Run this code
data(selection.example.data)
corrected.cor.matrix = em(data.matrix(selection.example.data))
corrected.cor.matrix

Run the code above in your browser using DataLab