Learn R Programming

MBESS (version 4.1.0)

covmat.from.cfm: Covariance matrix from confirmatory (single) factor model.

Description

Function calculates a covariance matrix using the specified Lambda and Psi.Square values from a confirmatory factor model approach (McDonald, 1999).

Usage

covmat.from.cfm(Lambda, Psi.Square, tol.det = 1e-05)

Arguments

Lambda
the vector of population factor loadings
Psi.Square
the vector of population error variances
tol.det
the specified tolerance for the determinant

Value

References

McDonald, R. P. (1999). Test theory: A unified approach. Mahwah, NJ: Erlbaum.

See Also

CFA.1;sem

Examples

Run this code
# General Congeneric
# covmat.from.cfm(Lambda=c(.8, .9, .6, .8), Psi.Square=c(.6, .2, .1, .3), tol.det=.00001)


# True-score equivalent
# covmat.from.cfm(Lambda=c(.8, .8, .8, .8), Psi.Square=c(.6, .2, .1, .3), tol.det=.00001)


# Parallel 
# covmat.from.cfm(Lambda=c(.8, .8, .8, .8), Psi.Square=c(.2, .2, .2, .2), tol.det=.00001)

Run the code above in your browser using DataLab