Description Usage Arguments Details Value Author(s) References See Also Examples
arrowhead_precision
calculates the arrowhead precision between two
causality graphs
arrowhead_recall
calculates the arrowhead recall between two
causality graphs
1 2 3 | arrowhead_precision(x, y)
arrowhead_recall(x, y)
|
x |
A causality PDAG |
y |
A causality PDAG |
arrowhead_precision
counts the number of directed edges
("-->"
) in x
and then counts how many directed edges in
x
are also in y
. Then, the ratio is returned.
arrowhead_recall
counts the number of directed edges
x
and then counts how many directed edges in
y
are in x
. Then, the ratio is returned. 1
implies that every directed edge in x
are also in y
.
Length one numeric between 0 and 1. arrowhead_precision
returns NA
if there are no oriented edges in y
.
arrowhead_recall
returns NA
if there are
no oriented edges (arrows) in x
Alexander Rix
Joseph D. Ramsey: “Scaling up Greedy Causal Search for Continuous Variables”, 2015; arxiv:1507.07749[cs.AI].
Spirtes et al. “Causation, Prediction, and Search.”, Mit Press, 2001, p. 109.
Other graph comparison statistics:
adjacency_precision
, adjacency_recall
,
and shd
1 | TODO(arix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.