-
Book Overview & Buying
-
Table Of Contents
Causal Inference and Discovery in Python
By :
In this section, we’ll demonstrate how to quantify associational relationships using conditional probability. Then, we’ll briefly introduce structural causal models. Finally, we’ll implement conditional probability queries using Python.
We already learned a lot about associations. We know that associations are related to observing and that they allow us to generate predictions. Let’s take a look at mathematical tools that will allow us to talk about associations in a more formal way.
We can view the mathematics of rung one from a couple of angles. In this section, we’ll focus on the perspective of conditional probability.
Conditional probability
Conditional probability is the probability of one event, given that another event has occurred. A mathematical symbol that we use to express conditional probability is | (known as a pipe or vertical bar). We read
as a probability of X given Y. This notation is a bit simplified (or...