Takes a path model and generates the corresponding (standardized) precision matrix or
covariance matrix. The inverse of network_to_path.
path_to_network(B, psi = NULL, output = "precision")input \(p \times p\) weights matrix
variance-covariance matrix for the residuals. If NULL (the default) will impose the constraint that the variables have variance 1 and the residuals are uncorrelated
Function returns the precision ("precision") or covariance ("covariance") matrix
a \(p \times p\) precision or covariance matrix
ryan2019SEset
shojaie2010penalizedSEset
bollen89semSEset