Description Usage Arguments Value References See Also Examples
The total causal effect from x to y is identified if and only if there is no possibly causal path from x to y that starts with an undirected edge.
1 | isIdentified(amat, x, y, type = "pdag")
|
amat |
adjacency matrix. See |
x |
(integer) positions of treatment variables in the adjacency matrix |
y |
(integer) positions of outcome variables in the adjacency matrix |
type |
string specifying the type of graph of |
TRUE
if identified, FALSE
if not.
Emilija Perkovic. Identifying causal effects in maximally oriented partially directed acyclic graphs. In Uncertainty in Artificial Intelligence (UAI), 2020.
1 2 3 4 5 6 | data("ex1")
# identified
isIdentified(ex1$amat.cpdag, c(3, 5), 7)
# not identified
isIdentified(ex1$amat.cpdag, 3, 7)
isIdentified(ex1$amat.cpdag, c(3, 5), 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.