intersectWithCImodel(V, Stmts)intersectWithCImodel(V, Stmts, PlayerNames)intersectWithCImodel(V, G)intersectWithCImodel(V, G, PlayerNames)intersectWithCImodel calculates the ideal of the intersection of the given variety V with the conditional independence model determined by a set of conditional probability statements or an undirected graph. More precisely, the output is the ideal of the closure of the variety given by removing the components in the coordinate hyperplanes from the intersection of the variety V and the conditional independence model.
The input for the conditional independence model can be a set of conditional probability statements or an undirected graph. A single conditional independence statement is a list consisting of three disjoint lists of indices for random variables, e.g. $\{ \{1,2\},\{4\}, \{3\} \}$ which represents the conditional independence statement "$(X_1, X_2)$ is conditionally independent of $X_4$ given $X_3$". In the context of game theory, the variable $X_i$ represents the strategy of player $i$.
Given an undirected graph $G$, the conditional independence statements are produced via the globalMarkov function from the GraphicalModels package. A global Markov statement for $G$ is a list $\{A, B, C\}$ of three disjoint lists of vertices of $G$, where the subset $C$ separates the subset $A$ from the subset $B$ in the graph $G$.
|
|
|
|
|
|
|
|
|
Here is an example where the vertices of the graph need to be relabeled.
|
|
|
|
|
|
|
|
|
Here is an example where the conditional independence relations are given with a List.
|
|
|
|
|
|
|
|
|
|
The Verbose=>true option prints the progress of each step in the saturation process - a message is printed after saturating the ideal $V$, the conditional independence ideal $I$, and the sum $V + I$ with respect to each hyperplane of the probability simplex.
|
|
|
|
|
|
|
The object intersectWithCImodel is a method function with options.
The source of this document is in GameTheory.m2:2061:0.