| causal_effect {cfid} | R Documentation |
Causal Effect Identification
Description
Identify a causal effect of the form P(y|do(x),z) from P(v) in
G.
Usage
causal_effect(g, y, x = character(0), z = character(0), v = integer(0))
Arguments
g |
A |
y |
A |
x |
A |
z |
An optional |
v |
An optional named |
Value
An object of class query which is a list with the following
components:
-
id
Alogicalvalue that isTRUEif the query is identifiable andFALSEotherwise. -
formula
Afunctionalobject expressing the causal effect in terms of the joint probability distributionP(v)for identifiable queries orNULLif the query is not identifiable. -
data
The available data, forcausal_effectthis is always"observations" -
causaleffect
The original queryP(y|do(x),z)as aprobabilityobject. -
undefined
Alogicalvalue, this is alwaysFALSEforcausaleffect