# covmat.from.cfm: Covariance matrix from confirmatory (single) factor model. In MBESS: The MBESS R Package

## Description

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

## Usage

 `1` ```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

 `Population.Covariance ` the population covariance matrix `True.Covariance` the true covariance matrix `True.Covariance` the error covariance matrix

## Author(s)

Ken Kelley (University of Notre Dame; [email protected]); Leann Terry (Indiana University; [email protected])

## References

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

`CFA.1`;`sem`
 ``` 1 2 3 4 5 6 7 8 9 10``` ```# 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) ```