is_identifiable {dosearch} | R Documentation |
Returns the a logical value describing the identifiability of a causal query of an object of class "dosearch".
is_identifiable(x)
x |
an object of class "dosearch". |
A logical value. If TRUE
, the target distribution is identifiable from the available inputs.
Santtu Tikka
data <- "P(x,y,z)"
query <- "P(y|do(x))"
graph <- "
x -> y
z -> x
z -> y
"
x <- dosearch(data, query, graph)
is_identifiable(x)
# TRUE