is_identifiable: Query whether the target distribution was identifiable or not

Description Usage Arguments Value Author(s) Examples

View source: R/dosearch.R

Description

Returns the a logical value describing the identifiability of a causal query of an object of class "dosearch".

Usage

1

Arguments

x

an object of class "dosearch".

Value

A logical value. If TRUE, the target distribution is identifiable from the available inputs.

Author(s)

Santtu Tikka

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

dosearch documentation built on Aug. 19, 2021, 5:07 p.m.