graphical models - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf ·...
TRANSCRIPT
![Page 1: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/1.jpg)
GRAPHICAL MODELS
Piotr GRACZYK
6. DECOMPOSABLE GRAPHS
( triangulated graphs, chordal graphs)
A part of this chapter is based on lectures of Prof. S.
Lauritzen at CIMPA Summer School Hammamet 2011,
with his kind permission.
1
![Page 2: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/2.jpg)
Only graphical models governed by DECOMPOSABLE
GRAPHS have good statistical properties:
• one can compute easily MLE estimators K̂ and Σ̂ of
the precision and covariance matrices
• statistical tests can be performed
• Bayesian statistics is possible and performant
That’s why we shall learn some theory of
DECOMPOSABLE GRAPHS
2
![Page 3: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/3.jpg)
Consider an undirected graph G = (V,E) with vertices
V and edges E.
If W ⊂ V , the induced graph is GW = (W,EW ) where
{i, j} ∈ EW if and only if {i, j} ∈ E and i, j ∈ W . The
edges of the induced graph GW are all the edges of Gconnecting vertices from W .
A path of length n from α ∈ V to β ∈ V is a sequence
α0 = α, α1, . . . , αn = β
of vertices distinct for i = 0, . . . , n− 1 such that
{αi, αi+1} ∈ E for each i = 1, . . . , n.
3
![Page 4: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/4.jpg)
A subset S ⊂ V is an (α, β)-separator if every path
from α to β intersects S.
S separates A ⊂ V from B ⊂ V if S is an (α, β)-
separator for every α ∈ A and β ∈ B.
A separator of A and B is minimal if no proper subset
T ( S separates A and B.
A graph is complete if all vertices are joined by an
edge. A subset W is complete if its induced graph GWis complete.
A clique of G is a maximal complete subset of V .
4
![Page 5: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/5.jpg)
A cycle of length n is a path of length n from α to α.
The shortest cycles are triangles=cycles of length 3.
A tree is a connected graph without cycles. It has a
unique path between any two vertices.
A graph is triangulated(chordal) if every cycle of
length n ≥ 4 has a chord, that is two non-consecutive
vertices that are connected by an edge(chord).
5
![Page 6: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/6.jpg)
Examples.
The graph
4
1 2
3
is the smallest non-chordal graph.
The graph
4
1 2
3
is chordal and non-complete.
The graph
4
1 2
3
is complete ⇒ chordal.
6
![Page 7: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/7.jpg)
In the graph
4
1 2
3
the set S = {1,3} is a (2,4)−separator.
The separator S is minimal. S is not complete.
the set S′ = {2,4} is a (1,3)−separator.
The separator S′ is minimal. S′ is not complete.
There are no other separators.
No separator is complete.
The cliques are {1,2}, {2,3}, {3,4} and {1,4}
7
![Page 8: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/8.jpg)
In the graph
4
1 2
3
the set S = {1,3} is a (2,4)−separator. S is minimal
and complete. There are no other separators.
( the set S′ = {2,4} is NOT a (1,3)−separator)
Every minimal separator is complete.
The cliques are {1,2,3} and {1,3,4}.
8
![Page 9: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/9.jpg)
Graph decompositionIdentifying chordal graphs
DefinitionDecomposition of Markov propertiesFactorization of Markov distributionsProperties of decomposability
Consider an undirected graph G = (V ,E ). A partitioning of V intoa triple (A,B, S) of subsets of V forms a decomposition of G if
A⊥G B |S and S is complete.
The decomposition is proper if A 6= ∅ and B 6= ∅.The components of G are the induced subgraphs GA∪S and GB∪S .A graph is prime if no proper decomposition exists.
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 10: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/10.jpg)
Graph decompositionIdentifying chordal graphs
DefinitionDecomposition of Markov propertiesFactorization of Markov distributionsProperties of decomposability
Examples
3 6
1 5 7
2 4
s ss s ss s@@
��
@@
@@@@
�� ��The graph to the left is prime
Decomposition with A = {1, 3}, B = {4, 6, 7} and S = {2, 5}
3 6
1 5 7
2 4
s ss s ss s@@
��
@@
@@@@
�� ��
3
1 5
2
ss ss@@
��@@
��
6
5 7
2 4
ss ss s@@
@@
��
@@
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 11: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/11.jpg)
Graph decompositionIdentifying chordal graphs
DefinitionDecomposition of Markov propertiesFactorization of Markov distributionsProperties of decomposability
Suppose P satisfies (F) w.r.t. G and (A,B,S) is a decomposition.Then
(i) PA∪S and PB∪S satisfy (F) w.r.t. GA∪S and GB∪S respectively;
(ii) f (x)fS(xS) = fA∪S(xA∪S)fB∪S(xB∪S).
The converse also holds in the sense that if (i) and (ii) hold, and(A,B, S) is a decomposition of G, then P factorizes w.r.t. G.
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 12: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/12.jpg)
Graph decompositionIdentifying chordal graphs
DefinitionDecomposition of Markov propertiesFactorization of Markov distributionsProperties of decomposability
Decomposability
Any graph can be recursively decomposed into its maximal primesubgraphs:
3 6
1 5 7
2 4
s ss s ss s@@
��
@@
@@@@
�� ��
3
1 5
2
ss ss@@
��@@
��
5 7
2 4
s ss s@@ @@
6
5 7
ss s@@��
A graph is decomposable (or rather fully decomposable) if it iscomplete or admits a proper decomposition into decomposablesubgraphs.Definition is recursive. Alternatively this means that all maximalprime subgraphs are cliques.
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 13: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/13.jpg)
Graph decompositionIdentifying chordal graphs
DefinitionDecomposition of Markov propertiesFactorization of Markov distributionsProperties of decomposability
Recursive decomposition of a decomposable graph into cliquesyields the formula:
f (x)∏
S∈SfS(xS)ν(S) =
∏
C∈CfC (xC ).
Here S is the set of minimal complete separators occurring in thedecomposition process and ν(S) the number of times such aseparator appears in this process.
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 14: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/14.jpg)
Graph decompositionIdentifying chordal graphs
DefinitionDecomposition of Markov propertiesFactorization of Markov distributionsProperties of decomposability
Perfect numbering
A numbering V = {1, . . . , |V |} of the vertices of an undirectedgraph is perfect if
∀j = 2, . . . , |V | : bd(j) ∩ {1, . . . , j − 1} is complete in G.
A set S is an (α, β)-separator if α⊥G β | S ,
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 15: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/15.jpg)
Graph decompositionIdentifying chordal graphs
DefinitionDecomposition of Markov propertiesFactorization of Markov distributionsProperties of decomposability
Characterizing chordal graphs
The following are equivalent for any undirected graph G.
(i) G is chordal;
(ii) G is decomposable;
(iii) All maximal prime subgraphs of G are cliques;
(iv) G admits a perfect numbering;
(v) Every minimal (α, β)-separator are complete.
Trees are chordal graphs and thus decomposable.
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 16: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/16.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Here is a (greedy) algorithm for checking chordality:
1. Look for a vertex v∗ with bd(v∗) complete. If no such vertexexists, the graph is not chordal.
2. Form the subgraph GV \v∗ and let v∗ = |V |;3. Repeat the process under 1;
4. If the algorithm continues until only one vertex is left, thegraph is chordal and the numbering is perfect.
The complexity of this algorithm is O(|V |2).
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 17: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/17.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 18: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/18.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
7u u
u u uu u
���
@@@
���
@@@
@@@
@@@
���
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 19: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/19.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
7
6
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 20: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/20.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
7
6
5
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 21: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/21.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
7
6
5
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
This graph is not chordal, as there is no candidate for number 4.
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 22: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/22.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 23: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/23.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
7u u
u u uu u
���
@@@
���
@@@
@@@
@@@
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 24: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/24.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
7
6
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 25: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/25.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
7
6
5
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 26: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/26.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
4 7
6
5
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 27: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/27.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
4 7
3 6
5
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 28: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/28.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
4 7
3 2 6
5
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 29: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/29.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Greedy algorithm
4 7
3 2 6
1 5
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
This graph is chordal!
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 30: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/30.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
This simple algorithm has complexity O(|V |+ |E |):
1. Choose v0 ∈ V arbitrary and let v0 = 1;
2. When vertices {1, 2, . . . , j} have been identified, choosev = j + 1 among V \ {1, 2, . . . , j} with highest cardinality ofits numbered neighbours;
3. If bd(j + 1) ∩ {1, 2, . . . , j} is not complete, G is not chordal;
4. Repeat from 2;
5. If the algorithm continues until no vertex is left, the graph ischordal and the numbering is perfect.
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 31: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/31.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Maximum Cardinality Search
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 32: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/32.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Maximum Cardinality Search
* *
* 1
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 33: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/33.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Maximum Cardinality Search
* ** *
2 1
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 34: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/34.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Maximum Cardinality Search
* *
* 3 **
2 1
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 35: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/35.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Maximum Cardinality Search
* **
* 3 4
2 1
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 36: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/36.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Maximum Cardinality Search
* 5
* 3 4
2 1
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 37: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/37.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Maximum Cardinality Search
** 5
6 3 4
2 1
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
Is this graph chordal?
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 38: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/38.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Maximum Cardinality Search
7 5
6 3 4
2 1
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
���
The graph is not chordal! because 7 does not have a completeboundary.
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 39: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/39.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Maximum Cardinality Search
7 5
6 3 4
2 1
u uu u u
u u���
@@@
���
@@@
@@@
@@@
���
MCS numbering for the chordal graph. Algorithm runs essentiallyas before.
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 40: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/40.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
A chordal graph
� �
� �
� �
� �
� �
� �
� �
� �
� �
� �
� �
� �
� �
� �
�
�
�
�
� � �
� � �
� � �
� � �
� �
� �
� � �
� � �
� � �
� � �
� � �
� � �
� � �
� � �
This graph is chordal, but it might not be that easy tosee. . . Maximum Cardinality Search is handy!
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 41: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/41.jpg)
Graph decompositionIdentifying chordal graphs
Greedy algorithmMaximum cardinality search
Finding the cliques of a chordal graph
From an MCS numbering V = {1, . . . , |V |}, let
Bλ = bd(λ) ∩ {1, . . . , λ− 1}
and πλ = |Bλ|. Call λ a ladder vertex if λ = |V | or ifπλ+1 < πλ + 1. Let Λ be the set of ladder vertices.
7 5
6 3 4
2 1
s ss s ss s��
@@
��
@@
@@@@
��
πλ: 0,1,2,2,2,1,1.The cliques are Cλ = {λ} ∪ Bλ, λ ∈ Λ.
Steffen Lauritzen, University of Oxford Decomposition and decomposable graphs
![Page 42: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/42.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
DefinitionCharacterizing chordal graphsConstruction of junction treeJunction trees of prime components
Let A be a collection of finite subsets of a set V . A junction treeT of sets in A is an undirected tree with A as a vertex set,satisfying the junction tree property:
If A,B ∈ A and C is on the unique path in T between Aand B it holds that A ∩ B ⊂ C .
If the sets in an arbitrary A are pairwise incomparable, they can bearranged in a junction tree if and only if A = C where C are thecliques of a chordal graph
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models
![Page 43: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/43.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
DefinitionCharacterizing chordal graphsConstruction of junction treeJunction trees of prime components
The following are equivalent for any undirected graph G.
(i) G is chordal;
(ii) G is decomposable;
(iii) All prime components of G are cliques;
(iv) G admits a perfect numbering;
(v) Every minimal (α, β)-separator are complete.
(vi) The cliques of G can be arranged in a junction tree.
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models
![Page 44: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/44.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
DefinitionCharacterizing chordal graphsConstruction of junction treeJunction trees of prime components
The junction tree can be constructed directly from the MCSordering Cλ, λ ∈ Λ, where Cλ are the cliques: Since theMCS-numbering is perfect, Cλ, λ > λmin all satisfy
Cλ ∩ (∪λ′<λCλ′) = Cλ ∩ Cλ∗ = Sλ
for some λ∗ < λ.
A junction tree is now easily constructed by attaching Cλ to anyCλ∗ satisfying the above. Although λ∗ may not be uniquelydetermined, Sλ is.
Indeed, the sets Sλ are the minimal complete separators and thenumbers ν(S) are ν(S) = |{λ ∈ Λ : Sλ = S}|.
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models
![Page 45: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/45.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
DefinitionCharacterizing chordal graphsConstruction of junction treeJunction trees of prime components
A chordal graph
� �
� �
� �
� �
� �
� �
� �
� �
� �
� �
� �
� �
� �
� �
�
�
�
�
� � �
� � �
� � �
� � �
� �
� �
� � �
� � �
� � �
� � �
� � �
� � �
� � �
� � �
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models
![Page 46: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/46.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
DefinitionCharacterizing chordal graphsConstruction of junction treeJunction trees of prime components
Junction tree
� � � �
� � � �
� � � �
� � � �
� � � �
� �
� �
� �� �
� �
� �
� �
� �
� �
�
�
�
� � � �
� � �
� � �
� � �
� � �
� � �
� � � � � �
� � �
� � �� � �
� � �
� � � � � �
� � �
� � �
� � � � � � � � �� � � � � �
� � �
� � �
� � �
� � �
� � �
� � �
� � �
� � �� � �
� � �
� � �
� � �
� � �� � �
� � �
� � �
� � �
� � �
� � �� � �
Cliques of graph arranged into a tree with C1 ∩ C2 ⊆ D for allcliques D on path between C1 and C2.
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models
![Page 47: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/47.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
DefinitionCharacterizing chordal graphsConstruction of junction treeJunction trees of prime components
In general, the prime components of any undirected graph can bearranged in a junction tree in a similar way.
Then every pair of neighbours (C ,D) in the junction treerepresents a decomposition of G into GC̃ and GD̃ , where C̃ is theset of vertices in prime components connected to C but separatedfrom D in the junction tree, and similarly with D̃.
The corresponding algorithm is based on a slightly moresophisticated algorithm known as Lexicographic Search (LEX)which runs in O(|V |2) time.
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models
![Page 48: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/48.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
Basic factorizationsMaximum likelihood estimatesAn example
If the graph G is chordal, we say that the graphical model isdecomposable.
In this case, the IPS-algorithm converges in a finite number ofsteps.
We also have the familiar factorization of densities
f (x |Σ) =
∏C∈C f (xC |ΣC )∏
S∈S f (xS |ΣS)ν(S)(1)
where ν(S) is the number of times S appear as intersectionbetween neighbouring cliques of a junction tree for C.
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models
![Page 49: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/49.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
Basic factorizationsMaximum likelihood estimatesAn example
Relations for trace and determinant
Using the factorization (1) we can for example match theexpressions for the trace and determinant of Σ
tr(KW ) =∑
C∈Ctr(KCWC )−
∑
S∈Sν(S) tr(KSWS)
and further
det Σ = {det(K )}−1 =
∏C∈C det{ΣC}∏
S∈S{det(ΣS)}ν(S)
These are some of many relations that can be derived using thedecomposition property of chordal graphs.
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models
![Page 50: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/50.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
Basic factorizationsMaximum likelihood estimatesAn example
The same factorization clearly holds for the maximum likelihoodestimates:
f (x | Σ̂) =
∏C∈C f (xC | Σ̂C )
∏S∈S f (xS | Σ̂S)ν(S)
(2)
Moreover, it follows from the general likelihood equations that
Σ̂A = WA/n whenever A is complete.
Exploiting this, we can obtain an explicit formula for the maximumlikelihood estimate in the case of a chordal graph.
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models
![Page 51: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/51.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
Basic factorizationsMaximum likelihood estimatesAn example
For a |d | × |e| matrix A = {aγµ}γ∈d ,µ∈e we let [A]V denote thematrix obtained from A by filling up with zero entries to obtain fulldimension |V | × |V |, i.e.
([A]V
)γµ
=
{aγµ if γ ∈ d , µ ∈ e0 otherwise.
The maximum likelihood estimates exists if and only if n ≥ C forall C ∈ C. Then the following simple formula holds for themaximum likelihood estimate of K :
K̂ = n
{∑
C∈C
[(wC )−1
]V−∑
S∈Sν(S)
[(wS)−1
]V}.
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models
![Page 52: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/52.jpg)
”Clique-separator formula” for K̂.
Suppose that the graph G is decomposable. LetCliq be the set of all cliques of G and Sep the setof all minimal separators of G.Suppose that n ≥ |C| (the number of elements ofC) for each clique C.If the mean ξ of the model is known and Σ̃ is thesample covariance matrix then
K̂ =∑
C∈Cliq[Σ̃−1
C ]V −∑
S∈Sepν(S)[Σ̃−1
S ]V
If the mean is unknown, then ξ̂ = X̄ and one usesthe ”Clique-separator formula” for K̂ with the cor-rected sample covariance matrix n
n−1Σ̃.
9
![Page 53: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/53.jpg)
Back to Example ”Simpson paradox” G : 1 3 2Suppose that ξ = 0 and the sample covariance matrix
equals
Σ̃ =
1 0.5 10.5 2 21 2 3
. The graph G governs the model.
We computed ”by hand” Σ̂ =
1 23 1
23 2 21 2 3
Let us find K̂ and Σ̂ by ”Clique-separator formula”.
The cliques of G are C1 = {1,3} and C2 = {2,3}.The minimal separator is S = {3}.
10
![Page 54: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/54.jpg)
Σ̃ =
(1 0.5 1
0.5 2 21 2 3
). We only use πG(Σ̃) =
(1 1
2 21 2 3
)
Apply the ”Clique-separator formula” for K̂:K̂ = [Σ̃−1
1,3]V + [Σ̃−12,3]V − [Σ̃−1
3 ]V .
Σ̃−11,3 =
(1 11 3
)−1
= 12
(3 −1−1 1
); [Σ̃−1
1,3]V = 12
(3 0 −10 0 0−1 0 1
)
Σ̃−12,3 =
(2 22 3
)−1
= 12
(3 −2−2 2
); [Σ̃−1
2,3]V = 12
(0 0 00 3 −20 −2 2
)
[Σ̃−13 ]V =
(0 0 00 0 00 0 1
3
)
K̂ =
( 32
0 −12
0 32−1
−12−1 7
6
); Σ̂ = K̂−1 =
(1 2
31
23
2 21 2 3
)
Exercise. Suppose that G : 1 2 3, the mean ξ = 0 and Σ̃ =
(1 1 0.91 2 2
0.9 2 3
).
Compute by the clique-separator formula the MLEs K̂ and Σ̂.
11
![Page 55: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/55.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
Basic factorizationsMaximum likelihood estimatesAn example
Mathematics marks
1:Mechanics
2:Vectors
3:Algebra
4:Analysis
5:Statistics
������
PPPPPP ����
��
PPPPPPcc
ccc
This graph is chordal with cliques {1, 2, 3}, {3, 4, 5} with separatorS = {3} having ν({3}) = 1.
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models
![Page 56: GRAPHICAL MODELS - math.uni.wroc.plmath.uni.wroc.pl/.../_graphical_models_prezentacja_5_popr.pdf · Piotr GRACZYK 6. DECOMPOSABLE GRAPHS ( triangulated graphs, chordal graphs)](https://reader034.vdocuments.net/reader034/viewer/2022050520/5fa3f9940f7c4966e81ed6a2/html5/thumbnails/56.jpg)
Maximum cardinality searchJunction trees
Decomposable Gaussian graphical modelsSpecial Wishart distributions
Bayesian inference
Basic factorizationsMaximum likelihood estimatesAn example
Since one degree of freedom is lost by subtracting the average, weget in this example
K̂ = 87
w11[123] w12
[123] w13[123] 0 0
w21[123] w22
[123] w23[123] 0 0
w31[123] w32
[123] w33[123] + w33
[345] − 1/w33 w34[345] w35
[345]
0 0 w43[345] w44
[345] w45[345]
0 0 w53[345] w54
[345] w55[345]
where w ij[123] is the ijth element of the inverse of
W[123] =
w11 w12 w13
w21 w22 w23
w31 w32 w33
and so on.
Steffen Lauritzen, University of Oxford Decomposable Graphical Gaussian Models