get.multinom.dist {lcd}R Documentation

Random multinomial distribution generation from a chain graph

Description

Generates a random multinomial distribution from a given chain graph structure.

Usage

get.multinom.dist(amat, n.state, alpha, beta)

Arguments

amat the adjacency matrix of a chain graph.
n.state a vector of positive integers indicating the desired number of states for each variable in the chain graph.
alpha, beta shape parameters for Beta distribution in simulating the potentials.

Details

The function returns a list that encodes a block-recursive conditional distribution over the chain graph structure.

Value

A sequence of block-recursive conditional distributions generated according to the graph structure.

Author(s)

Zongming Ma and Xiangrui Meng

References

Cowell, R. G., Dawid, A. P., Lauritzen, S. L. and Spiegelhalter, D. J. (1999) Probabilistic Networks and Expert Systems. pp.77-79. Springer-Verlag, New York.


[Package lcd version 0.7-2 Index]