Skip to content

Commit 74cefc3

Browse files
committed
Prepare release 0.0.7
1 parent 6b88ddf commit 74cefc3

2 files changed

Lines changed: 39 additions & 1 deletion

File tree

causarray/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.6"
1+
__version__ = "0.0.7"

docs/CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# Changelog
22

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+
341
## [0.0.6] - 2026-05-31
442

543
### Added

0 commit comments

Comments
 (0)