nbn2gema: computes a /gema/ from a /nbn/

View source: R/f04.nbneq.code.r

nbn2gemaR Documentation

computes a /gema/ from a /nbn/

Description

from a /nbn/ object defining a normal Bayesian network, computes the vector mu and the matrix li such that if the vector E is a vector of i.i.d. centred and standardized normal, then mu + li * E has the same distribution as the input /nbn/.

Usage

nbn2gema(nbn)

Arguments

nbn

nbn object for which the generating matrices.

Value

a list with the two following components: mu and li.

Examples

 identical(nbn2gema(rbmn0nbn.02), rbmn0gema.02);

rbmn documentation built on July 9, 2023, 6:37 p.m.