Skip to contents

A prediction or a phenomenon may state a machine-readable claim about two constructs, x and y. An effect claim concerns the total effect of x on y, how y responds when x is set by intervention. An association claim concerns the dependence between the two, given the constructs in given when there are any. The sign is positive, negative, zero or nonzero, and a conditional association can only be zero or nonzero.

Usage

tf_entailments(theory, cycles = "refuse")

Arguments

theory

A theory object.

cycles

How a causal graph with a feedback loop is read. "refuse" (the default) leaves unread the claims that name a construct on a loop or downstream of one and reads every other claim, and "sigma" reads every claim by sigma-separation, which assumes that each loop settles to a unique equilibrium.

Value

A list with theory_id, criterion, acyclic, feedback, claims and counts. Each claim is a list of source, id, kind, x, y, given, sign, derived, verdict, basis, faithfulness, via, identified and adjustment. via lists the propositions on some path or trek between the two constructs. identified is TRUE or FALSE for an evaluated effect claim whose constructs no feedback loop reaches and NA for any other claim, and adjustment lists the ids of the set when identified is TRUE and is NA otherwise. The predictions come first and then the phenomena, each in file order. counts tallies the verdicts.

Details

The graph is the one tf_implications() reads. increases carries a positive sign and decreases a negative one, and the other relations state no sign. The sign of an effect is the product of the signs along each directed path from x to y, and the sign of a marginal association the product along each simple trek, a pair of directed paths from a common source to the two constructs that share no other construct, or a directed path from each end of an association to the two constructs that share no construct. A trek topped by an association has no fixed sign. When every path or trek has the same sign, the graph fixes the sign of the quantity, and when none exists, the quantity is zero (Wright, 1934). A trek whose two paths share a construct adds no term of its own, since the product of the coefficients that lead to the construct they share is part of that construct's variance, so when t causes u and u increases y, u and y are positively associated. A conditional association is zero when the two constructs are m-separated given the others and nonzero otherwise.

Each claim is then entailed, contradicted, undetermined when the graph leaves the sign open, or not_evaluated when the claim is incomplete, names a construct that no proposition relates to another, or, under cycles = "refuse", names a construct on a feedback loop or downstream of one, since what the graph says of it then depends on how the loop settles. A claim that no loop reaches gets the same record under both values of cycles, the record it would get without the loops, so a loop elsewhere in the graph neither hides nor changes its verdict. faithfulness is TRUE when the verdict relies on the effects carried by a route of unknown sign, or by routes of opposite signs, not cancelling exactly, and the claim lines of the preregistration and the dossier then end with unless effects cancel exactly.

The derivations assume that the graph is the causal structure, with no common cause of two constructs left out unless an association stands for it, and that each directed relation acts in its stated direction whatever the other inputs, as in a linear model or a uniformly monotone one (VanderWeele & Robins, 2010). Under cycles = "sigma", each feedback loop is assumed to settle to a unique equilibrium. The sign of an effect further assumes that the system with the intervened construct held fixed is stable, so that the effects round each loop that remains die out. Stability of the system as observed is not enough, since holding a construct fixed can leave a loop that does not settle. A loop that is one simple cycle then multiplies the effects through it by a positive factor, so the signs through it are those of the paths. The walks round a loop of any other shape are read as they are, and the association of two constructs is read off pairs of walks from a common source when a loop reaches either of them, so a sign that the graph fixes can be left open there.

For an effect claim whose two constructs no feedback loop reaches, which is every effect claim on an acyclic graph, identified says whether adjusting for some set of the theory's constructs would identify the effect from observational data (van der Zander et al., 2019), and adjustment gives a smallest such set. On a graph with a loop, the constructs that reach x or y form an acyclic graph, and what holds among them does not depend on the loops, so the set is found there. When more than 12 constructs are candidates, it gives a minimal set instead, from which none can be dropped, though a smaller one may exist. A construct marked x_latent: true, as tf_read_dagitty() marks an unobserved variable, is never adjusted for. identified reports identification by adjustment alone, so an effect without an adjustment set may still be identified by other means, by the front-door criterion for instance, and when x is not an ancestor of y the effect is zero. When x or y is itself marked latent, the set is reported all the same, and using it assumes a measure of that construct.

References

van der Zander, B., Liśkiewicz, M., & Textor, J. (2019). Separators and adjustment sets in causal graphs: Complete criteria and an algorithmic framework. Artificial Intelligence, 270, 1–40. doi:10.1016/j.artint.2018.12.006

VanderWeele, T. J., & Robins, J. M. (2010). Signed directed acyclic graphs for causal inference. Journal of the Royal Statistical Society Series B: Statistical Methodology, 72(1), 111–127. doi:10.1111/j.1467-9868.2009.00728.x

Wright, S. (1934). The method of path coefficients. The Annals of Mathematical Statistics, 5(3), 161–215. doi:10.1214/aoms/1177732676

See also

Examples

t <- tf_read(tf_example_path("modality-switching.theory.yaml"))
e <- tf_entailments(t)
vapply(e$claims, function(x) paste(x$id, x$verdict), "")
#> [1] "pred1 entailed" "pred3 entailed" "pred4 entailed" "ph1 entailed"