Commit 14f8891
Address re-review: smoothness df gating, M=0 SE, infeasibility propagation
P1: Gate df<=0 -> NaN at top of _compute_optimal_flci for all M values,
honoring the project's inference contract for undefined survey df.
P1: M=0 SE now includes pre-period variance contribution via the
extrapolation weight vector, not just l'Sigma_post l.
P1: _compute_smoothness_bounds propagates NaN from infeasible LP bounds
to CI, preventing finite CIs for refuted restrictions.
P3: Updated HonestDiD class docstring to match corrected Delta^RM
first-difference definition.
P3: METHODOLOGY_REVIEW.md survey variance checklist now distinguishes
RM/M=0 (verified) from M>0 smoothness (asymptotic normal only).
P2: Added fit-level tests for infeasible smoothness CI and df_survey=0.
Updated width monotonicity test for M>0 only (M=0 uses different SE).
85/85 tests pass in 0.75s.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent bead440 commit 14f8891
3 files changed
Lines changed: 83 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
| 634 | + | |
634 | 635 | | |
635 | 636 | | |
636 | 637 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1445 | 1445 | | |
1446 | 1446 | | |
1447 | 1447 | | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
1448 | 1453 | | |
1449 | | - | |
1450 | | - | |
1451 | 1454 | | |
1452 | 1455 | | |
1453 | 1456 | | |
1454 | 1457 | | |
1455 | 1458 | | |
1456 | | - | |
1457 | | - | |
1458 | | - | |
1459 | | - | |
1460 | | - | |
1461 | | - | |
1462 | | - | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
1463 | 1479 | | |
1464 | 1480 | | |
1465 | 1481 | | |
| |||
1854 | 1870 | | |
1855 | 1871 | | |
1856 | 1872 | | |
1857 | | - | |
1858 | | - | |
| 1873 | + | |
| 1874 | + | |
1859 | 1875 | | |
1860 | 1876 | | |
1861 | 1877 | | |
| |||
2095 | 2111 | | |
2096 | 2112 | | |
2097 | 2113 | | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
2098 | 2118 | | |
2099 | 2119 | | |
2100 | 2120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
265 | | - | |
| 264 | + | |
| 265 | + | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
270 | 273 | | |
271 | | - | |
| 274 | + | |
272 | 275 | | |
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
276 | 279 | | |
277 | 280 | | |
278 | | - | |
| 281 | + | |
279 | 282 | | |
280 | 283 | | |
281 | 284 | | |
| |||
305 | 308 | | |
306 | 309 | | |
307 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
308 | 354 | | |
309 | 355 | | |
310 | 356 | | |
| |||
0 commit comments