This repo contains Python code for Part II of the book Causal Inference: What If, by Miguel Hernán and James Robins (book site):
Hernán MA, Robins JM (2020). Causal Inference: What If. Boca Raton: Chapman & Hall/CRC.
The code here roughly corresponds to the Stata, R, or SAS programs found at the book site.
Required Python packages:
If you use the Anaconda distribution of Python, you'll have most of those packages already, and you'll only need to install
The data can be obtained from the book site.
The notebooks all assume that the Excel version of the data has been saved in the same directory as the notebooks.
James Fiedler, with contributions from Petty PY Chen and Piyush Madan
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。