Commit 64119a0
two-stage-did: explicit vcov_type on convenience fn + full NaN-contract tests (codex P3)
- two_stage_did(): expose vcov_type="hc1" explicitly (was hidden behind **kwargs)
and forward it, matching the imputation_did/efficient_did sibling wrappers — the
convenience API surface, generated signature, and IDE help now show the param.
- Degenerate-bootstrap tests now assert the FULL public NaN-propagation contract
(overall t_stat/p_value/conf_int + every event-study/group inference field) via
a shared _assert_full_bootstrap_nan helper, not just overall_se, so a partial
regression in _build_nan_bootstrap_results can't slip through.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 489dae4 commit 64119a0
2 files changed
Lines changed: 46 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3361 | 3361 | | |
3362 | 3362 | | |
3363 | 3363 | | |
| 3364 | + | |
3364 | 3365 | | |
3365 | 3366 | | |
3366 | 3367 | | |
| |||
3392 | 3393 | | |
3393 | 3394 | | |
3394 | 3395 | | |
| 3396 | + | |
| 3397 | + | |
| 3398 | + | |
| 3399 | + | |
| 3400 | + | |
3395 | 3401 | | |
3396 | 3402 | | |
3397 | 3403 | | |
| |||
3408 | 3414 | | |
3409 | 3415 | | |
3410 | 3416 | | |
3411 | | - | |
| 3417 | + | |
3412 | 3418 | | |
3413 | 3419 | | |
3414 | 3420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1979 | 1979 | | |
1980 | 1980 | | |
1981 | 1981 | | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
1982 | 2019 | | |
1983 | 2020 | | |
1984 | 2021 | | |
| |||
2164 | 2201 | | |
2165 | 2202 | | |
2166 | 2203 | | |
2167 | | - | |
2168 | | - | |
2169 | | - | |
2170 | | - | |
2171 | | - | |
2172 | | - | |
2173 | | - | |
2174 | | - | |
| 2204 | + | |
2175 | 2205 | | |
2176 | 2206 | | |
2177 | 2207 | | |
| |||
2188 | 2218 | | |
2189 | 2219 | | |
2190 | 2220 | | |
2191 | | - | |
2192 | | - | |
| 2221 | + | |
2193 | 2222 | | |
2194 | 2223 | | |
2195 | 2224 | | |
| |||
0 commit comments