Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

findIndResidualVar

Find indicator residual variances from factor loading matrix, total factor covariance, and total indicator variances.


Description

Find indicator (measurement) residual variances from a factor loading matrix, total factor covariance matrix, and total indicator variances.

Usage

findIndResidualVar(lambda, totalFactorCov, totalVarTheta = NULL, 
	kappa = NULL, covcov = NULL)

Arguments

lambda

Factor loading matrix

totalFactorCov

Total (model-implied) covariance matrix among factors.

totalVarTheta

Indicator total variances. As a default, all total variances are 1.

kappa

Regression coefficient matrix from covariates (column) to indicators (rows)

covcov

A covariance matrix among covariates

Value

A vector of indicator residual variances.

Author(s)

Sunthud Pornprasertmanit (psunthud@gmail.com)

See Also

Examples

loading <- matrix(0, 6, 2)
loading[1:3, 1] <- c(0.6, 0.7, 0.8)
loading[4:6, 2] <- c(0.6, 0.7, 0.8)
facCov <- matrix(c(1, 0.5, 0.5, 1), 2, 2)
totalVar <- rep(1, 6)
findIndResidualVar(loading, facCov, totalVar)

simsem

SIMulated Structural Equation Modeling

v0.5-16
GPL (>= 2)
Authors
Sunthud Pornprasertmanit [aut], Patrick Miller [aut], Alexander Schoemann [aut] (<https://orcid.org/0000-0002-8479-8798>), Terrence D. Jorgensen [aut, cre] (<https://orcid.org/0000-0001-5111-6773>), Corbin Quick [ctb]
Initial release
2021-03-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.