powered by
Given a DAG, possibly with latent variables, construct a MAG that represents its marginal independence model.
toMAG(x)
the input graph, a DAG
toMAG( "dag { ParentalSmoking->Smoking { Profession [latent] } -> {Income->Smoking} Genotype -> {Smoking->LungCancer} }")
Run the code above in your browser using DataLab