is_identifiable {dosearch}R Documentation

Query whether the target distribution was identifiable or not

Description

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

Usage

is_identifiable(x)

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


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

[Package dosearch version 1.0.8 Index]