Update power analysis tutorial with simulation-based features#220
Update power analysis tutorial with simulation-based features#220
Conversation
Expand the tutorial to cover the full simulation power analysis API added in PR #208: multi-estimator support (CallawaySantAnna, SyntheticDiD, TripleDifference), simulate_mde() bisection search, simulate_sample_size() bisection search, custom data generators, and analytical vs simulation guidance. Includes reference table of all 12 supported estimators. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Overall Assessment The notebook update is mostly aligned with Executive Summary
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
Path to Approval
|
- P1: Fix custom DGP example to use time-invariant `ever_treated` column instead of post-treatment exposure indicator (rank-deficient design) - P2: Correct DDD prose to document actual rounding rule `max(2, n_units // 8)` with min effective N = 16, distinguish from registry search floor of 64 - P3: Change Section 8 intro from "any built-in estimator" to "all 12 supported estimators" with forward refs to support table Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
/ai-review |
|
🔁 AI review rerun (requested by @igerber) Head SHA: Overall Assessment ✅ Looks good Executive Summary
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
|
Summary
simulate_mde()with search path inspectionsimulate_sample_size()with analytical vs simulation comparisondata_generator_kwargsand fully customdata_generator)Methodology references (required if estimator / math changes)
Validation
jupyter nbconvert --executeSecurity / privacy
Generated with Claude Code