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

 covmat.from.cfm R Documentation

## 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

 `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; KKelley@ND.Edu); Leann Terry (Indiana University; ljterry@Indiana.Edu)

### References

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

`CFA.1`;`sem`

### Examples

``````# 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)
``````

MBESS documentation built on Oct. 26, 2023, 9:07 a.m.