Skip to content

Update notebooks: new ADML sensitivity-analysis notebooks, PM-4 simulation code, notebook fixes - #40

Closed
lucasmoreira wants to merge 32 commits into
mainfrom
update-notebooks
Closed

lucasmoreira wants to merge 32 commits into
mainfrom
update-notebooks

Conversation

@lucasmoreira

Copy link
Copy Markdown

Merges the update-notebooks branch into main.

What's included

  • New T-ADML/ folder with two sensitivity-analysis notebooks adapted from the Long Story Short: Omitted Variable Bias in Causal Machine Learning replication package: python_ADML_401k.ipynb (R kernel) and gasoline_example/python_ADML_gas.ipynb (Python, with helper modules and data).
  • PM4/ simulation scripts and README reproducing the PM-4 illustrative figures.
  • Fixes to existing notebooks: vaccine RCT confidence intervals (Cornfield exact interval), pgmpy API update, HC1 robust SEs and interaction-term selection in the heterogeneous wage effects notebook, double lasso no-selection check, adjusted MSE fix, stale Colab badge removal.

The website (causalml-book.org) is being updated in parallel to list the new notebooks.

🤖 Generated with Claude Code

1106maxi and others added 30 commits September 23, 2026 11:11
Code to reproduce the illustrative simulation figures in Chapter PM-4. dml_illustration_sim.py is the main wrapper.
Align birthweight examples to same sample exclusion and specification

Fix broken hdmpy in python sensitivity analysis notebook.
Fix hdmpy import for current google colab
Updates to AJR notebooks in AC-2 to run on google colab
Corrections to 401k notebook code - some nuisance functions incorrectly input

Update to run on current google colab
Update to follow naming convention of other books. Mild figure edits.
Figure changes
Update to 401k r notebook fixing a labeling issue

Creation of first pass at colab ready gasoline example notebook.
R and python notebooks for ADML chapter
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1106maxi and others added 2 commits October 22, 2026 12:38
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@1106maxi 1106maxi closed this Oct 28, 2026
@1106maxi

Copy link
Copy Markdown
Collaborator

Closing while I make further notebook edits; will continue in a new PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants