findIndMean {simsem} | R Documentation |
Find indicator total means from factor loading matrix, total factor mean, and indicator intercept.
Description
Find indicator total means from a factor loading matrix, total factor means, and indicator (measurement) intercepts.
Usage
findIndMean(lambda, factorMean = NULL, tau = NULL, kappa = NULL,
covmean = NULL)
Arguments
lambda |
Factor loading matrix |
factorMean |
Total (model-implied) mean of factors. As a default, all total factor means are 0. |
tau |
Indicator (measurement) intercepts. As a default, all intercepts are 0. |
kappa |
Regression coefficient matrix from covariates (column) to indicators (rows) |
covmean |
A vector of covariate means. |
Value
A vector of indicator total means.
Author(s)
Sunthud Pornprasertmanit (psunthud@gmail.com)
See Also
-
findIndIntercept
to find indicator (measurement) intercepts -
findIndResidualVar
to find indicator (measurement) residual variances -
findIndTotalVar
to find indicator (measurement) total 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
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)
facMean <- c(0.5, 0.2)
intcept <- rep(0, 6)
findIndMean(loading, facMean, intcept)