Learn R Programming

simsem (version 0.2-8)

findIndIntercept: Find indicator intercepts from factor loading matrix, total factor mean, and indicator mean.

Description

Find indicator (measurement) intercepts from a factor loading matrix, total factor mean, and indicator mean.

Usage

findIndIntercept(lambda, factorMean = NULL, indicatorMean = NULL)

Arguments

lambda
Factor loading matrix
factorMean
Total (model-implied) mean of factors. As a default, all total factor means are 0.
indicatorMean
Total indicator means. As a default, all total indicator means are 0.

Value

  • A vector of indicator (measurement) intercepts.

See Also

Examples

Run this code
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)
indMean <- rep(1, 6)
findIndIntercept(loading, facMean, indMean)

Run the code above in your browser using DataLab