|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## [0.0.7] - 2026-07-18 |
| 4 | + |
| 5 | +### Added |
| 6 | + |
| 7 | +- `estimate_propensity_scores()` estimates in-sample or out-of-fold treatment |
| 8 | + probabilities without rerunning the outcome model. |
| 9 | +- `summarize_propensity_scores()` and `plot_propensity_scores()` report and |
| 10 | + visualize common support, tail mass, and inverse-weight effective sample size. |
| 11 | +- `LFC()` now returns both clipped `pi_hat` and diagnostic `pi_hat_raw` scores. |
| 12 | +- `LFC()` results include raw AIPW `mean_control`, `mean_treated`, and |
| 13 | + `estimable` diagnostics. |
| 14 | +- Propensity and latent-factor association diagnostics in the Perturb-seq |
| 15 | + tutorial. |
| 16 | + |
| 17 | +### Changed |
| 18 | + |
| 19 | +- `estimate_propensity_scores()` now defaults to class-balanced logistic |
| 20 | + weighting, matching `LFC()` and historical causarray behavior. Pass |
| 21 | + `class_weight=None` explicitly for calibrated treatment probabilities. |
| 22 | + |
| 23 | +### Fixed |
| 24 | + |
| 25 | +- `LFC()` now always uses standard, unclipped AIPW pseudo-outcomes while |
| 26 | + retaining its established class-balanced propensity nuisance fit to limit |
| 27 | + unrelated result drift. This removes directional bias from clipping negative |
| 28 | + cell-level influence-function values under treatment-group imbalance. |
| 29 | + Calibrated scores remain available with `ps_class_weight=None`; the legacy |
| 30 | + cell-level clipping option has been removed. |
| 31 | +- Valid aggregate counterfactual means are floored only for the final log-ratio |
| 32 | + and delta-method calculation, after averaging the unchanged pseudo-outcomes. |
| 33 | +- Nonfinite or nonpositive aggregate counterfactual means are reported as |
| 34 | + non-estimable rather than silently floored before taking a log ratio. |
| 35 | +- `cross_est=True` now enables two-fold nuisance cross-fitting, with an explicit |
| 36 | + `K` taking precedence. |
| 37 | +- Intercept-only propensity models now respect the requested class weighting: |
| 38 | + balanced fits return 0.5 and unweighted fits return the case prevalence. |
| 39 | + Masks are indexed correctly within cross-fitting folds. |
| 40 | + |
3 | 41 | ## [0.0.6] - 2026-05-31 |
4 | 42 |
|
5 | 43 | ### Added |
|
0 commit comments