1. The Problem of Variable Definition
Some choices of variables may lead to less informative, or even false, causal claims (Spirtes and Scheines Reference Spirtes and Scheines2004; Eberhardt Reference Eberhardt2016; Woodward Reference Woodward2016). Here is a classic example by Spirtes and Scheines (Reference Spirtes and Scheines2004). Consider the following hypothetical data-generating process (fig. 1). Total cholesterol (TC) is a deterministic function (e.g., the sum) of two variables, that is, low-density lipoproteins (LDL) and high-density lipoproteins (HDL), respectively known as “bad” and “good” cholesterol. The two cholesterols, in fact, have different causal roles: LDL causes heart disease (HD), while HDL prevents it. Moreover, assume that HDL and LDL cause, respectively, a disease called “disease 1” (D1) and a disease called “disease 2” (D2). Spirtes and Scheines point out that, if only TC but neither HDL nor LDL is observed, a manipulation of TC with respect to HD is “ambiguous” because it leaves underdetermined the values of TC’s underlying determinants, such that the effect on HD is unpredictable.
Structure where the manipulation on TC with respect to HD is ambiguous.

In applied causal inference, often the variables under study are, like TC, functions of other variables with heterogeneous causal roles. For example, macroeconomics deals with aggregate variables such as gross domestic product, foreign sales, total imports, and so on, that are sums or averages of other variables, whose individual causal roles may be multifarious and opaque to the researcher. Often, the researcher cannot observe the underlying microbehaviors simply because statistical agencies provide aggregate data but do not reveal information on the single units. In other cases, collecting microdata may be too complex or costly. Treating aggregate variables as if they had a homogeneous causal role, however, may lead to less informative or false causal claims, as shown by the TC example. We will refer to an aggregate variable incurring such problems as ill-defined. Notice, thus, that whether a variable is ill-defined is relative to a variable set. That is, it may be ill-defined in one set but well-defined in another.
The problem of variable definition is often underestimated by the wider public. For instance, insufficient attention has been paid to its consequences for causal inference by constraint-based discovery methods (Spirtes, Glymour, and Scheines Reference Spirtes, Glymour and Scheines2000; Pearl Reference Pearl2009). We will return to this point in the next section, by showing how the presence of TC in a variable set may lead to wrong causal inferences. To address the problem, we introduce a representation framework—the “independent component” representation—for modeling structures containing two kinds of dependencies, namely, traditional causal dependencies between well-defined variables and dependencies between ill-defined variables and their determinants (see fig. 1). Finally, we demonstrate the potential of this framework for identifying ill-defined variables and reducing the risk of mistaken causal inferences.
2. Causal Search with Ill-Defined Variables
The last decades have witnessed the development and popularization of constraint-based causal discovery methods (Spirtes et al. Reference Spirtes, Glymour and Scheines2000; Pearl Reference Pearl2009). In this framework, a causal structure is represented as a triple 〈V, ℰ, Pr〉, where 〈V, ℰ〉 is a directed acyclic graph (DAG) consisting of a set V of variables and a set ℰ of edges among them, and Pr is the probability distribution over V associated to the DAG. The probability distribution Pr is assumed to comply with the Causal Markov Condition (CMC) and, typically, the Causal Faithfulness Condition (CFC). CMC says that
(CMC) For any
,
.
Here Pari denotes the set of parents (direct causes) of Vi, and Noni denotes the set of nondescendants (noneffects) of Vi. In other words, each variable is probabilistically independent of its noneffects, conditional on its direct causes. CMC presupposes that for every pair of variables in V, every common direct cause of the pair is in V or has the same value for all units in the population (causal sufficiency). CFC says:
(CFC) 〈V, ℰ, Pr〉 is such that every conditional independence relation true in Pr is entailed by CMC applied to the true DAG 〈V, ℰ〉.
CFC ensures that there is no causal dependence without probabilistic dependence; that is, all probabilistic independencies in the DAG correspond to causal independencies.
Based on these assumptions, constraint-based discovery methods are designed to recover the causal structure from data, by identifying conditional independencies among variables and then causally connecting variables not found to be independent. We now consider examples of simple data-generating processes including one ill-defined variable, TC, and show how using constraint-based methods based on conditional independencies—while ignoring that TC is ill-defined—may lead to mistakes. To anticipate, such mistakes involve apparent violations of CMC or CFC, which the search methods presuppose. Notice, however, that our interest here is not in providing novel counterexamples to CMC and CFC. These violations, in fact, could be avoided by choosing a “more suitable” variable set for causal inference—in this case, one featuring HDL and LDL instead of TC. And indeed, a formulation of CMC requiring that variables be independent of their noneffects conditional on their well-defined direct causes would not incur any violation. Here, however, we do not want to presuppose what counts as an ill-defined variable or a suitable variable set. Our goal is to avoid mistaken causal inferences in virtue of detecting ill-defined variables.
Suppose that, in
, Y is the nondeterministic cause of both X and Z; that is, the true structure is
. If all variables are well-defined, one can infer some properties of the causal structure by testing conditional independencies and applying a constraint-based discovery method. In particular, the independence
and CFC allow one to exclude
from the set of possible structures. Now, let the set of observed variables be
. That is, suppose again that one does not observe LDL and HDL but only TC. In this case, too, the true structure is not a collider. Assuming that the dependencies over V′ are causally interpretable, the most plausible structure—the one we wish to rationalize in this article—would be a common cause (i.e.,
). However, since HDL and LDL are independent,
, it follows that D1 and D2 are independent, too (i.e.,
). If the true structure is a common cause, this contradicts CFC, which would entail a dependence between the effects of the common cause. Moreover, because D1 and D2 are dependent on (respectively) LDL and HDL, D1 and D2 become dependent upon conditioning on TC (i.e.,
). For example, suppose one knows that one patient’s total cholesterol has increased. Then, knowing that disease 1 is absent gives one relevant information to predict that disease 2 is present. If the true structure is a common cause, this conditional dependence would violate CMC, which would entail the independence of D1 and D2 given their common cause. Based on
and
, as well as
and
, a constraint-based algorithm (e.g., the algorithms proposed by Spirtes et al. Reference Spirtes, Glymour and Scheines2000, 84–85, 144–45) will infer an unshielded collider on TC (i.e.,
). A researcher applying the algorithm without knowing that TC is the sum of HDL and LDL (which are causes of, respectively, D1 and D2) will thus infer the wrong structure. The reason, ultimately, is that TC is ill-defined in V′.
Similarly, assume that all variables in V are well-defined, but now X causes Y, and Y causes Z; that is, the true structure is
. Under CMC, it holds that
, and under CFC, it holds that
. Now, consider the set of observed variables
, where Da (not represented in fig. 1), denoting dairies, is a cause of LDL but not of HDL. Again, suppose that one observes TC but neither HDL nor LDL. Here, too, the true structure is not a collider. The most plausible causal interpretation of the dependencies over V″ is a directed path (i.e.,
). However, since Da is a cause of LDL, which is independent of the cause HDL of D1, it holds that
, which violates CFC. Moreover, it holds that
, which violates CMC. From this, one may again wrongly infer a collider on TC (i.e.,
). Ultimately, the reason is that TC is ill-defined in V″.
These simple examples show how conditional independencies are sensitive to the presence of ill-defined variables in fork and chain structures, but ill-defined variables are undetectable from conditional independencies only.Footnote 1 This may lead to mistaken inferences (i.e., the inference of colliders) if one unreflectively applies constraint-based algorithms.
3. A Novel Representation Framework
We now introduce a series of definitions, which will allow us to precisely define the notion of an ill-defined variable. First, we introduce a class of data-generating mechanisms inducing the problem of ill-defined variables. We call them “augmented” structural causal models, by which we extend the traditional notion of structural causal models (Pearl Reference Pearl2009; Peters, Janzing, and Schölkopf Reference Peters, Janzing and Schölkopf2017) to structures including deterministic assignments.
Augmented structural causal model An augmented structural causal model,
consists of a collection A
W
of m assignments, a collection A
I
of k assignments, and a probability distribution Pr such that:
i) the collection of A W consists of assignments
where
are called the parents of Wi, and Si are called noises, or shocks;ii) Pr over
is such that the shocks are mutually independent; that is,
. Hence, the Si are also called independent components;iii) the collection of A I consists of assignments
where
are called determinants of Ii.
Model ℭ is defined over a set of variables
with cardinality
. We associate to ℭ a graph 𝒢V
(see, e.g., fig. 1, where TC is the only variable with a deterministic assignment). The graph 𝒢V
is obtained by creating a node for each element of V and by drawing a directed edge → from each parent in Pari (if not empty) to Wi and a modified directed edge ⇒ from each determinant in Deti to Ii. Henceforth, we restrict our attention to acyclic structures such that 𝒢V
is a modified DAG, to cases where Deti has at least two elements, and to assignments A
W
in which the shocks are additive. For simplicity, we also assume that no pair of variables Ii, Ij in I,
, are linked in 𝒢V
by a bidirected modified “active” (i.e., without colliders) path
.
By replacing all modified directed edges ⇒ with standard edges →, 𝒢V
becomes a standard DAG, labeled
. By removing from 𝒢V
the nodes in I and the edges connecting I to W, we obtain a subgraph of 𝒢V
, which we denote 𝒢W
.
Let us now introduce a particular graph associated with ℭ, which we call independent component (IC) representation, or 𝒢IC. The graph 𝒢IC contains edges between shocks and endogenous variables but not among endogenous variables themselves. Despite this apparent limitation, the information in 𝒢IC will be key to the purpose of our article. Although here we are not concerned with how 𝒢IC is recovered, we should mention that there exist powerful statistical learning techniques, such as Independent Component Analysis (ICA; Hyvärinen, Karhunen, and Oja Reference Hyvärinen, Karhunen and Oja2001), that under certain assumptions (i.e., non-Gaussianity) infer the dependence coefficients, and thus identify the absence of dependencies, between shocks and endogenous variables in ℭ, and thereby recover the edges in 𝒢IC.
IC representation Consider
, with
,
. An IC representation of ℭ is a DAG
such that ℰIC consists of the following edges:
i)
, for any
, …, m;ii)
, for any
such that there is a directed standard path
in 𝒢V
;iii)
, for any
and any
such that there is a directed modified path
in 𝒢V
;iv)
, for any
and any
such that from Wi to Ih in 𝒢V
there is a directed standard path followed by a directed modified path with the same orientation,
.
Let us illustrate this definition relative to figure 2, where
and
. (i) There is a shock for each variable in W. Some shocks (e.g., S
D1) only hit one variable (D1). Others are common to multiple variables. (ii) For any variable (e.g., HDL), its shock (S
HDL) also hits all of its descendants, if any (D1, HD). (iii) Any shock to a determinant of a variable Ii in I (e.g., S
HDL) also hits Ii (TC). (iv) If V contained a cause of a determinant of Ii (e.g., dairies, Da, which causes LDL), its shock (S
Da) would also hit Ii (TC).
corresponding to the DAG 𝒢V
in figure 1.

One may also define 𝒢IC relative to any subset O of variables in V, namely,
. The set S
O
is obtained by removing from S those shocks, which ℭ assigns to variables in W that are not in O, and by adding those shocks, which ℭ assigns to variables in W that are determinants of variables in
. The set
is obtained by removing from ℰIC all of those edges whose tails are not in S
O
. For any variable set O, we call “idiosyncratic” a shock to a variable X in
that is a parent of X and of no other variable. We may now define ill- and well-defined variables:
Ill- and well-defined variables Let ℭ over
contain the assignment
,
. Let Des
I
denote the set of all descendants of determinants of I in 𝒢V
.Footnote 2 Assume
. Then, I is ill-defined in O if and only if, for some
, there exists a variable Y such that (i)
, (ii)
, (iii) Y belongs to a (possibly empty) active path from Det
i to Des
j in 𝒢V
(i.e.,
or
), and (iv)
contains no shock SY common to I, Y, for which
in ℭ. Any variable in O that is not ill-defined in O is well-defined in O.
For instance, TC is well-defined in {Da, TC} because Da is neither a determinant of TC nor a descendant of a determinant of TC and vice versa. By contrast, TC is ill-defined in {HDL, TC} because HDL is a determinant of TC, and
. Also, TC is ill-defined in {TC, D1} and {TC, HD} because D1 and HD are effects of determinants of TC, and (respectively)
and
. More generally, a variable I is ill-defined in O if and only if O also contains a variable Y among I’s determinants or their descendants, and
contains no shock SY on I, Y, such that I screens off SY from Y in ℭ. This lack of screening off intuitively captures the idea that a manipulation of I with respect to Y is ambiguous. In turn, to explain the lack of screening off, we need the following proposition (proof in appendix):
Proposition 1 Let ℭ over
contain the assignment
,
. Assume CMC and CFC in 𝒢W
. Then, for any Det
i, Des
i, Anc
i, where Des
i is a descendant of Det
i, and Anc
i is an ancestor of Det
i, it holds that
, except for a parameter set Θ (characterizing the assignments in ℭ) that violates CFC in
.Footnote 3
We can also define a graph
representing the structure over O, where ℰO
consists of the following edges. First, 𝒢O
has a modified edge
if and only if there is a directed path
in 𝒢V
, and no variable between X and Y is in O. Next, let the tail ⋄ of the arrow
indicate that X is ill-defined in {X, Y}. Then, 𝒢O
has an edge
for any 〈X, Y, Z〉 for which X,
,
,
, and 𝒢V
features a path
, unless
has a shock S common to X, Y for which
in ℭ, in which case
is in 𝒢O
. Furthermore, 𝒢O
has a standard edge
if 𝒢V
has a directed path from X to Y featuring standard edges → or modified edges ⇒, and no variable between X and Y is in O. Finally, 𝒢O
has a bidirected edge
if and only if 𝒢V
has an active path
featuring standard or modified edges, and only X, Y on that path are in O. No further edges are in 𝒢O
.
Illustrated in relation to figure 1, 𝒢{HDL,TC,LDL} is
, and 𝒢{HDL,LDL,HD} is
. The two problematic structures with ill-defined variables from section 2, namely, 𝒢{TC,D1,D2} and 𝒢{Da,TC,D1}, are represented as, respectively,
and
. Finally, let us define the notions of ill- and well-defined causes:
Ill- and well-defined causes For any X,
, X is an ill-defined cause of Y in O if and only if 𝒢{X,Y} contains the edge
. For any X,
, X is a well-defined cause of Y in O if and only if Y is well-defined in {X, Y}, and 𝒢{X,Y} contains the edge
.
For instance, HDL is a well-defined cause of HD in {HDL, HD}.Footnote 4 By contrast, TC is an ill-defined cause of HD in {TC, HD}.
4. Identification
We now illustrate the applicability of our framework to detecting ill-defined variables and improving causal inference. We begin with a condition under which one may unambiguously identify ill-defined variables.
Proposition 2: Sufficient condition for ill-definedness Consider ℭ over V, and
. Assume CMC and CFC in 𝒢W
. Also assume (i)
, (ii)
,
,
, and (iii)
has no idiosyncratic shock on Y. Then, Y is ill-defined in O with two determinants in V, and 𝒢O
is
.
For instance, applied to
, this condition establishes that TC is an ill-defined common cause of D1 and D2 (i.e.,
), since
,
,
,
, and
has no idiosyncratic shock to TC. Proposition 2 is easily generalizable to cases with more than two determinants.
If one observes no effects of independent determinants of the ill-defined variable; for instance, in
, the above condition is not applicable. Nonetheless, one may still reduce the ambiguity concerning ill-defined variables and partially recover the causal structure. To this end, let us assume that determinism induces dependencies (DD):
(DD) For any I and any
in ℭ, it holds that
.
In other words, there are probabilistic dependencies between variables with deterministic assignments and their determinants. This assumption is only violated by canceling paths from determinants to determined variables. Its satisfaction requires (similarly to CFC) the absence of special parameterizations. For simplicity, we also assume that O contains no determinants of variables in O, such that ℰO contains no modified edges ⇒.Footnote 5 Then, one may identify well-defined variables:
Proposition 3: Sufficient condition for well-definedness Consider ℭ over V, and
. Assume DD. Assume CMC and CFC in 𝒢W
. Assume that no determinant of ill-defined variables in O is in O. Then, a variable X is well-defined in O if for any Y in O,
, and one of i–iv holds: (i)
; (ii) in
, X is not a child of an idiosyncratic shock, and X, Y are children of a common shock S, such that
; (iii) in
, X is the only child of an idiosyncratic shock; (iv) in
, X, Y are children of idiosyncratic shocks, and there is
such that
and no
is the child of an idiosyncratic shock in
.
For instance, Da (which, to recall, causes LDL but not HDL) is well-defined in V″, since (i)
, and (ii)
contains a shock S common to Da, TC, such that
, and no idiosyncratic shock to Da, from which one may infer
. Next, one can identify putative ill-defined variables:
Proposition 4: Necessary condition for ill-definedness Consider ℭ over V and its associated graph 𝒢V
. Assume DD. Assume CMC and CFC in 𝒢W
. Let X be ill-defined in
with
,
. Then (i)
; (ii) in
, X, Y are children of a common shock; (iii.a) in
, X is child of an idiosyncratic shock, or (iii.b) in
, X is not a child of an idiosyncratic shock and there is a set of shocks S on X such that
.
For instance, TC and D1 are such that (i)
. Moreover, in
they are (ii) children of a common shock and (iii.a) children of idiosyncratic shocks. Therefore, TC and D1 qualify as putatively ill-defined. Assuming the absence of bidirected modified paths, 𝒢{TC,D1} cannot be
. Therefore, only three structures are possible, namely,
,
, and
. The ambiguity may be resolved by enlarging V″ until a sufficient set Z of common causes of TC, D1 is found that screens them off, or (given Z) the dependence between TC and D1 is oriented such that one is a well-defined cause of the other (i.e.,
or
), or enough effects of determinants of TC or D1 are observed as to remove the idiosyncratic shock on TC or D1, such that either
or
holds.
5. Conclusion
The problem of variable definition is known to be responsible for ambiguous manipulations. Furthermore, we showed that it can lead to mistaken causal inferences by standard constraint-based causal discovery methods. To address the problem, we introduced a novel representation framework suitable for structures including ill-defined variables, that is, the IC representation. We argued that recovering the IC representation can unambiguously identify ill-defined variables, under certain assumptions, or at least exclude that certain variables are ill-defined and consequently reduce the risk of mistakes. Given recent advances in statistical techniques (e.g., ICA) by which one may recover the IC representation, our proposal holds great promise. Therefore, we strongly invite further research on the subject.
Appendix
Proof of Proposition 1
Assume per absurdum that there exist Anc
i, Des
i of Det
i, such that
for any set of parameters Θ in ℭ. This is possible only if one of A–C holds: (A) Det
i suffices to determine I, such that I renders Det
i irrelevant to Anc
i, Des
i. This requires
, contradicting
. (B)
and for some
, there is no directed path
. Then, Det
j would act as an exogenous noise on I, such that the edge
would be observationally indistinguishable from a standard edge
. Holding CFC in W, and since I behaves like a child of Det
i, we would have
, contradicting our starting hypothesis. (C)
and for any
, there is a directed path
. Then, there exists a parameter set Θ such that
. For instance, assume
and a generalized additive model where
,
,
,
. Then,
holds if and only if (i)
and
or (ii)
and
. This point generalizes to larger cardinalities. Finally, since I is a parent of neither Anci
nor Desi
in
, any such parameter set Θ realizing
necessarily violates CFC in
. QED
Proof of Proposition 2
Let *→ denote one among →, ⟷, and ⋄→. Assume per absurdum that i–iii are true, but Y is well-defined. CMC and ii entail that 𝒢V
contains paths linking X, Y and Y, Z. CFC and i entail that 𝒢V
contains no path linking X, Z. Then, 𝒢O
contains only two edges, one connecting X, Y, and one connecting Y, Z. Among the possible structures in 𝒢O
,
,
,
, and
contradict i, and
contradicts iii. In all other structures, that is,
,
, and
, Y is ill-defined. The latter two contradict iii. Thus, 𝒢O
is
, and Det
Y
has precisely two elements in V (one causing X and one causing Z); otherwise,
would contain an idiosyncratic shock on Y associated to its extra determinant(s), violating iii. As a corollary,
contains idiosyncratic shocks on X and Z. QED
Proof of Proposition 3
(i) From the definition of ill-defined variable, for any
, 𝒢V
contains a directed path from some
to some descendant Des
j of Det
i. Under CFC and DD, I is ill-defined only if O contains some Y on that path, such that
. Hence, if
and
, then X is well-defined. (ii) In
, X is ill-defined and not a child of an idiosyncratic shock only if 𝒢V
contains directed paths from each
to Y. Then,
contains no shock S common to X, Y, such that
. Since this contradicts ii, X cannot be ill-defined. (iii) If X is the only child of an idiosyncratic shock in
, then
contains a shock common to X, Y. Then, X is ill-defined in
only if O contains a node
, which is not a child of an idiosyncratic shock, contradicting the assumption that
. Hence, X is well-defined. (iv) Suppose per absurdum that X is ill-defined, entailing a directed path
in 𝒢V
. Since
, some
is on that path. Then, Zi is a child of an idiosyncratic shock in
, contradicting iv. Hence, X is well-defined. QED
Proof of Proposition 4
Preamble: From the definition of ill-defined variable, and from
, it follows that 𝒢{X, Y} is
. (i) Under CFC and DD, the preamble implies
. (ii) By definition of IC representation,
contains at least one common shock to X, Y due to a latent determinant of X. (iii) If 𝒢V
contains a determinant of X not linked to Y by a directed path, then X is a child of an idiosyncratic shock (iii.a). If, on the contrary, all determinants of X are linked to Y by directed paths in 𝒢V
, then X is not a child of an idiosyncratic shock. Additionally, given
, it follows that there is a set S of shocks on X’s determinants, such that
(iii.b). QED


𝒢VIC