get_psi: Calculate residual-covariance matrix based on a path model...

View source: R/get_psi.R

get_psiR Documentation

Calculate residual-covariance matrix based on a path model and covariance matrix

Description

Takes an ordered path model and corresponding variance-covariance matrix and computes the appropriate residual covariance matrix (psi)

Usage

get_psi(B, sigma, digits = 3)

Arguments

B

input p \times p linear SEM weights matrix

sigma

variance-covariance matrix of the variables

digits

how many digits to round the result to

Value

a p \times p residual variance-covariance matrix


SEset documentation built on March 18, 2022, 5:51 p.m.