$npx skillfedfor your agent

empirical-calibration

Package for empirical calibration

SkipPyPI MathematicsReleased May 2024319.8K downloads / moApache 2.0Source build

Decision gist · record as of 2026-08-14

sdist only — empirical_calibration-0.12.tar.gz · builds from source
v0.12 · released 2024-05-05 · 7 runtime deps: absl-py, numpy, pandas, patsy, scipy, six, scikit-learn

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

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
Same gist for agents: .md · .json

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.

Skip

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

LicenseApache 2.0 permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependencies
7 packages
absl-pynumpypandaspatsyscipysixscikit-learn
MaintenanceAbandoned 831 days since the last release
Last repo commit repository archived
First released
Downloads319,751 / month, #7,642 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
survey sampling bias correctionempirical calibration weightsobservational data weightingcausal inference covariate balancesample bias adjustmentconvex optimization weightingsurvey calibration python
Topics
survey-samplingcausal-inferencebias-correction

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 Worth it
PyPI · Python Modules · released Dec 2025

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.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

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.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

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.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

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.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also fairlearn · psmpy · causallib · causalml · cem · cvxopt · betacal · econml · spint · cvxpy