arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.11920stat.COstat.APstat.ME
收藏

用于经验校准的Python库

A Python Library For Empirical Calibration

Xiaojing Wang, Jingang Miao, Yunting Sun

摘要:

处理有偏差的数据样本是许多统计领域的常见任务。在调查抽样中,由于样本不具有代表性,经常会产生偏差。在具有观察性数据的因果关系研究中,治疗组与未治疗组的分配通常与协变量相关,即,不是随机的经验校准是一种通用的加权方法,它为纠正或减少上述任务的数据偏差提供了统一的观点。我们提供了一个Python库EC来计算经验校准权重。该问题被制定为凸优化和有效地解决了对偶形式。与现有的软件相比,电子商务既更有效,也更强大。EC还适应不同的优化目标,支持权重裁剪,并允许不精确的校准,这提高了可用性。我们展示了它的使用在各种实验与模拟和真实世界的数据。

英文摘要:

Dealing with biased data samples is a common task across many statistical fields. In survey sampling, bias often occurs due to unrepresentative samples. In causal studies with observational data, the treated versus untreated group assignment is often correlated with covariates, i.e., not random. Empirical calibration is a generic weighting method that presents a unified view on correcting or reducing the data biases for the tasks mentioned above. We provide a Python library EC to compute the empirical calibration weights. The problem is formulated as convex optimization and solved efficiently in the dual form. Compared to existing software, EC is both more efficient and robust. EC also accommodates different optimization objectives, supports weight clipping, and allows inexact calibration, which improves usability. We demonstrate its usage across various experiments with both simulated and real-world data.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑