Commit 3b405b7
Fix bootstrap RCS cohort-mass weighting, reset stale event-study VCV
- Bootstrap overall/event-study reaggregation now uses agg_weight (fixed
cohort mass) for panel=False, matching the analytical aggregation path
- Reset self._event_study_vcov = None at start of fit() to prevent stale
VCV from prior fit leaking into reused estimator objects
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b623dee commit 3b405b7
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
1323 | 1326 | | |
1324 | 1327 | | |
1325 | 1328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
| 241 | + | |
240 | 242 | | |
241 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
242 | 248 | | |
243 | 249 | | |
244 | 250 | | |
| |||
572 | 578 | | |
573 | 579 | | |
574 | 580 | | |
575 | | - | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
576 | 585 | | |
577 | 586 | | |
578 | 587 | | |
| |||
0 commit comments