rsem.weight: Calculate weight for each subject

View source: R/rsem.R

rsem.weightR Documentation

Calculate weight for each subject

Description

Calculate weight for each subject in estimating the mean and covariance matrix.

Usage

rsem.weight(x, varphi, mu0, sig0)

Arguments

x

Data

varphi

Downweight rate.

mu0

Robust mean

sig0

Robust covariance matrix.

Value

w1

Weight for robust mean estimates

w2

Weight for robust covariance estimates

Author(s)

Zhiyong Zhang and Ke-Hai Yuan

References

Yuan, K.-H., & Zhang, Z. (2012). Robust Structural Equation Modeling with Missing Data and Auxiliary Variables. Psychometrika, 77(4), 803-826.


rsem documentation built on Aug. 27, 2023, 1:06 a.m.