params: Identify SEM parameters for a DAG

View source: R/util_funcs.R

paramsR Documentation

Identify SEM parameters for a DAG

Description

Identify SEM parameters for a DAG

Usage

params(Sigma, graph)

Arguments

Sigma

covariance matrix (either in topological order or with graph specified)

graph

optionally, adjacency matrix object for underlying graph

Details

The order of variables is assumed toplogical if the graph is not specified.

Value

list of B (upper triangular) and Om (diagonal) such that if IB = (I-B)^-1 then t(IB) %*% Om %*% IB gives Sigma.


rje42/DAGtools documentation built on June 6, 2024, 3:13 a.m.