Errata

Causal Inference in Python

Errata for Causal Inference in Python

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 14, 15, 16
Several formulas

When ATE, ATT and CATE are defined in those pages, the “i” subindex is maintained inside Expectations. These subindexes shouldn’t appear since Expectation is a property of the variable but not of its observations. Hence, in page 14, instead of

ATE=E[tau_i],

it should be

ATE=E[tau]

This happens several times in pages 14, 15 and 16. In page 19 and beyond this is corrected

Jaime Bautista  Mar 06, 2024 
PDF Page 71
First paragraph

Text says:
"In this graph, even if you don't condition on the collider, but condition on a cause of it, the causes of the collider become dependent."

The correct would be "condition on an effect/a child of it".

Jancer Wellington da Silva Gomes Filho  Mar 06, 2024 
Printed Page 171
Code in [35]

Function name is "conditional_density" however this is the PDF of a normal distribution. NOT a f(X|Y=y) which is the probability density of X given a fixed value Y=y uses conditional mean, variance and derived from the correlation between X and y. So it was confusing for me.
As later in [36] you used Scipy.stats.norm.pdf function
Which is still just a normal pdf.

Gil Tamari  May 29, 2024