Learn R Programming

SEset (version 1.0.1)

path_to_network: Precision matrix from ordered path model

Description

Takes a path model and generates the corresponding (standardized) precision matrix or covariance matrix. The inverse of network_to_path.

Usage

path_to_network(B, psi = NULL, output = "precision")

Arguments

B

input \(p \times p\) weights matrix

psi

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

output

Function returns the precision ("precision") or covariance ("covariance") matrix

Value

a \(p \times p\) precision or covariance matrix

References

ryan2019SEset

shojaie2010penalizedSEset

bollen89semSEset

See Also

network_to_path, SEset_to_network