You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update README + CHANGELOG for v0.8.0 release
- README: add v0.8.0 headline, update API-at-a-Glance with all new
modules (spatial 38 symbols, time series, discovery, matching, etc.),
update comparison table (spatial no longer an R advantage), add
spatial row to pain-point table
- CHANGELOG: full v0.8.0 release notes covering all 10 sub-projects
- Fix function count: 390+ → 450+
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+83-7Lines changed: 83 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ StatsPAI is the **agent-native** Python package for causal inference and applied
15
15
16
16
It brings R's [Causal Inference Task View](https://cran.r-project.org/web/views/CausalInference.html) (fixest, did, rdrobust, gsynth, DoubleML, MatchIt, CausalImpact, ...) and Stata's core econometrics commands into a single, consistent Python API.
17
17
18
-
**NEW in v0.6**: `sp.interactive(fig)` — a Stata Graph Editor-style WYSIWYG plot editor for Jupyter, with 29 academic themes, real-time preview, and auto-generated reproducible code.
18
+
**NEW in v0.8.0**: **Spatial Econometrics Full-Stack** — 38 new API symbols covering weights, ESDA, ML/GMM regression, GWR/MGWR, and spatial panel. Plus: local projections, GARCH, ARIMA, BVAR, LiNGAM, GES, optimal matching, cardinality matching, RIF decomposition, mediation sensitivity, Cox frailty, AFT survival, rdpower, survey calibration. **60+ new functions across 10 domains.**
| Result objects | Inconsistent across commands | Inconsistent across packages |**Unified `CausalResult` with `.summary()`, `.plot()`, `.to_latex()`, `.cite()`**|
39
40
| Interactive plot editing | Graph Editor (no code export) | None |**`sp.interactive()` — GUI editing with auto-generated code**|
|**`ggplot2` visualization**| R's grammar of graphics is more flexible than matplotlib for complex figures. |
546
547
|**`modelsummary`**| R's `modelsummary` is the gold standard for regression tables — StatsPAI's is close but not yet identical. |
547
548
|**CRAN quality control**| R packages go through peer review. Python packages vary in quality. |
548
-
|**Spatial econometrics**|`spdep`, `spatialreg` — R has a deeper spatial ecosystem. |
549
+
|**Spatial econometrics**|~~`spdep`, `spatialreg`~~ — **As of v0.8.0, StatsPAI matches R's 5-package spatial stack** (spdep + spatialreg + sphet + splm + GWmodel) in a single unified API, with numerical parity to PySAL spreg at rtol<1e-7 on the Columbus benchmark. |
0 commit comments