# findIndIntercept: Find indicator intercepts from factor loading matrix, total... In simsem: SIMulated Structural Equation Modeling

## Description

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

## Usage

 ```1 2``` ```findIndIntercept(lambda, factorMean = NULL, indicatorMean = 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. `indicatorMean` Total indicator means. As a default, all total indicator means are 0. `kappa` Regression coefficient matrix from covariates (column) to indicators (rows) `covmean` A vector of covariate means.

## Value

A vector of indicator (measurement) intercepts.

## Author(s)

Sunthud Pornprasertmanit (psunthud@gmail.com)

• `findIndMean` to find indicator (measurement) total means

• `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

 ```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) facMean <- c(0.5, 0.2) indMean <- rep(1, 6) findIndIntercept(loading, facMean, indMean) ```

simsem documentation built on March 29, 2021, 1:07 a.m.