Skip to contents

Extract latent covariance matrix from unconstrained parameter vector

Usage

get_S(THETA, CONSTRLOGSD, NTHR, NLOAD, NCORR, NVAR, Q)

Arguments

THETA

Unconstrained parameter vector

CONSTRLOGSD

\(Q\)-dimensional vector. Elements set to NA refers to free latent log standard deviations parameters. Elements set to numerical values denote fixed values constraints.

NTHR

Number of thresholds parameters.

NLOAD

Number of free loadings parameters

NCORR

Number of free latent correlations parameters.

NVAR

Number of free latent variance parameters.

Q

Number of latent variables

Value

Latent covariance matrix of dimension \(Q*Q\).