empirical-calibration
Package for empirical calibration
Decision gist · record as of 2026-08-14
No. The package is abandoned (archived repository, no commits since May 2024) and has high install friction with seven dependencies. While empirical calibration is a legitimate statistical technique, the lack of maintenance means no support for modern Python or dependency versions, no bug fixes, and no security updates. Use only if you have a frozen environment and cannot migrate to actively maintained alternatives.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; package is abandoned and no longer maintained.
- High install friction due to 7 runtime dependencies (numpy, scipy, scikit-learn, pandas, patsy, absl-py, six).
- Repository is archived and maintenance is abandoned as of 2024-05-05, with no active development or support.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 permissive license allows commercial and private use with minimal restrictions, though the abandoned status means no ongoing legal or security updates.
last release 2024-05-05 (831 days) · last repo commit 2024-05-05 · 45 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 319,751 downloads/mo, #7,642 on PyPI
Alternatives
Verify before relying
pip install empirical-calibration
import empirical_calibration as ec
# Use ec to compute calibration weights for your biased sample data- Current compatibility with Python versions beyond 3.7 (classifiers list 3.6 and 3.7 only; package is archived)
- Whether the package works reliably with modern versions of its dependencies (numpy, scipy, scikit-learn, pandas)
- Performance or robustness claims relative to existing software mentioned in the description
What it is and what it does
Empirical calibration is a statistical weighting method that corrects bias in survey samples and observational data by reweighting observations to match target population characteristics. The package solves the calibration problem as a convex optimization task in dual form, supporting multiple objectives, weight clipping, and inexact calibration. It depends on numpy, scipy, scikit-learn, pandas, patsy, absl-py, and six to handle numerical computation and data manipulation.
The package is designed for survey sampling (where samples are unrepresentative) and causal inference (where treatment assignment correlates with covariates). However, the repository is archived and maintenance is abandoned as of May 2024, meaning no bug fixes, security updates, or compatibility work with newer Python or dependency versions will occur.
Use it for
- Reweight survey respondents to match known population distributions when the sample is biased or non-random.
- Balance covariate distributions between treatment and control groups in observational causal studies.
- Correct for selection bias in administrative or real-world datasets where sampling was not random.
- Compute inverse-probability weights for observational studies with complex covariate imbalance.
- Apply weight clipping to avoid extreme weights that can destabilize downstream analysis.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (archived repository, no commits since May 2024) and has high install friction with seven dependencies. While empirical calibration is a legitimate statistical technique, the lack of maintenance means no support for modern Python or dependency versions, no bug fixes, and no security updates. Use only if you have a frozen environment and cannot migrate to actively maintained alternatives.
Install
empirical-calibration on PyPI
Before you install
High install friction due to 7 runtime dependencies (numpy, scipy, scikit-learn, pandas, patsy, absl-py, six). Repository is archived and maintenance is abandoned as of 2024-05-05, with no active development or support.
Requires Python 3.6 or later; package is abandoned and no longer maintained.
License in practice
Apache 2.0 permissive license allows commercial and private use with minimal restrictions, though the abandoned status means no ongoing legal or security updates.
Quickstart
pip install empirical-calibration
import empirical_calibration as ec
# Use ec to compute calibration weights for your biased sample data
Verify before relying
- Current compatibility with Python versions beyond 3.7 (classifiers list 3.6 and 3.7 only; package is archived)
- Whether the package works reliably with modern versions of its dependencies (numpy, scipy, scikit-learn, pandas)
- Performance or robustness claims relative to existing software mentioned in the description
Package facts
| License | Apache 2.0 permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | 7 packagesabsl-pynumpypandaspatsyscipysixscikit-learn |
| Maintenance | Abandoned 831 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 319,751 / month, #7,642 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Scientific/Engineering :: Mathematics |
Evidence: empirical_calibration-0.12.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “survey sampling bias correction”
- empirical-calibrationComputes empirical calibration weights to correct bias in survey…
- sinterSinter performs fast Monte Carlo sampling of quantum error correction…
- stimStim is a fast simulator for quantum stabilizer circuits, providing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Mathematics packages
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.
Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.
SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.
onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.
Install it if you have ONNX models to run in production or development.
See also fairlearn · psmpy · causallib · causalml · cem · cvxopt · betacal · econml · spint · cvxpy