Journal of Statistical Software (Feb 2006)

Independencies Induced from a Graphical Markov Model After Marginalization and Conditioning: The R Package ggm

  • Giovanni M. Marchetti

DOI
https://doi.org/10.18637/jss.v015.i06
Journal volume & issue
Vol. 15, no. 1
pp. 1 – 15

Abstract

Read online

We describe some functions in the R package ggm to derive from a given Markov model, represented by a directed acyclic graph, different types of graphs induced after marginalizing over and conditioning on some of the variables. The package has a few basic functions that find the essential graph, the induced concentration and covariance graphs, and several types of chain graphs implied by the directed acyclic graph (DAG) after grouping and reordering the variables. These functions can be useful to explore the impact of latent variables or of selection effects on a chosen data generating model.