最近一直在读之前提到的 The Book of Why，我觉得 collider 的概念可能是这本书里最重要的几个概念之一。本来我也可以用自己的语言写一个介绍，但好像懒得动笔，就节选书中几段话放在这里（顺序是我刻意安排的）。

X 与 Y 相关的三种解释：

- X 是 Y 的原因；
- X 和 Y 有共同的原因；
- collider。

We live our lives as if the common cause principle were true. Whenever we see patterns, we look for a causal explanation. In fact, we hunger for an explanation, in terms of stable mechanisms that lie outside the data. The most satisfying kind of explanation is direct causation:

Judea Pearl. 2018. The Book of Why. Chapter 6XcausesY. When that fails, finding a common cause ofXandYwill usually satisfy us. By comparison, colliders are too ethereal to satisfy our causal appetites.

什么是 collider？

A→B←C. This is the most fascinating junction, called a “collider.” Felix Elwert and Chris Winship have illustrated this junction using three features of Hollywood actors:Talent→Celebrity←Beauty. Here we are asserting that both talent and beauty contribute to an actor’s success, but beauty and talent are completely unrelated to one another in the general population.We will now see that this collider pattern works in exactly the opposite way from chains or forks when we condition on the variable in the middle. If

AandCare independent to begin with, conditioning onBwill make them dependent. For example, if we look only at famous actors (in other words, we observe the variable Celebrity = 1), we will see a negative correlation between talent and beauty: finding out that a celebrity is unattractive increases our belief that he or she is talented.This negative correlation is sometimes called collider bias or the “explain-away” effect. For simplicity, suppose that you don’t need both talent and beauty to be a celebrity; one is sufficient. Then if Celebrity

Judea Pearl. 2018. The Book of Why. Chapter 3Ais a particularly good actor, that “explains away” his success, and he doesn’t need to be any more beautiful than the average person. On the other hand, if CelebrityBis a really bad actor, then the only way to explain his success is his good looks. So, given the outcome Celebrity = 1, talent and beauty are inversely related—even though they are not related in the population as a whole. Even in a more realistic situation, where success is a complicated function of beauty and talent, the explain-away effect will still be present. This example is admittedly somewhat apocryphal, because beauty and talent are hard to measure objectively; nevertheless, collider bias is quite real, and we will see lots of examples in this book.

另外两个 collider 的例子：

Try this experiment: Flip two coins simultaneously one hundred times and write down the results only when at least one of them comes up heads. Looking at your table, which will probably contain roughly seventy-five entries, you will see that the outcomes of the two simultaneous coin flips are not independent. Every time Coin 1 landed tails, Coin 2 landed heads. How is this possible? Did the coins somehow communicate with each other at light speed? Of course not. In reality you conditioned on a collider by censoring all the tails-tails outcomes.

Judea Pearl. 2018. The Book of Why. Chapter 6

The correlation we observe is, in the purest and most literal sense, an illusion. Or perhaps even a delusion: that is, an illusion we brought upon ourselves by choosing which events to include in our data set and which to ignore. It is important to realize that we are not always conscious of making this choice, and this is one reason that collider bias can so easily trap the unwary. In the two-coin experiment, the choice was conscious: I told you not to record the trials with two tails. But on plenty of occasions we aren’t aware of making the choice, or the choice is made for us.

The distorting prism of colliders is just as prevalent in everyday life. As Jordan Ellenberg asks in

Judea Pearl. 2018. The Book of Why. Chapter 6How Not to Be Wrong, have you ever noticed that, among the people you date, the attractive ones tend to be jerks? Instead of constructing elaborate psychosocial theories, consider a simpler explanation. Your choice of people to date depends on two factors: attractiveness and personality. You’ll take a chance on dating a mean attractive person or a nice unattractive person, and certainly a nice attractive person, but not a mean unattractive person. It’s the same as the two-coin example, when you censored tails-tails outcomes. This creates a spurious negative correlation between attractiveness and personality. The sad truth is that unattractive people are just as mean as attractive people—but you’ll never realize it, because you’ll never date somebody who is both mean and unattractive.

在控制变量的时候，一定不要控制 collider，因为：

[I]n a collider,

Judea Pearl. 2018. The Book of Why. Chapter 4A→B←C, exactly the opposite rules hold. The variablesAandCstart out independent, so that information aboutAtells you nothing aboutC. But if you control forB, then information starts flowing through the “pipe,” due to the explain-away effect.

Comments are closed, but trackbacks and pingbacks are open.