powered by
Find indicator total means from a factor loading matrix, total factor means, and indicator (measurement) intercepts.
findIndMean(lambda, factorMean = NULL, tau = NULL, kappa = NULL, covmean = NULL)
Factor loading matrix
Total (model-implied) mean of factors. As a default, all total factor means are 0.
Indicator (measurement) intercepts. As a default, all intercepts are 0.
Regression coefficient matrix from covariates (column) to indicators (rows)
A vector of covariate means.
A vector of indicator total means.
findIndIntercept to find indicator (measurement) intercepts
findIndIntercept
findIndResidualVar to find indicator (measurement) residual variances
findIndResidualVar
findIndTotalVar to find indicator (measurement) total variances
findIndTotalVar
findFactorIntercept to find factor intercepts
findFactorIntercept
findFactorMean to find factor means
findFactorMean
findFactorResidualVar to find factor residual variances
findFactorResidualVar
findFactorTotalVar to find factor total variances
findFactorTotalVar
findFactorTotalCov to find factor covariances
findFactorTotalCov
# NOT RUN { 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) # }
Run the code above in your browser using DataLab