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

Share:

Description

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

Usage

1
2
findIndTotalVar(lambda, totalFactorCov, residualVarTheta, kappa = NULL, 
	covcov = NULL)

Arguments

lambda

Factor loading matrix

totalFactorCov

Total (model-implied) covariance matrix among factors.

residualVarTheta

Indicator (measurement) residual variances.

kappa

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

covcov

A covariance matrix among covariates

Value

A vector of indicator total variances.

Author(s)

Sunthud Pornprasertmanit (psunthud@gmail.com)

See Also

  • findIndIntercept to find indicator (measurement) intercepts

  • findIndMean to find indicator (measurement) total means

  • findIndResidualVar to find indicator (measurement) residual variances

  • findFactorIntercept to find factor intercepts

  • findFactorMean to find factor means

  • findFactorResidualVar to find factor residual variances

  • findFactorTotalVar to find factor total variances

  • findFactorTotalCov to find factor covariances

Examples

1
2
3
4
5
6
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)
resVar <- c(0.64, 0.51, 0.36, 0.64, 0.51, 0.36)
findIndTotalVar(loading, facCov, resVar)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.