@@ -13,77 +13,6 @@ Sys.isapple() && run(`open -a GraphViz.app $(fname)`)
1313bs = basis_set (dag)
1414bs |> display
1515
16- bs[9 ] |> display
17- @show d_separation (dag, :x1 , :x2 ; cset= [:v ])
18- println ()
16+ as = adjustment_sets (dag, :x2 , :y )
17+ display (as)
1918
20- bs[10 ] |> display
21- @show d_separation (dag, :x1 , :x3 )
22- println ()
23-
24- bs[11 ] |> display
25- @show d_separation (dag, :x1 , :k1 ; cset= [:w ])
26- println ()
27-
28- bs[12 ] |> display
29- @show d_separation (dag, :x1 , :k2 ; cset= [:k2 ])
30- println ()
31-
32- bs[13 ] |> display
33- @show d_separation (dag, :x1 , :y ; cset= [:x2 , :x3 , :k2 ])
34- println ()
35-
36- bs[1 ] |> display
37- @show d_separation (dag, :k1 , :v , cset= [:x1 ])
38- @show d_separation (dag, :k1 , :v , cset= [:w ])
39- @show d_separation (dag, :k1 , :x1 , cset= [:w ])
40- @show d_separation (dag, :k1 , :x2 , cset= [:v ])
41- @show d_separation (dag, :k1 , :x2 , cset= [:x1 ])
42- @show d_separation (dag, :k1 , :x2 , cset= [:w ])
43- @show d_separation (dag, :k1 , :x3 , cset= [:w ])
44- @show d_separation (dag, :k1 , :y , cset= [:k2 , :x2 , :x3 ])
45- @show d_separation (dag, :k1 , :y , cset= [:k2 , :v , :x3 ])
46- @show d_separation (dag, :k1 , :y , cset= [:k2 , :x1 , :x3 ])
47- @show d_separation (dag, :k1 , :y , cset= [:k2 , :w ])
48- println ()
49-
50- @show d_separation (dag, :k2 , :v , cset= [:x1 ])
51- @show d_separation (dag, :k2 , :v , cset= [:w ])
52- @show d_separation (dag, :k2 , :v , cset= [:k1 ])
53- @show d_separation (dag, :k2 , :w , cset= [:k1 ])
54- @show d_separation (dag, :k2 , :x1 , cset= [:w ])
55- @show d_separation (dag, :k2 , :x1 , cset= [:k1 ])
56- @show d_separation (dag, :k2 , :x2 , cset= [:v ])
57- @show d_separation (dag, :k2 , :x2 , cset= [:x1 ])
58- @show d_separation (dag, :k2 , :x2 , cset= [:w ])
59- @show d_separation (dag, :k2 , :x2 , cset= [:k1 ])
60- @show d_separation (dag, :k2 , :x3 , cset= [:w ])
61- @show d_separation (dag, :k2 , :x3 , cset= [:k1 ])
62- println ()
63-
64- @show d_separation (dag, :v , :w ; cset= :x1 )
65- @show d_separation (dag, :v , :x3 )
66- @show d_separation (dag, :v , :y ; cset= [:k2 , :x2 , :x3 ])
67- @show d_separation (dag, :v , :y ; cset= [:k1 , :x2 , :x3 ])
68- @show d_separation (dag, :v , :y ; cset= [:w , :x2 , :x3 ])
69- @show d_separation (dag, :v , :y ; cset= [:x2 , :x1 ])
70- println ()
71-
72- @show d_separation (dag, :w , :x2 ; cset= [:v ])
73- @show d_separation (dag, :w , :x2 ; cset= [:x1 ])
74- @show d_separation (dag, :w , :y ; cset= [:k2 , :x2 , :x3 ])
75- @show d_separation (dag, :w , :y ; cset= [:k2 , :v , :x3 ])
76- @show d_separation (dag, :w , :y ; cset= [:k1 , :x2 , :x3 ])
77- @show d_separation (dag, :w , :y ; cset= [:k1 , :v , :x3 ])
78- @show d_separation (dag, :w , :y ; cset= [:k1 , :x1 , :x3 ])
79- @show d_separation (dag, :w , :y ; cset= [:k2 , :x2 , :x3 ])
80- println ()
81-
82- @show d_separation (dag, :x1 , :y ; cset= [:k1 , :v , :x3 ])
83- @show d_separation (dag, :x1 , :y ; cset= [:v , :w , :x3 ])
84- println ()
85-
86- @show d_separation (dag, :x2 , :x3 )
87- println ()
88-
89- @show adjustment_sets (dag, :x2 , :y )
0 commit comments