matheusfacure / python-causality-handbook

Causal Inference for the Brave and True. A light-hearted yet rigorous approach to learning about impact estimation and causality.
https://matheusfacure.github.io/python-causality-handbook/landing-page.html
MIT License
2.65k stars 463 forks source link

Issue on page /05-The-Unreasonable-Effectiveness-of-Linear-Regression.html #274

Closed bongho closed 1 year ago

bongho commented 1 year ago

In the following code section, I don't think "import graphviz as gr" is required. :)

Click to hideimport warnings warnings.filterwarnings('ignore')

import pandas as pd import numpy as np import statsmodels.formula.api as smf import graphviz as gr %matplotlib inline

matheusfacure commented 1 year ago

Yes it is. It is used to show the DAG in the OVB section.