lisrel_mat: LISREL Matrices

Description Usage Arguments Author(s)

View source: R/lisrel.R

Description

Helper function to construct LISREL Matrices

Usage

1
lisrel_mat(LY, LX, TE, TD, eta_on_eta = NULL, eta_on_xi, PS, PH, latent = TRUE)

Arguments

LY

\boldsymbol{Λ}_{\mathbf{y}} p \times m matrix of factor loadings (\boldsymbol{λ}). p is the number of observed indicators (\mathbf{y}) and m is the number of latent endogenous variables (\boldsymbol{η}).

LX

\boldsymbol{Λ}_{\mathbf{x}} q \times n matrix of factor loadings (\boldsymbol{λ}). q is the number of observed indicators (\mathbf{x}) and n is the number of latent exogenous variables (\boldsymbol{ξ}).

TE

\boldsymbol{Θ_{\boldsymbol{ε}}} p \times p matrix of residual variances and covariances for \mathbf{y} (\boldsymbol{ε}). If a vector is supplied, the matrix is assummed to be a diagonal matrix with diagonals equal to TE.

TD

\boldsymbol{Θ_{\boldsymbol{δ}}} q \times q matrix of residual variances and covariances for \mathbf{x} (\boldsymbol{δ}). If a vector is supplied, the matrix is assummed to be a diagonal matrix with diagonals equal to TD.

eta_on_eta

Vector values of the strict lower triangle of \mathbf{B}_{m \times m} (BE), that is, the coefficients for endogenous variables. Note that lower triangle is populated by column. If no value for eta_on_eta is provided, it is assumed that there are no direct paths between any of the endogenous variables.

eta_on_xi

Vector values of \boldsymbol{Γ}_{m \times n} coefficient matrix for latent exogenous variables. Note that matrix is populated by column.

PS

\boldsymbol{Ψ}_{m \times m} variance-covariance of \boldsymbol{ζ}. \boldsymbol{ζ} is a matrix of residual variances and covariances in regression equations. If a vector is supplied, the matrix is assummed to be a diagonal matrix with diagonals equal to PS.

PH

\boldsymbol{Φ}_{n \times n} variance-covariance matrix of \boldsymbol{ξ}. If a vector is supplied, the matrix is assummed to be a diagonal matrix with diagonals equal to PH.

latent

Logical. If TRUE, uses the structural equations with latent variables LISREL notation, If FALSE, uses the structural equations with observed variables LISREL notation.

Author(s)

Ivan Jacob Agaloos Pesigan


jeksterslabds/jeksterslabRds documentation built on July 16, 2020, 3:41 p.m.