Show Me the DAG - An Introduction to Causal Graphs


Posted by ar851060 on 2023-07-23

Welcome back to our thrilling series on causal inference! In this fourth installment, we're about to decode the enigma of Directed Acyclic Graphs (DAGs) and their pivotal role in deciphering causal relationships. Brace yourself for an exhilarating journey as we navigate the mesmerizing world of causal structures. Let's plunge right in!

Unveiling the Definition of Causal Relationships

Before we dive into the depths of DAGs, let's revisit our understanding of causal relationships. In its simplest form, a causal relationship is when the fluctuation of variable A directly impacts the fluctuation of variable B, without any other variables playing a part. In essence, when A shifts, B shifts. This direct influence is what we refer to as A causing B. Now, equipped with this fundamental definition of causal relationships, we're all set to delve into the complexities of causal structures.

Introducing the Causal Structure Model

To comprehend causal structures, we need to get acquainted with two types of variables: exogenous and endogenous. Exogenous variables are external to the system under study, while endogenous variables are influenced by other variables within the system.

Let's use an example to elucidate the causal structure model. Suppose we're keen on understanding the relationship between study time (A) and exam scores (B). We can represent this relationship using an equation:

B = f(A) + E

Here, B represents the exam scores, A represents study time, f(A) denotes the functional relationship between study time and exam scores, and E represents the error term, capturing any unobserved factors or random variations.

By incorporating these elements, we construct a causal structure model that enables us to investigate the relationship between variables and identify causal connections within a system.

The Essence of Directed Acyclic Graphs

Directed Acyclic Graphs (DAGs) are potent visual tools for representing causal relationships within a causal structure model. They illustrate the direction of influence between variables and highlight the absence of cycles.

But why "directed"? Well, DAGs use arrows to indicate the direction of causal influence. The arrows point from the cause variable to the effect variable, emphasizing the flow of influence between them. This directionality enables us to uncover the cause-and-effect relationships encoded within the graph. For example, if we want to show that A causes B, then

A → B

Now, why "acyclic"? DAGs are acyclic because they lack loops or cycles. In other words, we do not encounter situations where a variable causes itself directly or indirectly through other variables. This acyclic nature ensures that the causal relationships within the graph are well-defined and can be analyzed effectively. Therefore, we don’t get the question like “Which came first, the chicken or the egg?”

By combining directionality and acyclicity, DAGs offer a clear and concise representation of causal relationships, enabling us to understand the intricate web of cause and effect.


#causal inference









Related Posts

'vite'不是內部或外部命令、可執行的程式或批次檔的各種解法

'vite'不是內部或外部命令、可執行的程式或批次檔的各種解法

CodeWars 解題心得 : RGB To Hex Conversion

CodeWars 解題心得 : RGB To Hex Conversion

[ JavaScript 02 ] 變數

[ JavaScript 02 ] 變數


Comments