Metadata-Version: 2.4
Name: trop
Version: 0.1.7
Summary: Triply Robust Panel (TROP) estimator: weighted TWFE with optional low-rank adjustment.
Author: Susan Athey, Guido Imbens, Zhaonan Qu, Davide Viviano
License-Expression: MIT
Project-URL: Homepage, https://github.com/ostasovskyi/TROP-Estimator
Project-URL: Repository, https://github.com/ostasovskyi/TROP-Estimator
Project-URL: Issues, https://github.com/ostasovskyi/TROP-Estimator/issues
Project-URL: Documentation, https://ostasovskyi.github.io/TROP-Estimator/
Keywords: causal-inference,panel-data,factor-models,difference-in-differences,synthetic-control,synthetic-controls,trop,twfe
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.23
Requires-Dist: cvxpy>=1.4
Requires-Dist: joblib>=1.2
Requires-Dist: osqp>=0.6.5
Requires-Dist: scs>=3.2.4
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: ruff>=0.5.0; extra == "dev"
Requires-Dist: black>=24.0.0; extra == "dev"
Dynamic: license-file

# TROP: Triply Robust Panel Estimator

`trop` is a Python package implementing the **Triply Robust Panel (TROP)** estimator for average treatment effects (ATEs) in panel data. The core estimator is expressed as a weighted two-way fixed effects (TWFE) objective, with an optional low-rank regression adjustment via a nuclear-norm penalty.


Reference:

> Susan Athey, Guido Imbens, Zhaonan Qu, Davide Viviano (2025).  
> *Triply Robust Panel Estimators*.  
> arXiv:2508.21536.

---

## Links

- **Documentation**: https://ostasovskyi.github.io/TROP-Estimator/
- **Source code**: https://github.com/ostasovskyi/TROP-Estimator

---

## Installation

```
pip install trop
```
