Learn R Programming

wsMed (version 1.0.2)

StdRAM2: Standardize RAM Matrices

Description

Performs standardization of RAM matrices by rescaling path and variance structures using the implied covariance matrix. Intercepts are also standardized.

Usage

StdRAM2(ram_est)

Value

A list of standardized RAM matrices:

A

Standardized asymmetric path matrix

S

Standardized symmetric path matrix

F

Unchanged filter matrix

M

Standardized intercept vector

Arguments

ram_est

A RAM object list with matrices A, S, F, and M as returned by Lav2RAM2().

Details

The function computes the implied covariance matrix \(\Sigma = (I - A)^{-1} S (I - A)^{-T}\), extracts standard deviations, and performs standardization via \(D^{-1}\) scaling.