Learn R Programming

SEMID (version 0.4.0)

createLFIdentifierBaseCase: Create an latent identifier base case

Description

Identifiers are functions that take as input a covariance matrix Sigma corresponding to some latent digraph G and, from that covariance matrix, identify some subset of the coefficients in the latent digraph G. This function takes as input the matrix L defining G and creates an identifier that does not identify any of the coefficients of G. This is useful as a base case when building more complex identification functions.

Usage

createLFIdentifierBaseCase(graph)

Value

a function that takes as input a covariance matrix compatible with the latent digraph defined by L and returns a list with two named components:

Lambda

a matrix equal to the observed part of L but with NA values instead of 1s

Omega

a matrix equal to O but with NA values for coefficients not equal to zero.

When building more complex identifiers these NAs will be replaced by the value that can be identified from Sigma.

Arguments

graph

a LatentDigraph object representing the latent-factor graph. All latent nodes in this graph should be source nodes (i.e. have no parents).