Skip to content

Commit 021957a

Browse files
igerberclaude
andcommitted
Document pre-existing RuntimeWarnings in CallawaySantAnna bootstrap
Add TODO item for RuntimeWarnings that occur during influence function aggregation in staggered.py. These warnings (divide by zero, overflow, invalid value in matmul) occur with small sample sizes or edge cases but don't affect result correctness. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 336e246 commit 021957a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

TODO.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ Enhancements for `honest_did.py`:
8585
## CallawaySantAnna Bootstrap Improvements
8686

8787
- [ ] Consider aligning p-value computation with R `did` package (symmetric percentile method)
88+
- [ ] Investigate RuntimeWarnings in influence function aggregation (`staggered.py:1722`, `staggered.py:1999-2018`)
89+
- Warnings: "divide by zero", "overflow", "invalid value" in matmul operations
90+
- Occurs during bootstrap SE computation with small sample sizes or edge cases
91+
- Does not affect correctness (results are still valid), but should be suppressed or handled gracefully
8892

8993
---
9094

0 commit comments

Comments
 (0)